org.crsh.cli.impl.tokenizer
Class Tokenizer
java.lang.Object
org.crsh.cli.impl.tokenizer.Tokenizer
- All Implemented Interfaces:
- Iterator<Token>
- Direct Known Subclasses:
- TokenizerImpl
-
public abstract class Tokenizer
- extends Object
-
- implements Iterator<Token>
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stack
private ArrayList<Token> stack
-
.
ptr
private int ptr
-
.
index
private int index
-
.
Tokenizer
protected Tokenizer()
hasNext
public final boolean hasNext()
-
- Specified by:
hasNext
in interface Iterator<Token>
-
pushBack
public final void pushBack(int count)
-
-
peek
public final Token peek()
-
-
next
public final Token next()
-
- Specified by:
next
in interface Iterator<Token>
-
remove
public final void remove()
-
- Specified by:
remove
in interface Iterator<Token>
-
pushBack
public final void pushBack()
-
-
parse
protected abstract Token parse()
-
-
getIndex
public final int getIndex()
-
-
getDelimiter
public abstract Delimiter getDelimiter()
-
-
Copyright © 2014 eXo Platform SAS. All Rights Reserved.