Package org.sonar.python.tree
Class PyDecoratorTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyDecoratorTreeImpl
-
- All Implemented Interfaces:
PyDecoratorTree,Tree
public class PyDecoratorTreeImpl extends PyTree implements PyDecoratorTree
-
-
Constructor Summary
Constructors Constructor Description PyDecoratorTreeImpl(com.sonar.sslr.api.AstNode astNode, com.sonar.sslr.api.Token atToken, PyDottedNameTree dottedName, com.sonar.sslr.api.AstNode lPar, PyArgListTree argListTree, com.sonar.sslr.api.AstNode rPar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)PyArgListTreearguments()com.sonar.sslr.api.TokenatToken()List<Tree>children()Tree.KindgetKind()com.sonar.sslr.api.TokenleftPar()PyDottedNameTreename()com.sonar.sslr.api.TokenrightPar()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyDecoratorTreeImpl
public PyDecoratorTreeImpl(com.sonar.sslr.api.AstNode astNode, com.sonar.sslr.api.Token atToken, PyDottedNameTree dottedName, @Nullable com.sonar.sslr.api.AstNode lPar, @Nullable PyArgListTree argListTree, @Nullable com.sonar.sslr.api.AstNode rPar)
-
-
Method Detail
-
atToken
public com.sonar.sslr.api.Token atToken()
- Specified by:
atTokenin interfacePyDecoratorTree
-
name
public PyDottedNameTree name()
- Specified by:
namein interfacePyDecoratorTree
-
leftPar
@CheckForNull public com.sonar.sslr.api.Token leftPar()
- Specified by:
leftParin interfacePyDecoratorTree
-
arguments
@CheckForNull public PyArgListTree arguments()
- Specified by:
argumentsin interfacePyDecoratorTree
-
rightPar
@CheckForNull public com.sonar.sslr.api.Token rightPar()
- Specified by:
rightParin interfacePyDecoratorTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-