Package org.sonar.python.tree
Class NonlocalStatementImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.NonlocalStatementImpl
-
- All Implemented Interfaces:
NonlocalStatement,Statement,Tree
public class NonlocalStatementImpl extends PyTree implements NonlocalStatement
-
-
Constructor Summary
Constructors Constructor Description NonlocalStatementImpl(com.sonar.sslr.api.AstNode astNode, Token nonlocalKeyword, List<Name> variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()Tree.KindgetKind()TokennonlocalKeyword()List<Name>variables()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.python.api.tree.Tree
ancestors, astNode, descendants, descendants, firstToken, is, lastToken, parent
-
-
-
-
Method Detail
-
nonlocalKeyword
public Token nonlocalKeyword()
- Specified by:
nonlocalKeywordin interfaceNonlocalStatement
-
variables
public List<Name> variables()
- Specified by:
variablesin interfaceNonlocalStatement
-
accept
public void accept(TreeVisitor visitor)
-
-