public class BSHAutoCloseable extends SimpleNode
| Modifier and Type | Field and Description |
|---|---|
Modifiers |
modifiers |
java.lang.String |
name |
java.lang.AutoCloseable |
ths |
java.lang.Class<?> |
type |
java.lang.String |
typeName |
Variable |
varThis |
children, id, parent, parser| Constructor and Description |
|---|
BSHAutoCloseable(int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.Object |
eval(CallStack callstack,
Interpreter interpreter)
evaluate the type and one or more variable declarations, e.g.:
int a, b=5, c;
|
java.lang.String |
getName() |
java.lang.Class<?> |
getType() |
java.lang.String |
toString() |
add, dump, getId, getLineNumber, getSourceFile, getText, hasNext, hasPrevious, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, next, nextIndex, previous, previousIndex, remove, set, setSourceFile, toStringpublic java.lang.String typeName
public java.lang.Class<?> type
public java.lang.String name
public java.lang.AutoCloseable ths
public Variable varThis
public Modifiers modifiers
public java.lang.Object eval(CallStack callstack, Interpreter interpreter) throws EvalError
public java.lang.String getName()
public void close()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.Class<?> getType()
public java.lang.String toString()
SimpleNodetoString in class SimpleNode