Uses of Class
org.projog.core.parser.Token
-
Packages that use Token Package Description org.projog.core.parser Provides classes for constructingTermobjects from Prolog syntax. -
-
Uses of Token in org.projog.core.parser
Fields in org.projog.core.parser declared as Token Modifier and Type Field Description private TokenTokenParser. lastParsedTokenMethods in org.projog.core.parser that return Token Modifier and Type Method Description private static TokenTokenParser. createToken(java.lang.StringBuilder value, TokenType type)private static TokenTokenParser. createToken(java.lang.String value, TokenType type)(package private) TokenTokenParser. next()Parse and return the nextToken.private TokenTokenParser. parseLeadingZero(int zero)Parses a character code and represents it as an integer.private TokenTokenParser. parseNumber(int startChar)Parses a number, starting with the specified character, read from the parser.private TokenTokenParser. parseQuotedText()Reads aStringconsisting of all characters read from the parser up to the next'.private TokenTokenParser. parseSymbol(int c)private TokenTokenParser. parseText(int c, TokenType t)private TokenTokenParser. parseToken()private TokenSentenceParser. peekValue()private TokenSentenceParser. popValue()Methods in org.projog.core.parser with parameters of type Token Modifier and Type Method Description (package private) static booleanDelimiters. isArgumentSeperator(Token token)(package private) static booleanDelimiters. isListCloseBracket(Token token)(package private) static booleanDelimiters. isListOpenBracket(Token token)(package private) static booleanDelimiters. isListTail(Token token)private static booleanDelimiters. isMatch(Token token, char expected)(package private) static booleanDelimiters. isPredicateCloseBracket(Token token)(package private) static booleanDelimiters. isPredicateOpenBracket(Token token)(package private) static booleanDelimiters. isSentenceTerminator(Token token)(package private) voidTokenParser. rewind(Token value)Rewinds the parser (i.e.
-