Gets the name of a primary CodeQL class to which this element belongs.
Gets an initializer expression of the loop.
Gets a variable that is used as an iteration variable: it is defined, updated or tested in the head of the
Gets an update expression of this
Gets the boolean condition of this
This statement’s Halstead ID (used to compute Halstead metrics).
Gets the initializer expression of the loop at the specified (zero-based) position.
Gets the body of this
Gets the statement that is executed whenever the condition of this branch statement evaluates to true.
Gets the update expression of this loop at the specified (zero-based) position.
Gets a printable representation of this statement. May include more detail than
Gets a textual representation of this element.
Gets a child of this statement, if any.
Gets the basic block in which this statement occurs.
Gets the compilation unit in which this statement occurs.
Gets the immediately enclosing callable (method or constructor) whose body contains this statement.
Gets the statement containing this statement, if any.
Gets the file associated with this element.
Gets the index of this statement as a child of its parent.
Gets the source location for this element.
Cast this statement to a class that provides access to metrics information.
Gets the number of comment lines that this element ranges over.
Gets the number of lines of code that this element ranges over.
Gets the parent of this statement.
Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.
Gets the total number of lines that this element ranges over, including lines of code, comment and whitespace-only lines.
Holds if this element is at the specified location. The location spans column
Holds if this statement is the child of the specified parent at the specified (zero-based) position.