Top Fields Constructors Methods
bsh

pack-priv Class BSHClassDeclaration

extends SimpleNode
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final String
CLASSINITNAME

The class instance initializer method name.

pack-priv boolean
pack-priv boolean
pack-priv Modifiers
pack-priv String
pack-priv int
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.

This is the general signature for evaluation of a node.
public String
toString()

Overrides bsh.SimpleNode.toString.

Returns a string representation of the object.
Inherited from bsh.SimpleNode:
dumpgetChildgetLineNumbergetSourceFilegetTextjjtAddChildjjtClosejjtGetChildjjtGetNumChildrenjjtGetParentjjtOpenjjtSetParentprunesetSourceFiletoString

Field Detail

CLASSINITNAMEback to summary
pack-priv static final String CLASSINITNAME

The class instance initializer method name. A BshMethod by this name is installed by the class delcaration into the static class body namespace. It is called once to initialize the static members of the class space and each time an instances is created to initialize the instance members.

extendback to summary
pack-priv boolean extend
isInterfaceback to summary
pack-priv boolean isInterface
modifiersback to summary
pack-priv Modifiers modifiers
nameback to summary
pack-priv String name
numInterfacesback to summary
pack-priv int numInterfaces

Constructor Detail

BSHClassDeclarationback to summary
pack-priv BSHClassDeclaration(int id)

Method Detail

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

Overrides bsh.SimpleNode.eval.

Doc from bsh.SimpleNode.eval.

This is the general signature for evaluation of a node.

toStringback to summary
public String toString()

Overrides bsh.SimpleNode.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.