StatementBlock class
- Inheritance
-
- Object
- Statement
- StatementContext<
StatementContextPostExecutionResult?> - StatementBlock
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
-
StatementBlock(List<
Statement> statements, StatementType statementType, String statementId, bool isIsolated) -
StatementBlock.fromJson(Map<
String, dynamic> json) -
factory
-
StatementBlock.init({List<
Statement> ? statements, bool isIsolated = false})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isIsolated ↔ bool
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statementId → String
-
A unique identifier.
finalinherited
-
statements
↔ List<
Statement> -
getter/setter pair
- statementType → StatementType
-
The type of the Statement.
finalinherited
Methods
-
addStatement(
Statement statement) → void -
bodyExecute(
DartBlockArbiter arbiter, covariant StatementContextPreExecutionResult? preExecutionResult) → StatementContextBodyExecutionResult? -
override
-
buildTree(
DartBlockProgramTreeNode programTreeNode) → DartBlockProgramTreeNode -
override
-
copy(
) → StatementBlock -
Create a deep copy of the Statement.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postExecute(
DartBlockArbiter arbiter, covariant StatementContextBodyExecutionResult? bodyExecutionResult) → StatementContextPostExecutionResult? -
override
-
preExecute(
DartBlockArbiter arbiter) → StatementContextPreExecutionResult? -
override
-
run(
DartBlockArbiter arbiter) → StatementContextPostExecutionResult? -
Execute the Statement, using the given DartBlockArbiter.
inherited
-
shuffle(
) → StatementBlock -
Shuffle the contents of the Statement.
override
-
toJson(
) → Map< String, dynamic> -
Encode the Statement object to JSON.
override
-
toScript(
{DartBlockTypedLanguage language = DartBlockTypedLanguage.java}) → String -
Export the Statement to its equivalent textual representation in a typed language.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
trim(
int remaining) → (StatementBlock?, int) -
Trim the contents of the Statement.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited