|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.BaseAST
antlr.CommonAST
org.exolab.jms.selector.parser.SelectorAST
public class SelectorAST
Selector AST node. This adds expression type and context information used by the tree parser to validate expressions.
Context
,
SelectorParser
,
SelectorTreeParser
,
Type
,
Serialized FormField Summary |
---|
Fields inherited from class antlr.BaseAST |
---|
down, right |
Constructor Summary | |
---|---|
SelectorAST()
Construct a new SelectorAST |
Method Summary | |
---|---|
Context |
getContext()
Returns the context of the expression |
Type |
getReturnType()
Returns the return type of the expression |
void |
initialize(antlr.Token token)
Initialise this with a token |
void |
setReturnType(Type type)
Sets the return type of the expression |
Methods inherited from class antlr.CommonAST |
---|
getText, getType, initialize, initialize, setText, setType |
Methods inherited from class antlr.BaseAST |
---|
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SelectorAST()
SelectorAST
Method Detail |
---|
public void initialize(antlr.Token token)
initialize
in interface antlr.collections.AST
initialize
in class antlr.CommonAST
token
- the tokenpublic void setReturnType(Type type)
type
- the return typepublic Type getReturnType()
public Context getContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |