An expression statement, that is, an expression terminated by a semicolon.

Only certain expressions are valid statements:

Be aware that very simple assignments are specifications; an AssignmentStatement where the target of the AssignOperation is a BaseExpression is invalid.

Examples:

text.length += added.length;
i++;
print("Hello, World!");
Initializer
ExpressionStatement()
Attributes
childrenshared formal [AssignmentOperation|PrefixOperation|PostfixOperation|Invocation] children

The child nodes of this node.

expressionshared formal AssignmentOperation|PrefixOperation|PostfixOperation|Invocation expression

The expression of the statement.

Inherited Attributes
Attributes inherited from: Node
Attributes inherited from: Object
hash, string
Inherited Methods
Methods inherited from: Node
Methods inherited from: Object
equals