Class Keyword
A keyword argument in a call. For example arg=expr
in foo(0, arg=expr)
Import path
import python
Direct supertypes
Indirect supertypes
Predicates
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(). |
getScope |
Gets the scope that this node occurs in |
getValue |
Gets the value of this keyword argument. |
toString |
Inherited predicates
contains |
Whether this contains |
from AstNode |
containsInScope |
Whether this contains |
from AstNode |
getAFlowNode |
Gets a flow node corresponding directly to this node. NOTE: For some statements and other purely syntactic elements, there may not be a |
from AstNode |
getArg |
Gets the arg of this keyword argument. |
from Keyword_ |
getLocation |
Gets the location of this keyword argument. |
from Keyword_ |
getParent |
Gets a parent of this dict_item |
from DictItem_ |
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 |
isArtificial |
Whether this syntactic element is artificial, that is it is generated by the compiler and is not present in the source |
from AstNode |