A program element that has a name.
Known direct subtypes
Gets the reason this element was generated by the compiler, if any.
Holds if this element transitively contains the specified element
Holds if this element pertains to a source file.
Gets the compilation unit that this element belongs to.
Cast this element to a
Gets the name of this element.
Holds if this element is the immediate parent of the specified element
Holds if this element has the specified
Holds if this is an auxiliary program element generated by the compiler.
Gets the name of a primary CodeQL class to which this element belongs.
Gets the file associated with this element.
Gets the source location for this element.
Gets the number of comment lines that this element ranges over.
Gets the number of lines of code that this element ranges over.
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
Gets a textual representation of this element.