Package | Description |
---|---|
ptolemy.data.expr |
The Ptolemy II Expression Language.
|
Modifier and Type | Field and Description |
---|---|
protected Token |
ASTPtRelationalNode._lexicalToken |
protected Token |
ASTPtLogicalNode._lexicalToken |
protected Token |
ASTPtBitwiseNode._lexicalToken |
protected Token |
ASTPtShiftNode._lexicalToken |
protected Token |
ASTPtUnaryNode._lexicalToken |
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
Token |
PtParser.jj_nt
Next token.
|
Token |
MatrixParser.jj_nt
Next token.
|
Token |
Token.next
A reference to the next regular (non-special) token from the input
stream.
|
Token |
Token.specialToken
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
|
Token |
PtParser.token
Current token.
|
Token |
MatrixParser.token
Current token.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Token> |
ASTPtSumNode._lexicalTokens |
protected java.util.ArrayList<Token> |
ASTPtProductNode._lexicalTokens |
Modifier and Type | Method and Description |
---|---|
Token |
PtParser.getNextToken()
Get the next Token.
|
Token |
MatrixParserTokenManager.getNextToken()
Get the next Token.
|
Token |
MatrixParser.getNextToken()
Get the next Token.
|
Token |
PtParserTokenManager.getNextToken()
Get the next Token.
|
Token |
ASTPtRelationalNode.getOperator()
Return the lexical token representing the operation of this node.
|
Token |
ASTPtLogicalNode.getOperator()
Return the operator for child nodes of this node.
|
Token |
ASTPtBitwiseNode.getOperator()
Return the token that represents the operation of this node.
|
Token |
ASTPtShiftNode.getOperator()
Return the lexical token representing the operation of this node.
|
Token |
ASTPtUnaryNode.getOperator()
Return the token that represents the operation of this node.
|
Token |
PtParser.getToken(int index)
Get the specific Token.
|
Token |
MatrixParser.getToken(int index)
Get the specific Token.
|
protected Token |
MatrixParserTokenManager.jjFillToken() |
protected Token |
PtParserTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
java.lang.String image)
Returns a new Token object, by default.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
ASTPtSumNode.getLexicalTokenList()
Return the list of lexical tokens that were used to make this node.
|
java.util.List<Token> |
ASTPtProductNode.getLexicalTokenList()
Return the list of lexical tokens that were used to make this node.
|
Constructor and Description |
---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|