Package org.sonar.python.tree
Class ExpressionStatementImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.ExpressionStatementImpl
-
- All Implemented Interfaces:
ExpressionStatement,Statement,Tree
public class ExpressionStatementImpl extends PyTree implements ExpressionStatement
-
-
Constructor Summary
Constructors Constructor Description ExpressionStatementImpl(com.sonar.sslr.api.AstNode astNode, List<Expression> expressions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()List<Expression>expressions()Tree.KindgetKind()-
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
-
ExpressionStatementImpl
public ExpressionStatementImpl(com.sonar.sslr.api.AstNode astNode, List<Expression> expressions)
-
-
Method Detail
-
accept
public void accept(TreeVisitor visitor)
-
expressions
public List<Expression> expressions()
- Specified by:
expressionsin interfaceExpressionStatement
-
-