Class TypeVar_
INTERNAL: See the class TypeVar for further information.
Import path
import pythonDirect supertypes
Indirect supertypes
Known direct subtypes
Predicates
| getBound | Gets the bound of this type variable. |
| getDefault | Gets the default of this type variable. |
| getName | Gets the name of this type variable. |
| toString | Gets a textual representation of this element |
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 TypeParameter |
| 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 |
| getLocation | Gets the location of this element | from TypeParameter |
| getParent | Gets a parent of this type parameter | from TypeParameter_ |
| 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 that this node occurs in | from TypeParameter |
| isArtificial | Whether this syntactic element is artificial, that is it is generated by the compiler and is not present in the source | from AstNode |