Matches individual executable statements.
This pattern only matches nodes of type statement.
Properties
simpleStatement produces a record that contains the following property:
| Name | Type | Description |
|---|---|---|
expression |
expression |
The expression, such as a function call or an assignment |
Inherits properties from:
- astnode
- statement
Example
The simpleStatement pattern matches the following case:
i++;
In this instance, the .expression property is the expression i++.