Package com.tangosol.coherence.dsltools.base


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