ExpressionGroup class
Models a group of operators of the same precedence.
Constructors
- ExpressionGroup(Parser _loopback)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
Parser inner) → Parser -
left<
O, V> (Parser< O> parser, [dynamic action(V left, O operator, V right)?]) → void -
Adds a left-associative operator
parser
. Evaluates the optionalaction
with the parsedleft
term,operator
, andright
term. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postfix<
O, V> (Parser< O> parser, [dynamic action(V value, O operator)?]) → void -
Adds a postfix operator
parser
. Evaluates the optionalaction
with the parsedvalue
andoperator
. -
prefix<
O, V> (Parser< O> parser, [dynamic action(O operator, V value)?]) → void -
Adds a prefix operator
parser
. Evaluates the optionalaction
with the parsedoperator
andvalue
. -
primitive<
V> (Parser< V> parser, [dynamic action(V value)?]) → void -
Defines a new primitive or literal
parser
. Evaluates the optionalaction
. -
right<
O, V> (Parser< O> parser, [dynamic action(V left, O operator, V right)?]) → void -
Adds a right-associative operator
parser
. Evaluates the optionalaction
with the parsedleft
term,operator
, andright
term. -
toString(
) → String -
A string representation of this object.
inherited
-
wrapper<
O, V> (Parser< O> left, Parser<O> right, [dynamic action(O left, V value, O right)?]) → void -
Defines a new wrapper using
left
andright
parsers, that are typically used for parenthesis. Evaluates the optionalaction
with the parsedleft
delimiter, thevalue
andright
delimiter.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited