simpleStatement

Coverity Documentation

Version
latest

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:

Example

The simpleStatement pattern matches the following case:

JavaScript code follows
    i++;

In this instance, the .expression property is the expression i++.