StubbleState class
- Implementers
- CloseBracketState
- GetAttributeState
- GetBlockEndState
- GetBlockHelperState
- GetBlockNameState
- GetBlockSequenceTypeState
- GetConditionState
- GetDataState
- GetEachBlockState
- GetHelperState
- GetIfBlockState
- GetIfConditionState
- GetNumberAttribute
- GetPathAttribute
- GetPathState
- GetSequenceState
- GetStringAttribute
- GetWithBlockState
- OpenBracketState
- RootState
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
methods
↔ Map<
String, Function> -
available method for processing.
Each method function should have two params: <StubbleMessage msg, StubbleContext context>
For a state to process a message of concrete type, it must implement a method with key of Message.getName() value.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canAcceptMessage(
StubbleMessage msg) → bool - Checks if state can accept messages of this type.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processMessage(
StubbleMessage msg, StubbleContext context) → StubbleResult? - Processing message
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited