imaginaryLiteral

Coverity Documentation

Version
latest

Matches the imaginary part of literal complex-number values.

This pattern only matches nodes of type expression.

Properties

imaginaryLiteral produces a record that contains the following property:

Name Type Description
valueString string The complex component of the imaginary value, represented as a string

Inherits properties from:

Example

The following source pattern:

Python code follows
    33.14j;

... could be matched by the following CodeXM code:

CXM code follows
    f matches imaginaryLiteral { .valueString == "33.14" };