Top Description Fields Constructors Methods
bsh

pack-priv Class BSHFormalParameter

extends SimpleNode
Class Inheritance

A formal parameter declaration. For loose variable declaration type is null.

Field Summary

Modifier and TypeField and Description
public String
public Class<T>
public static final Class<T>
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.
public String
getTypeDescriptor(CallStack callstack, Interpreter interpreter, String defaultPackage)

Inherited from bsh.SimpleNode:
dumpgetChildgetLineNumbergetSourceFilegetTextjjtAddChildjjtClosejjtGetChildjjtGetNumChildrenjjtGetParentjjtOpenjjtSetParentprunesetSourceFiletoStringtoString

Field Detail

nameback to summary
public String name
typeback to summary
public Class<T> type
UNTYPEDback to summary
public static final Class<T> UNTYPED

Constructor Detail

BSHFormalParameterback to summary
pack-priv BSHFormalParameter(int id)

Method Detail

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

Overrides bsh.SimpleNode.eval.

Evaluate the type.

getTypeDescriptorback to summary
public String getTypeDescriptor(CallStack callstack, Interpreter interpreter, String defaultPackage)