Class Name
A (plain variable) name expression, such as var
.
None
, True
and False
are excluded.
Import path
import python
Direct supertypes
Known direct subtypes
Predicates
defines | Whether this expression defines variable |
deletes | Whether this expression deletes variable |
getAFlowNode | Gets a flow node corresponding directly to this node. NOTE: For some statements and other purely syntactic elements, there may not be a |
getASubExpression | Gets an immediate (non-nested) sub-expression of this expression |
getId | |
isArtificial | Whether this syntactic element is artificial, that is it is generated by the compiler and is not present in the source |
isConstant | Whether this expression is a constant |
isDefinition | Whether this expression is a definition |
isDeletion | Whether this expression is a deletion |
isUse | Whether this expression is a use |
toString | Gets a textual representation of this element. |
uses | Whether this expression is a use of variable |
Inherited predicates
contains | Whether this contains | from AstNode |
containsInScope | Whether this contains | from AstNode |
getAChildNode | Gets a child node of this node in the AST. This predicate exists to aid exploration of the AST and other experiments. The child-parent relation may not be meaningful. For a more meaningful relation in terms of dependency use Expr.getASubExpression(), Stmt.getASubStatement(), Stmt.getASubExpression() or Scope.getAStmt(). | from Expr |
getCtx | Gets the context of this name expression. | from Name_ |
getEnclosingModule | Gets the module in which this expression occurs | from Expr |
getLocation | from Expr | |
getParent | Gets a parent of this expression | from Name_ |
getParentNode | Gets the parent node of this node in the AST. This predicate exists to aid exploration of the AST and other experiments. The child-parent relation may not be meaningful. For a more meaningful relation in terms of dependency use Expr.getASubExpression(), Stmt.getASubStatement(), Stmt.getASubExpression() or Scope.getAStmt() applied to the parent. | from AstNode |
getScope | Gets the scope of this expression | from Expr |
getVariable | Gets the variable of this name expression. | from Name_ |
hasSideEffects | Whether this expression may have a side effect (as determined purely from its syntax) | from Expr |
isParenthesised | Whether the parenthesised property of this expression is true. | from Expr_ |
isParenthesized | Whether the parenthesized property of this expression is true. | from Expr |
pointsTo | Gets a value that this expression might “point-to”. | from Expr |
pointsTo | Holds if this expression might “point-to” to | from Expr |
pointsTo | Holds if this expression might “point-to” to | from Expr |
pointsTo | Holds if this expression might “point-to” to | from Expr |
refersTo | NOTE: | from Expr |
refersTo | NOTE: | from Expr |
refersTo | NOTE: | from Expr |
refersTo | NOTE: | from Expr |