Top Description Fields Constructors Methods
bsh

pack-priv Class BSHBinaryExpression

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

Implement binary expressions...

Note

this is too complicated... need some cleanup and simplification.

See Also
Primitive.binaryOperation

Field Summary

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

Field Detail

kindback to summary
public int kind

Constructor Detail

BSHBinaryExpressionback to summary
pack-priv BSHBinaryExpression(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.

isPrimitiveValueback to summary
private boolean isPrimitiveValue(Object obj)
isWrapperback to summary
private boolean isWrapper(Object obj)