StatementType enum

Inheritance
Available extensions
Annotations
  • @JsonEnum.new()

Values

statementBlockStatement → const StatementType
const StatementType('statementBlockStatement')
printStatement → const StatementType
const StatementType('printStatement')
returnStatement → const StatementType
const StatementType('returnStatement')
ifElseStatement → const StatementType
const StatementType('ifElseStatement')
forLoopStatement → const StatementType
const StatementType('forLoopStatement')
whileLoopStatement → const StatementType
const StatementType('whileLoopStatement')
variableDeclarationStatement → const StatementType
const StatementType('variableDeclarationStatement')
variableAssignmentStatement → const StatementType
const StatementType('variableAssignmentStatement')
customFunctionCallStatement → const StatementType
const StatementType('customFunctionCallStatement')
breakStatement → const StatementType
const StatementType('breakStatement')
continueStatement → const StatementType
const StatementType('continueStatement')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
jsonValue String
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

describeAdd() String
getCategory() StatementCategory
getOrderValue() int
isSimple() bool
If true, the statement has no extra properties and thus does not require editing. Examples include "break" and "continue" statements, which should be instantly added to the canvas without opening an extra editor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

values → const List<StatementType>
A constant List of the values in this enum, in order of their declaration.