Top Description Fields Constructors Methods
bsh

pack-priv Class BSHWhileStatement

extends SimpleNode
implements ParserConstants
Class Inheritance
All Implemented Interfaces
bsh.ParserConstants

This class handles both while(){} statements and do{}while() statements.

Field Summary

Modifier and TypeField and Description
public boolean
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.
Inherited from bsh.SimpleNode:
dumpgetChildgetLineNumbergetSourceFilegetTextjjtAddChildjjtClosejjtGetChildjjtGetNumChildrenjjtGetParentjjtOpenjjtSetParentprunesetSourceFiletoStringtoString

Field Detail

isDoStatementback to summary
public boolean isDoStatement

Constructor Detail

BSHWhileStatementback to summary
pack-priv BSHWhileStatement(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.