Package org.sonar.python.tree
Class FileInputImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.FileInputImpl
-
-
Constructor Summary
Constructors Constructor Description FileInputImpl(com.sonar.sslr.api.AstNode astNode, StatementList statements, Token docstring)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()Tokendocstring()Tree.KindgetKind()StatementListstatements()-
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
-
-
-
-
Constructor Detail
-
FileInputImpl
public FileInputImpl(com.sonar.sslr.api.AstNode astNode, @Nullable StatementList statements, Token docstring)
-
-
Method Detail
-
statements
@CheckForNull public StatementList statements()
- Specified by:
statementsin interfaceFileInput
-
docstring
@CheckForNull public Token docstring()
-
accept
public void accept(TreeVisitor visitor)
-
-