Package org.sonar.python.tree
Class TypeParamImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.TypeParamImpl
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description TypeParamImpl(Token starToken, Name name, TypeAnnotation annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)Tree.KindgetKind()Namename()TokenstarToken()TypeAnnotationtypeAnnotation()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
TypeParamImpl
public TypeParamImpl(@Nullable Token starToken, Name name, @Nullable TypeAnnotation annotation)
-
-
Method Detail
-
accept
public void accept(TreeVisitor visitor)
-
typeAnnotation
@CheckForNull public TypeAnnotation typeAnnotation()
- Specified by:
typeAnnotationin interfaceTypeParam
-
-