|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.python.parser.SimpleNode
| Field Summary | |
int |
aug_tmp1
|
int |
aug_tmp2
|
int |
aug_tmp3
|
int |
aug_tmp4
|
int |
beginColumn
|
int |
beginLine
|
SimpleNode[] |
children
|
int |
endColumn
|
int |
endLine
|
boolean |
from_future_checked
|
int |
id
|
ScopeInfo |
scope
|
| Constructor Summary | |
SimpleNode(int i)
|
|
SimpleNode(PythonGrammar p,
int i)
|
|
| Method Summary | |
void |
dump(String prefix)
|
SimpleNode |
getChild(int i)
|
Object |
getInfo()
|
int |
getNumChildren()
|
void |
jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's list of children. |
void |
jjtClose()
This method is called after all the child nodes have been added. |
static Node |
jjtCreate(int id)
|
static Node |
jjtCreate(PythonGrammar p,
int id)
|
Node |
jjtGetChild(int i)
This method returns a child node. |
int |
jjtGetNumChildren()
Return the number of children the node has. |
Node |
jjtGetParent()
|
void |
jjtOpen()
This method is called after the node has been made the current node. |
void |
jjtSetParent(Node n)
This pair of methods are used to inform the node of its parent. |
static String |
parseString(String s,
int quotes,
int beginLine,
int beginColumn)
|
void |
setFloat(String s)
|
void |
setInfo(Object o)
|
void |
setInteger(String s,
int radix)
|
void |
setString(String s,
int quotes)
|
String |
toString()
|
String |
toString(String prefix)
|
Object |
visit(Visitor visitor)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public SimpleNode[] children
public int id
public int endLine
public int endColumn
public int beginLine
public int beginColumn
public int aug_tmp1
public int aug_tmp2
public int aug_tmp3
public int aug_tmp4
public ScopeInfo scope
public boolean from_future_checked
| Constructor Detail |
public SimpleNode(int i)
public SimpleNode(PythonGrammar p,
int i)
| Method Detail |
public static Node jjtCreate(int id)
public static Node jjtCreate(PythonGrammar p,
int id)
public void jjtOpen()
Node
jjtOpen in interface Nodepublic void jjtClose()
Node
jjtClose in interface Nodepublic void jjtSetParent(Node n)
Node
jjtSetParent in interface Nodepublic Node jjtGetParent()
jjtGetParent in interface Node
public void jjtAddChild(Node n,
int i)
Node
jjtAddChild in interface Nodepublic Node jjtGetChild(int i)
Node
jjtGetChild in interface Nodepublic int jjtGetNumChildren()
Node
jjtGetNumChildren in interface Nodepublic SimpleNode getChild(int i)
public int getNumChildren()
public Object getInfo()
public void setInfo(Object o)
public void setString(String s,
int quotes)
public static String parseString(String s,
int quotes,
int beginLine,
int beginColumn)
public void setInteger(String s,
int radix)
public void setFloat(String s)
public String toString()
public String toString(String prefix)
public void dump(String prefix)
public Object visit(Visitor visitor)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||