Top Fields Constructors Methods
bsh

pack-priv Class BSHTypedVariableDeclaration

extends SimpleNode
Class Inheritance

Field Summary

Modifier and TypeField and Description
public Modifiers
Inherited from bsh.SimpleNode:
childrenfirstTokenidJAVACODElastTokenparentsourceFile

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
eval(CallStack callstack, Interpreter interpreter)

Overrides bsh.SimpleNode.eval.

evaluate the type and one or more variable declarators, e.g.: int a, b=5, c;
pack-priv Class<T>
evalType(CallStack callstack, Interpreter interpreter)

pack-priv BSHVariableDeclarator[]
public String
getTypeDescriptor(CallStack callstack, Interpreter interpreter, String defaultPackage)

private BSHType
Inherited from bsh.SimpleNode:
dumpgetChildgetLineNumbergetSourceFilegetTextjjtAddChildjjtClosejjtGetChildjjtGetNumChildrenjjtGetParentjjtOpenjjtSetParentprunesetSourceFiletoStringtoString

Field Detail

modifiersback to summary
public Modifiers modifiers

Constructor Detail

BSHTypedVariableDeclarationback to summary
pack-priv BSHTypedVariableDeclaration(int id)

Method Detail

evalback to summary
public Object eval(CallStack callstack, Interpreter interpreter) throws EvalError

Overrides bsh.SimpleNode.eval.

evaluate the type and one or more variable declarators, e.g.: int a, b=5, c;

evalTypeback to summary
pack-priv Class<T> evalType(CallStack callstack, Interpreter interpreter) throws EvalError
getDeclaratorsback to summary
pack-priv BSHVariableDeclarator[] getDeclarators()
getTypeDescriptorback to summary
public String getTypeDescriptor(CallStack callstack, Interpreter interpreter, String defaultPackage)
getTypeNodeback to summary
private BSHType getTypeNode()