Package | Description |
---|---|
com.tangosol.coherence.dsltools.base | |
com.tangosol.coherence.dsltools.precedence |
Modifier and Type | Class and 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 identifier
|
class |
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.
|
Modifier and Type | Method and Description |
---|---|
BaseToken |
CompoundBaseToken.get(int index)
Return the BaseToken at the given index
|
BaseToken |
BaseTokenStream.getCurrentToken()
Answer a current BaseToken base on the position of streaming
|
BaseToken[] |
NestedBaseTokens.getTokens()
Return an array of BaseTokens making up the receiver.
|
abstract BaseToken[] |
CompoundBaseToken.getTokens()
Return an array of BaseTokens making up the receiver.
|
BaseToken[] |
SequenceBaseToken.getTokens()
Return an array of BaseTokens making up the receiver.
|
BaseToken |
BaseTokenStream.next()
Answer the next token in the stream or null if at end.
|
BaseToken |
BaseTokenScanner.next()
Answer the next token from the underlying reader.
|
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.
|
Constructor and 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.
|
Modifier and Type | Field and Description |
---|---|
protected BaseToken |
OPScanner.m_current
The current BaseTokens from data
|
Modifier and Type | Method and Description |
---|---|
BaseToken |
OPScanner.getCurrentBaseToken()
Answer the current BaseToken.
|
BaseToken |
OPScanner.peekNext()
Answer the string representation of the next BaseToken.
|