|
||||||||||
| 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 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,
String text,
Object typeInfo)
Constructor taking token type, text and type info. |
|
| Method Summary | |
|---|---|
protected Object |
clone()
Creates and returns a copy of this object. |
int |
getColumn()
|
int |
getLine()
|
String |
getTreeRepr(String title)
Returns a full string representation of this JQLAST. |
Object |
getTypeInfo()
|
void |
initialize(antlr.collections.AST _ast)
|
void |
initialize(int type,
String text,
Object typeInfo)
|
void |
initialize(antlr.Token t)
|
void |
setColumn(int column)
|
void |
setLine(int line)
|
void |
setTypeInfo(Object typeInfo)
|
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 Object typeInfo
| Constructor Detail |
|---|
public EJBQLAST()
public EJBQLAST(int type,
String text,
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,
String text,
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(Object typeInfo)
public Object getTypeInfo()
public String toString()
toString in interface antlr.collections.ASTtoString in class antlr.BaseASTpublic String getTreeRepr(String title)
protected Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||