StatementType enum
The type of a Statement.
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 - A short, imperative sentence to describe what will happen when the user is about to drop a dragged StatementType onto a location in their program.
-
getCategory(
) → StatementCategory - Retrieve the category to which the StatementType belongs.
-
getOrderValue(
) → int - The order priority when visualizing the StatementType in the StatementTypePicker.
-
isSimple(
) → bool - Whether the Statement has no additional properties.
-
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.