Uses of Class
com.tangosol.coherence.dsltools.base.BaseToken
-
Packages that use BaseToken Package Description com.tangosol.coherence.dsltools.base Contains base classes for all tokens processed by dsltools.com.tangosol.coherence.dsltools.precedence This package contains implementations ofOPTokens. -
-
Uses of BaseToken in com.tangosol.coherence.dsltools.base
Subclasses of BaseToken in com.tangosol.coherence.dsltools.base Modifier and Type Class Description classCompoundBaseTokenCompoundBaseToken is the abstract base class for all tokens processed by the low level BaseTokenScanner that are made up of two or more BaseTokens.classIdentifierBaseTokenIdentifierBaseToken is a token that represents an identifierclassLeafBaseTokenLeafBaseToken is the abstract base class for all tokes processed by the low level BaseTokenScanner that are considered leaves.classLiteralBaseTokenLiteralBaseToken is the BaseToken that represents literals such as String, Integer, Long, Float, and Double.classNestedBaseTokensNestedBaseTokens is a token that holds a sequence of tokens as well as the two bracketing characters.classOperatorBaseTokenOperatorBaseToken is a token that represents a known operator.classPunctuationBaseTokenPunctuationBaseToken is a token that represents a known punctuation.classSequenceBaseTokenSequenceBaseToken is a token that holds a sequence of tokens.Methods in com.tangosol.coherence.dsltools.base that return BaseToken Modifier and Type Method Description BaseTokenCompoundBaseToken. get(int index)Return the BaseToken at the given indexBaseTokenBaseTokenStream. getCurrentToken()Answer a current BaseToken base on the position of streamingabstract BaseToken[]CompoundBaseToken. getTokens()Return an array of BaseTokens making up the receiver.BaseToken[]NestedBaseTokens. getTokens()Return an array of BaseTokens making up the receiver.BaseToken[]SequenceBaseToken. getTokens()Return an array of BaseTokens making up the receiver.BaseTokenBaseTokenScanner. next()Answer the next token from the underlying reader.BaseTokenBaseTokenStream. next()Answer the next token in the stream or null if at end.BaseTokenBaseTokenStream. peek()Answer the next token in the stream or null if at end.BaseToken[]BaseTokenStream. peek2()Answer the next two tokens in the stream or null(s) if at end.BaseTokenBaseTokenScanner. scan()Tokenize the entire expression at once.protected BaseTokenBaseTokenScanner. scanIdentifier()Attemt to tokenize an Identifier.protected BaseTokenBaseTokenScanner. scanLiteral()Attemt to tokenize a literal.protected BaseTokenBaseTokenScanner. scanNest(char ch)Tokenize the characters between the beginning nest chararcer and the character that ends the nest.Constructors in com.tangosol.coherence.dsltools.base with parameters of type BaseToken Constructor Description NestedBaseTokens(char chStart, char chEnd, BaseToken[] aTokens)Construct a new NestedBaseTokens with the given parameters.SequenceBaseToken(BaseToken[] aTokens)Construct a new SequenceBaseToken with the array of tokens. -
Uses of BaseToken in com.tangosol.coherence.dsltools.precedence
Fields in com.tangosol.coherence.dsltools.precedence declared as BaseToken Modifier and Type Field Description protected BaseTokenOPScanner. m_currentThe current BaseTokens from dataMethods in com.tangosol.coherence.dsltools.precedence that return BaseToken Modifier and Type Method Description BaseTokenOPScanner. getCurrentBaseToken()Answer the current BaseToken.BaseTokenOPScanner. peekNext()Answer the string representation of the next BaseToken.
-