WhileLoopStatement class

Inheritance
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

WhileLoopStatement(bool isDoWhile, DartBlockBooleanExpression condition, List<Statement> bodyStatements, StatementType statementType, String statementId, bool isIsolated)
WhileLoopStatement.fromJson(Map<String, dynamic> json)
factory
WhileLoopStatement.init(bool isDoWhile, DartBlockBooleanExpression condition, List<Statement> bodyStatements)

Properties

bodyStatements List<Statement>
getter/setter pair
condition DartBlockBooleanExpression
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDoWhile bool
getter/setter pair
isIsolated bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statementId String
A unique identifier.
finalinherited
statementType StatementType
The type of the Statement.
finalinherited

Methods

bodyExecute(DartBlockArbiter arbiter, covariant StatementContextPreExecutionResult? preExecutionResult) StatementContextBodyExecutionResult?
override
buildTree(DartBlockProgramTreeNode programTreeNode) DartBlockProgramTreeNode
override
copy() WhileLoopStatement
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() WhileLoopStatement
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) → (WhileLoopStatement?, int)
Trim the contents of the Statement.
override

Operators

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