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 TokenParseContext.getToken()Returns the current token.(package private) TokenParserState.getToken()(package private) TokenScannerState.getToken()private static TokenIndentation.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 eachlfand insertingindentandoutdenttokens properly.Indentation.indent()AParserthat recognizes the generatedindenttoken.AParserthat greedily runstokenizer, and translates line feed characters ('\n') toindentandoutdenttokens.AParserthat greedily runsthisrepeatedly, and ignores the pattern recognized bydelimbefore and after each occurrence.Indentation.outdent()AParserthat recognizes the generatedoutdenttoken.AParserthat recognizes the token identified bytokenName.AParserthat recognizes a token identified by any oftokenNames.Parser.token()InternalFunctors.tokenWithSameValue(Object value) Methods in org.jparsec with parameters of type TokenModifier and TypeMethodDescriptionprivate booleanToken.equalToken(Token that) Transformstokento an instance ofT.private voidMethod 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 eachlfand insertingindentandoutdenttokens properly.Parser.from(Parser<? extends Collection<Token>> lexer) private voidParsers.tokens(Parser<? extends Collection<Token>> parser) Converts a parser of a collection ofTokento 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