jfun.parsec
public final class Words extends Object implements Serializable
| Method Summary | |
|---|---|
| Parser<Tok> | getLexer()
gets the lexer object. |
| Object | getToken(String name)
gets the token object identified by the token text.
|
Returns: the lexer object.
Parameters: name the token text.
Returns: the token object.
Throws: IllegalArgumentException if the token object does not exist.