AbstractOperator constructor

AbstractOperator(
  1. String oper,
  2. int precedence,
  3. bool leftAssoc, {
  4. bool booleanOperator = false,
  5. bool unaryOperator = false,
})

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);