ExpressionsGenerator class

Inheritance

Constructors

ExpressionsGenerator({required BitFlagGenerator failures, required ClassMembers members, required ParserGeneratorOptions options})

Properties

failures → BitFlagGenerator
finalinherited
hashCode int
The hash code for this object.
no setterinherited
members → ClassMembers
finalinherited
options ParserGeneratorOptions
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptChild(Expression node, ExpressionGenerator parent) → ExpressionGenerator
inherited
generatePostCode(ExpressionGenerator generator, CodeBlock block, void success(CodeBlock block)?, void fail(CodeBlock block)?) → void
inherited
generateSequence(SequenceExpression node, int startIndex) → ExpressionGenerator
inherited
generateSequenceAction(SequenceExpression node, CodeBlock block, ExpressionGenerator generator, {required List<String?> localVariables, required List<String?> semanticVariables, required List<String> types}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitAndPredicate(AndPredicateExpression node) → ExpressionGenerator
inherited
visitAnyCharacter(AnyCharacterExpression node) → ExpressionGenerator
inherited
visitCapture(CaptureExpression node) → ExpressionGenerator
inherited
visitCharacterClass(CharacterClassExpression node) → ExpressionGenerator
inherited
visitLiteral(LiteralExpression node) → ExpressionGenerator
inherited
visitNonterminal(NonterminalExpression node) → ExpressionGenerator
inherited
visitNotPredicate(NotPredicateExpression node) → ExpressionGenerator
inherited
visitOneOrMore(OneOrMoreExpression node) → ExpressionGenerator
inherited
visitOptional(OptionalExpression node) → ExpressionGenerator
inherited
visitOrderedChoice(OrderedChoiceExpression node) → ExpressionGenerator
override
visitSequence(SequenceExpression node) → ExpressionGenerator
override
visitSubterminal(SubterminalExpression node) → ExpressionGenerator
inherited
visitTerminal(TerminalExpression node) → ExpressionGenerator
inherited
visitZeroOrMore(ZeroOrMoreExpression node) → ExpressionGenerator
inherited
willExpressionChangeCharOnFailure(Expression node, Set<Expression> processed) bool
inherited
willSequenceChangePosOnFailure(SequenceExpression node) bool
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited