AbstractOperator constructor
AbstractOperator(})
Creates a new operator.
oper
- The operator name (pattern).
precedence
- The operators precedence.
leftAssoc
- true
if the operator is left associative, else false<
booleanOperator
Whether this operator is boolean.
unaryOperator
Whether the operator takes one or two operands
Implementation
AbstractOperator(String oper, int precedence, bool leftAssoc,
{bool booleanOperator = false, bool unaryOperator = false})
: super(oper, precedence, leftAssoc,
booleanOperator: booleanOperator, unaryOperator: unaryOperator);