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 ofOPToken
s. -
-
Uses of BaseToken in com.tangosol.coherence.dsltools.base
Subclasses of BaseToken in com.tangosol.coherence.dsltools.base Modifier and Type Class Description class
CompoundBaseToken
CompoundBaseToken is the abstract base class for all tokens processed by the low level BaseTokenScanner that are made up of two or more BaseTokens.class
IdentifierBaseToken
IdentifierBaseToken is a token that represents an identifierclass
LeafBaseToken
LeafBaseToken is the abstract base class for all tokes processed by the low level BaseTokenScanner that are considered leaves.class
LiteralBaseToken
LiteralBaseToken is the BaseToken that represents literals such as String, Integer, Long, Float, and Double.class
NestedBaseTokens
NestedBaseTokens is a token that holds a sequence of tokens as well as the two bracketing characters.class
OperatorBaseToken
OperatorBaseToken is a token that represents a known operator.class
PunctuationBaseToken
PunctuationBaseToken is a token that represents a known punctuation.class
SequenceBaseToken
SequenceBaseToken is a token that holds a sequence of tokens.Methods in com.tangosol.coherence.dsltools.base that return BaseToken Modifier and Type Method Description BaseToken
CompoundBaseToken. get(int index)
Return the BaseToken at the given indexBaseToken
BaseTokenStream. 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.BaseToken
BaseTokenScanner. next()
Answer the next token from the underlying reader.BaseToken
BaseTokenStream. next()
Answer the next token in the stream or null if at end.BaseToken
BaseTokenStream. 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.BaseToken
BaseTokenScanner. scan()
Tokenize the entire expression at once.protected BaseToken
BaseTokenScanner. scanIdentifier()
Attemt to tokenize an Identifier.protected BaseToken
BaseTokenScanner. scanLiteral()
Attemt to tokenize a literal.protected BaseToken
BaseTokenScanner. 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 BaseToken
OPScanner. m_current
The current BaseTokens from dataMethods in com.tangosol.coherence.dsltools.precedence that return BaseToken Modifier and Type Method Description BaseToken
OPScanner. getCurrentBaseToken()
Answer the current BaseToken.BaseToken
OPScanner. peekNext()
Answer the string representation of the next BaseToken.
-