Uses of Class
org.jparsec.Token
Packages that use Token
-
Uses of Token in org.jparsec
Fields in org.jparsec declared as TokenMethods in org.jparsec that return TokenModifier and TypeMethodDescription(package private) abstract Token
ParseContext.getToken()
Returns the current token.(package private) Token
ParserState.getToken()
(package private) Token
ScannerState.getToken()
private static Token
Indentation.pseudoToken
(int index, Object value) Methods in org.jparsec that return types with arguments of type TokenModifier and TypeMethodDescriptionIndentation.analyzeIndentations
(List<Token> tokens, Object lf) Analyzes indentation by looking at the first token after eachlf
and insertingindent
andoutdent
tokens properly.Indentation.indent()
AParser
that recognizes the generatedindent
token.AParser
that greedily runstokenizer
, and translates line feed characters ('\n'
) toindent
andoutdent
tokens.AParser
that greedily runsthis
repeatedly, and ignores the pattern recognized bydelim
before and after each occurrence.Indentation.outdent()
AParser
that recognizes the generatedoutdent
token.AParser
that recognizes the token identified bytokenName
.AParser
that recognizes a token identified by any oftokenNames
.Parser.token()
InternalFunctors.tokenWithSameValue
(Object value) Methods in org.jparsec with parameters of type TokenModifier and TypeMethodDescriptionprivate boolean
Token.equalToken
(Token that) Transformstoken
to an instance ofT
.private void
Method parameters in org.jparsec with type arguments of type TokenModifier and TypeMethodDescriptionIndentation.analyzeIndentations
(List<Token> tokens, Object lf) Analyzes indentation by looking at the first token after eachlf
and insertingindent
andoutdent
tokens properly.Parser.from
(Parser<? extends Collection<Token>> lexer) private void
Parsers.tokens
(Parser<? extends Collection<Token>> parser) Converts a parser of a collection ofToken
to a parser of an array ofToken
.Constructors in org.jparsec with parameters of type TokenModifierConstructorDescription(package private)
ParserState
(String module, CharSequence source, Token[] input, int at, SourceLocator locator, int endIndex, Object result) -
Uses of Token in org.jparsec.examples.java.parser
Methods in org.jparsec.examples.java.parser that return types with arguments of type TokenModifier and TypeMethodDescriptionMethod parameters in org.jparsec.examples.java.parser with type arguments of type Token