Matches individual executable expressions.
This pattern only matches nodes of type statement.
Properties
expressionStatement produces a record that contains the following property:
| Name | Type | Description |
|---|---|---|
expression |
expression |
The expression itself |
Inherits properties from:
- astnode
- statement
Example
The following CodeXM pattern matches a function call:
pattern expressionStatementFunctionCall {
expressionStatement {
.expression == functionCall
}
};