|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.templat.expr.ExprLexer
class ExprLexer
Splits a string into tokens.
Nested Class Summary | |
---|---|
(package private) static class |
ExprLexer.Token
Represents a token returned by the enclosing ExprLexer . |
Constructor Summary | |
---|---|
ExprLexer(String stringToLex)
Initializes this ExprLexer to split
the given string into tokens. |
Method Summary | |
---|---|
ExprLexer.Token |
getNextToken()
Gets the next token from the input string. |
String |
toString()
Gets the string being lexed, as passed into the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExprLexer(String stringToLex)
ExprLexer
to split
the given string into tokens.
stringToLex
- Method Detail |
---|
public String toString()
toString
in class Object
public ExprLexer.Token getNextToken() throws ExprLexingException
Token
ExprLexingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |