Package org.sonar.python.tree
Class NameImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.NameImpl
- All Implemented Interfaces:
Expression,HasSymbol,Name,Tree
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TreeVisitor visitor) getKind()booleanname()voidsetInferredType(InferredType inferredType) voidvoidsymbol()type()usage()Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
Constructor Details
-
NameImpl
-
-
Method Details
-
name
-
isVariable
public boolean isVariable()- Specified by:
isVariablein interfaceName
-
getKind
-
accept
-
computeChildren
-
symbol
-
usage
-
setSymbol
-
setUsage
-
type
- Specified by:
typein interfaceExpression
-
setInferredType
-