Top Description Fields Constructors Methods
bsh

pack-priv Class BSHForStatement

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

Implementation of the for(;;) statement.

Field Summary

Modifier and TypeField and Description
private SimpleNode
private SimpleNode
private SimpleNode
public boolean
public boolean
public boolean
private boolean
private SimpleNode
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

expressionback to summary
private SimpleNode expression
forInitback to summary
private SimpleNode forInit
forUpdateback to summary
private SimpleNode forUpdate
hasExpressionback to summary
public boolean hasExpression
hasForInitback to summary
public boolean hasForInit
hasForUpdateback to summary
public boolean hasForUpdate
parsedback to summary
private boolean parsed
statementback to summary
private SimpleNode statement

Constructor Detail

BSHForStatementback to summary
pack-priv BSHForStatement(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.