public class BSHFormalComment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.gjt.sp.jedit.bsh.Node[] |
children |
protected int |
id |
static org.gjt.sp.jedit.bsh.SimpleNode |
JAVACODE |
protected org.gjt.sp.jedit.bsh.Node |
parent |
java.lang.String |
text |
Constructor and Description |
---|
BSHFormalComment(int id) |
Modifier and Type | Method and Description |
---|---|
void |
dump(java.lang.String prefix) |
java.lang.Object |
eval(CallStack callstack,
Interpreter interpreter)
This is the general signature for evaluation of a node.
|
org.gjt.sp.jedit.bsh.SimpleNode |
getChild(int i) |
int |
getLineNumber()
Get the line number of the starting token
|
java.lang.String |
getSourceFile()
Get the name of the source file (or more generally source) of
the text from which this node was parsed.
|
java.lang.String |
getText()
Get the text of the tokens comprising this node.
|
void |
jjtAddChild(org.gjt.sp.jedit.bsh.Node n,
int i) |
void |
jjtClose() |
org.gjt.sp.jedit.bsh.Node |
jjtGetChild(int i) |
int |
jjtGetNumChildren() |
org.gjt.sp.jedit.bsh.Node |
jjtGetParent() |
void |
jjtOpen() |
void |
jjtSetParent(org.gjt.sp.jedit.bsh.Node n) |
void |
prune()
Detach this node from its parent.
|
void |
setSourceFile(java.lang.String sourceFile)
Set the name of the source file (or more generally source) of
the text from which this node was parsed.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String prefix) |
public java.lang.String text
public static org.gjt.sp.jedit.bsh.SimpleNode JAVACODE
protected org.gjt.sp.jedit.bsh.Node parent
protected org.gjt.sp.jedit.bsh.Node[] children
protected int id
public void jjtOpen()
public void jjtClose()
public void jjtSetParent(org.gjt.sp.jedit.bsh.Node n)
public org.gjt.sp.jedit.bsh.Node jjtGetParent()
public void jjtAddChild(org.gjt.sp.jedit.bsh.Node n, int i)
public org.gjt.sp.jedit.bsh.Node jjtGetChild(int i)
public org.gjt.sp.jedit.bsh.SimpleNode getChild(int i)
public int jjtGetNumChildren()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String prefix)
public void dump(java.lang.String prefix)
public void prune()
public java.lang.Object eval(CallStack callstack, Interpreter interpreter) throws EvalError
EvalError
public void setSourceFile(java.lang.String sourceFile)
public java.lang.String getSourceFile()
public int getLineNumber()
public java.lang.String getText()