MatcherGenerator<E extends Matcher<Expression> > class
- Implementers
- AnyCharacterGenerator
- CaptureGenerator
- CharacterClassGenerator
- LiteralGenerator
- OneOrMoreGenerator
- OptionalGenerator
- OrderedChoiceGenerator
- PostfixAnyCharacterGenerator
- PostfixCaptureGenerator
- PostfixCharacterClassGenerator
- PostfixLiteralGenerator
- PostfixOneOrMoreGenerator
- PostfixOptionalGenerator
- PostfixOrderedChoiceGenerator
- PostfixPredicateGenerator
- PostfixSequenceGenerator
- PostfixSymbolGenerator
- PostfixZeroOrMoreGenerator
- PredicateGenerator
- SequenceGenerator
- SymbolGenerator
- ZeroOrMoreGenerator
Constructors
- MatcherGenerator(E matcher)
Properties
- allocator ↔ VariableAllocator?
-
getter/setter pair
- fail ↔ CodeBlock?
-
getter/setter pair
- generate ↔ void Function(CodeBlock block, MatcherGeneratorAccept accept)
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVariableDeclared ↔ bool
-
getter/setter pair
- matcher → E
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stored
↔ Map<
String, String> -
getter/setter pair
- success ↔ CodeBlock?
-
getter/setter pair
- variable ↔ String?
-
getter/setter pair
-
variables
↔ Map<
String, String> -
getter/setter pair
Methods
-
acceptChild(
MatcherVisitor< MatcherGenerator< visitor, Matcher<Matcher< >Expression> >Expression> matcher, MatcherGenerator<Matcher< parent) → MatcherGenerator<Expression> >Matcher< Expression> > -
addVariables(
MatcherGenerator< Matcher< other) → voidExpression> > -
allocate(
) → String -
allocateVariable(
) → String? -
declareVariable(
CodeBlock block, [String? type]) → String? -
generatePostCode(
MatcherGenerator< Matcher< generator, CodeBlock block, void success(CodeBlock block)?, void fail(CodeBlock block)?) → voidExpression> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restore(
CodeBlock block, String name) → void -
restoreAll(
CodeBlock block) → void -
store(
CodeBlock block, String name) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited