Package com.tangosol.coherence.dsltools.base
Contains base classes for all tokens processed by dsltools.
-
Class Summary Class Description BaseToken BaseToken is the abstract base class for all tokens processed by the low level BaseTokenScanner.BaseTokenScanner BaseTokenScanner gives clients a streaming api that returns a next BaseToken by processing either a java.lang.String or a java.io.Reader.BaseTokenStream Since BaseTokens can nest, BaseTokenStream creates for clients a utility interface that allows streaming (atEnd(), next()) over a CompoundBaseToken.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.IdentifierBaseToken IdentifierBaseToken is a token that represents an identifierLeafBaseToken LeafBaseToken is the abstract base class for all tokes processed by the low level BaseTokenScanner that are considered leaves.LiteralBaseToken LiteralBaseToken is the BaseToken that represents literals such as String, Integer, Long, Float, and Double.NestedBaseTokens NestedBaseTokens is a token that holds a sequence of tokens as well as the two bracketing characters.OperatorBaseToken OperatorBaseToken is a token that represents a known operator.PunctuationBaseToken PunctuationBaseToken is a token that represents a known punctuation.SequenceBaseToken SequenceBaseToken is a token that holds a sequence of tokens. -
Exception Summary Exception Description BaseTokenScannerException BaseTokenScannerExpression is the RuntimeException thrown by the BaseTokenScanner when expectations are not met.