|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectantlr.BaseAST
antlr.CommonAST
com.sun.jdo.spi.persistence.support.ejb.ejbqlc.EJBQLAST
public class EJBQLAST
An instance of this class represents a node of the intermediate representation (AST) used by the query compiler. It stores per node:
| Field Summary | |
|---|---|
protected int |
column
The column info |
protected int |
line
The line info |
protected java.lang.Object |
typeInfo
The type info |
| Fields inherited from class antlr.BaseAST |
|---|
down, right |
| Constructor Summary | |
|---|---|
EJBQLAST()
No args constructor. |
|
EJBQLAST(EJBQLAST ast)
Copy constructor. |
|
EJBQLAST(int type,
java.lang.String text,
java.lang.Object typeInfo)
Constructor taking token type, text and type info. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
getColumn()
|
int |
getLine()
|
java.lang.String |
getTreeRepr(java.lang.String title)
Returns a full string representation of this JQLAST. |
java.lang.Object |
getTypeInfo()
|
void |
initialize(antlr.collections.AST _ast)
|
void |
initialize(int type,
java.lang.String text,
java.lang.Object typeInfo)
|
void |
initialize(antlr.Token t)
|
void |
setColumn(int column)
|
void |
setLine(int line)
|
void |
setTypeInfo(java.lang.Object typeInfo)
|
java.lang.String |
toString()
Returns a string representation of this EJBQLAST w/o child ast nodes. |
| Methods inherited from class antlr.CommonAST |
|---|
getText, getType, initialize, setText, setType |
| Methods inherited from class antlr.BaseAST |
|---|
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int line
protected int column
protected transient java.lang.Object typeInfo
| Constructor Detail |
|---|
public EJBQLAST()
public EJBQLAST(int type,
java.lang.String text,
java.lang.Object typeInfo)
public EJBQLAST(EJBQLAST ast)
| Method Detail |
|---|
public void initialize(antlr.Token t)
initialize in interface antlr.collections.ASTinitialize in class antlr.CommonAST
public void initialize(int type,
java.lang.String text,
java.lang.Object typeInfo)
public void initialize(antlr.collections.AST _ast)
initialize in interface antlr.collections.ASTinitialize in class antlr.CommonASTpublic void setLine(int line)
public int getLine()
getLine in interface antlr.collections.ASTgetLine in class antlr.BaseASTpublic void setColumn(int column)
public int getColumn()
getColumn in interface antlr.collections.ASTgetColumn in class antlr.BaseASTpublic void setTypeInfo(java.lang.Object typeInfo)
public java.lang.Object getTypeInfo()
public java.lang.String toString()
toString in interface antlr.collections.ASTtoString in class antlr.BaseASTpublic java.lang.String getTreeRepr(java.lang.String title)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||