Top Fields Constructors Methods
bsh

pack-priv Class BSHUnaryExpression

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

Field Summary

Modifier and TypeField and Description
public int
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.
private Object
lhsUnaryOperation(LHS lhs, boolean strictJava)

private Object
private Object
unaryOperation(Object op, int kind)

Inherited from bsh.SimpleNode:
dumpgetChildgetLineNumbergetSourceFilegetTextjjtAddChildjjtClosejjtGetChildjjtGetNumChildrenjjtGetParentjjtOpenjjtSetParentprunesetSourceFiletoStringtoString

Field Detail

kindback to summary
public int kind
postfixback to summary
public boolean postfix

Constructor Detail

BSHUnaryExpressionback to summary
pack-priv BSHUnaryExpression(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.

lhsUnaryOperationback to summary
private Object lhsUnaryOperation(LHS lhs, boolean strictJava) throws UtilEvalError
primitiveWrapperUnaryOperationback to summary
private Object primitiveWrapperUnaryOperation(Object val, int kind) throws UtilEvalError
unaryOperationback to summary
private Object unaryOperation(Object op, int kind) throws UtilEvalError