Package org.sonar.python.tree
Class PyFileInputTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyFileInputTreeImpl
-
- All Implemented Interfaces:
PyFileInputTree,Tree
public class PyFileInputTreeImpl extends PyTree implements PyFileInputTree
-
-
Constructor Summary
Constructors Constructor Description PyFileInputTreeImpl(com.sonar.sslr.api.AstNode astNode, PyStatementListTree statements, com.sonar.sslr.api.Token docstring)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)List<Tree>children()com.sonar.sslr.api.Tokendocstring()Tree.KindgetKind()PyStatementListTreestatements()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyFileInputTreeImpl
public PyFileInputTreeImpl(com.sonar.sslr.api.AstNode astNode, @Nullable PyStatementListTree statements, com.sonar.sslr.api.Token docstring)
-
-
Method Detail
-
statements
@CheckForNull public PyStatementListTree statements()
- Specified by:
statementsin interfacePyFileInputTree
-
docstring
@CheckForNull public com.sonar.sslr.api.Token docstring()
- Specified by:
docstringin interfacePyFileInputTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-