Uses of Class
com.tangosol.coherence.dsltools.base.BaseToken
Packages that use 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
Subclasses of BaseToken in com.tangosol.coherence.dsltools.baseModifier 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.Methods in com.tangosol.coherence.dsltools.base that return BaseTokenModifier 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.Constructors in com.tangosol.coherence.dsltools.base with parameters of type BaseTokenModifierConstructorDescriptionNestedBaseTokens
(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 BaseTokenModifier and TypeFieldDescriptionprotected BaseToken
OPScanner.m_current
The current BaseTokens from dataMethods in com.tangosol.coherence.dsltools.precedence that return BaseTokenModifier and TypeMethodDescriptionOPScanner.getCurrentBaseToken()
Answer the current BaseToken.OPScanner.peekNext()
Answer the string representation of the next BaseToken.