public class XOperatorSet extends OperatorSet
XOperator
,
Serialized FormConstructor and Description |
---|
XOperatorSet()
Create the standard set of operators.
|
XOperatorSet(OperatorSet opSet)
Creates the operator set from a given set.
|
Modifier and Type | Method and Description |
---|---|
void |
printOperators()
Prints all the operators, with verbose representations of each operators properties.
|
static void |
setPrecedenceTable(Operator[][] precArray)
Sets the precedences of the operators according to order in the supplied array.
|
getAdd, getAnd, getAssign, getCross, getDivide, getDot, getElement, getEQ, getGE, getGT, getLE, getList, getLT, getMod, getMultiply, getNE, getNot, getOperators, getOr, getPower, getSubtract, getUMinus
public XOperatorSet(OperatorSet opSet)
public XOperatorSet()
public static final void setPrecedenceTable(Operator[][] precArray)
setPrecedenceTable(new Operator[][] { {OP_UMINUS}, {OP_NOT}, {OP_MUL,OP_DIV,OP_MOD}, {OP_PLUS,OP_MINUS}, {OP_LT,OP_LE}, {OP_GT,OP_GE}, {OP_EQ}, {OP_NE}, {OP_AND}, {OP_OR}, });
public void printOperators()
printOperators
in class OperatorSet
Jas4pp 1.5 © Java Analysis Studio for Particle Physics