Gets a child node of this node.
from AstNode getAChildExprGets an expression that is a child node of this node in the AST.
from ExprParent getBoolValueGets the boolean value this expression evalutes to, if any.
from Expr getChildGets the i
th child node of this node.
Gets the i
th child expression of this node.
Gets the innermost function definition to which this AST node belongs, if any.
from AstNode getExactValueGets the string representation of the exact value this expression evaluates to, if any.
from Expr getFileGets the file this program element comes from.
from Locatable getFloatValueGets the floating-point value this expression evaluates to, if any.
from Expr getGlobalValueNumberGets the global value number of this expression.
from Expr getIntValueGets the integer value this expression evaluates to, if any.
from Expr getKindGets the kind of this expression, which is an integer value representing the expression’s node type.
from Expr getLocationGets this element’s location.
from Locatable getNumChildGets the number of child nodes of this node.
from AstNode getNumChildExprGets the number of child expressions of this node.
from ExprParent getNumLinesGets the number of lines covered by this element.
from Locatable getNumericValueGets either getFloatValue
or getIntValue
.
Gets the parent node of this AST node, if any.
from AstNode getPrimaryQlClassesGets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.
from AstNode getStringValueGets the string value this expression evaluates to, if any.
from Expr getTextGets the raw program text corresponding to this literal.
from BasicLit getTypeGets the type of this expression.
from Expr getUniquelyNumberedChildGet an AstNode child, ordered by child kind and then by index.
from AstNode getValueGets the value of this literal expressed as a string.
from BasicLit hasComplexValueHolds if the complex value this expression evaluates to has real part real
and imaginary part imag
.
Holds if this element is at the specified location. The location spans column startcolumn
of line startline
to column endcolumn
of line endline
in file filepath
. For more information, see Locations.
Holds if this expression is constant, that is, if its value is determined at compile-time.
from BasicLit isPlatformIndependentConstantHolds if this expression has a constant value which is guaranteed not to depend on the platform where it is evaluated.
from BasicLit mayHaveOwnSideEffectsHolds if this expression may have observable side effects of its own (that is, independent of whether its sub-expressions may have side effects).
from Expr mayHaveSideEffectsHolds if the evaluation of this expression may produce observable side effects.
from Expr stripParensGets this expression, with any surrounding parentheses removed.
from Expr toStringGets a textual representation of this element.
from BasicLitRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4