INTERNAL: Do not use.
getASelfRef member predicate when modeling a class.
Gets a reference to instances of this class, originating from a self parameter of a method defined on this class.
Whether this contains
Gets a base of this class definition.
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().
Gets a decorator of this class.
Gets a flow node corresponding directly to this node. NOTE: For some statements and other purely syntactic elements, there may not be a
Gets a method defined in this class
Gets an exit from this Scope’s control flow graph, that does not result from an exception
Gets a statement in the class
Gets an exit from this Scope’s control flow graph
Gets the nth base of this class definition.
Gets the statements forming the body of this class
Gets the ClassObject corresponding to this class
Gets the docstring for this scope
Gets the scope (module, class or function) in which this class is defined
Gets the entry point into this Scope’s control flow graph
Gets the evaluation scope for code in this (lexical) scope. This is usually the scope itself, but may be an enclosing scope. Notably, for list comprehensions in Python 2.
Gets the non-explicit exit from this Scope’s control flow graph
Gets a defined init method of this class
Gets the location for this AST node
Gets the metaclass expression
Gets the metrics for this class
Gets the name used to define this class
Gets a parent of this class
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.
Gets the qualified name for this class. Should return the same name as the
Gets the exit of this scope following from a return statement
Use getEnclosingScope() instead
Gets the nth statement in the class
Holds if this expression may have a side effect (as determined purely from its syntax).
Holds if this scope is in the source archive, that is it is part of the code specified, not library code
Whether this syntactic element is artificial, that is it is generated by the compiler and is not present in the source
Holds if this is probably a mixin (has ‘mixin’ or similar in name or docstring)
Holds if this scope is deemed to be public
Holds if this a top-level (non-nested) class or function
Holds if this scope can be expected to execute before