Uses of Class
com.tangosol.coherence.dsltools.base.BaseToken
Package
Description
Contains base classes for all tokens processed by dsltools.
This package contains implementations of
OPToken
s.-
Uses of BaseToken in com.tangosol.coherence.dsltools.base
Modifier and TypeClassDescriptionclass
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 is a token that represents an identifierclass
LeafBaseToken is the abstract base class for all tokes processed by the low level BaseTokenScanner that are considered leaves.class
LiteralBaseToken is the BaseToken that represents literals such as String, Integer, Long, Float, and Double.class
NestedBaseTokens is a token that holds a sequence of tokens as well as the two bracketing characters.class
OperatorBaseToken is a token that represents a known operator.class
PunctuationBaseToken is a token that represents a known punctuation.class
SequenceBaseToken is a token that holds a sequence of tokens.Modifier and TypeMethodDescriptionCompoundBaseToken.get
(int index) Return the BaseToken at the given indexBaseTokenStream.getCurrentToken()
Answer a current BaseToken base on the position of streamingabstract BaseToken[]
CompoundBaseToken.getTokens()
Return an array of BaseTokens making up the receiver.NestedBaseTokens.getTokens()
Return an array of BaseTokens making up the receiver.SequenceBaseToken.getTokens()
Return an array of BaseTokens making up the receiver.BaseTokenScanner.next()
Answer the next token from the underlying reader.BaseTokenStream.next()
Answer the next token in the stream or null if at end.BaseTokenStream.peek()
Answer the next token in the stream or null if at end.BaseTokenStream.peek2()
Answer the next two tokens in the stream or null(s) if at end.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.ModifierConstructorDescriptionNestedBaseTokens
(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
Modifier and TypeFieldDescriptionprotected BaseToken
OPScanner.m_current
The current BaseTokens from dataModifier and TypeMethodDescriptionOPScanner.getCurrentBaseToken()
Answer the current BaseToken.OPScanner.peekNext()
Answer the string representation of the next BaseToken.