Package org.sonar.python.tree
Class PyElseStatementTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyElseStatementTreeImpl
-
- All Implemented Interfaces:
PyElseStatementTree,PyStatementTree,Tree
public class PyElseStatementTreeImpl extends PyTree implements PyElseStatementTree
-
-
Constructor Summary
Constructors Constructor Description PyElseStatementTreeImpl(com.sonar.sslr.api.Token elseKeyword, PyStatementListTree body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)PyStatementListTreebody()List<Tree>children()com.sonar.sslr.api.TokenelseKeyword()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyElseStatementTreeImpl
public PyElseStatementTreeImpl(com.sonar.sslr.api.Token elseKeyword, PyStatementListTree body)
-
-
Method Detail
-
elseKeyword
public com.sonar.sslr.api.Token elseKeyword()
- Specified by:
elseKeywordin interfacePyElseStatementTree
-
body
public PyStatementListTree body()
- Specified by:
bodyin interfacePyElseStatementTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-