|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Token | |
---|---|
org.codehaus.jparsec | Provides core Parser implementations for parser combinator logic. |
Uses of Token in org.codehaus.jparsec |
---|
Methods in org.codehaus.jparsec that return types with arguments of type Token | |
---|---|
Parser<Token> |
Indentation.indent()
A Parser that recognizes the generated indent token. |
Parser<List<Token>> |
Parser.lexer(Parser<?> delim)
A Parser that greedily runs this repeatedly, and ignores the pattern recognized by delim
before and after each occurrence. |
Parser<List<Token>> |
Indentation.lexer(Parser<?> tokenizer,
Parser<?> delim)
A Parser that greedily runs tokenizer , and translates line feed characters
('\n' ) to indent and outdent tokens. |
Parser<Token> |
Indentation.outdent()
A Parser that recognizes the generated outdent token. |
Parser<Token> |
Parser.token()
A Parser that runs this and wraps the return value in a Token . |
Methods in org.codehaus.jparsec with parameters of type Token | |
---|---|
T |
TokenMap.map(Token token)
Transforms token to an instance of T . |
Method parameters in org.codehaus.jparsec with type arguments of type Token | |
---|---|
Parser<T> |
Parser.from(Parser<? extends Collection<Token>> lexer)
A Parser that takes as input the Token collection returned by lexer ,
and runs this to parse the tokens. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |