Package org.sonar.python.tree
Class GlobalStatementImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.SimpleStatement
-
- org.sonar.python.tree.GlobalStatementImpl
-
- All Implemented Interfaces:
GlobalStatement,Statement,Tree
public class GlobalStatementImpl extends SimpleStatement implements GlobalStatement
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description GlobalStatementImpl(Token globalKeyword, List<Name> variables, Separators separators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>computeChildren()Tree.KindgetKind()TokenglobalKeyword()Tokenseparator()List<Name>variables()-
Methods inherited from class org.sonar.python.tree.SimpleStatement
lastToken
-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, parent, setParent
-
-
-
-
Constructor Detail
-
GlobalStatementImpl
public GlobalStatementImpl(Token globalKeyword, List<Name> variables, Separators separators)
-
-
Method Detail
-
globalKeyword
public Token globalKeyword()
- Specified by:
globalKeywordin interfaceGlobalStatement
-
variables
public List<Name> variables()
- Specified by:
variablesin interfaceGlobalStatement
-
separator
@CheckForNull public Token separator()
-
accept
public void accept(TreeVisitor visitor)
-
-