Package org.sonar.python.tree
Class PyGlobalStatementTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyGlobalStatementTreeImpl
-
- All Implemented Interfaces:
PyGlobalStatementTree,PyStatementTree,Tree
public class PyGlobalStatementTreeImpl extends PyTree implements PyGlobalStatementTree
-
-
Constructor Summary
Constructors Constructor Description PyGlobalStatementTreeImpl(com.sonar.sslr.api.AstNode astNode, com.sonar.sslr.api.Token globalKeyword, List<PyNameTree> variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)List<Tree>children()Tree.KindgetKind()com.sonar.sslr.api.TokenglobalKeyword()List<PyNameTree>variables()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyGlobalStatementTreeImpl
public PyGlobalStatementTreeImpl(com.sonar.sslr.api.AstNode astNode, com.sonar.sslr.api.Token globalKeyword, List<PyNameTree> variables)
-
-
Method Detail
-
globalKeyword
public com.sonar.sslr.api.Token globalKeyword()
- Specified by:
globalKeywordin interfacePyGlobalStatementTree
-
variables
public List<PyNameTree> variables()
- Specified by:
variablesin interfacePyGlobalStatementTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-