Package org.sonar.python.tree
Class PySetLiteralTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyDictOrSetLiteralTreeImpl
-
- org.sonar.python.tree.PySetLiteralTreeImpl
-
- All Implemented Interfaces:
PyExpressionTree,PySetLiteralTree,Tree
public class PySetLiteralTreeImpl extends PyDictOrSetLiteralTreeImpl implements PySetLiteralTree
-
-
Constructor Summary
Constructors Constructor Description PySetLiteralTreeImpl(com.sonar.sslr.api.AstNode node, com.sonar.sslr.api.Token lCurlyBrace, List<PyExpressionTree> elements, List<com.sonar.sslr.api.Token> commas, com.sonar.sslr.api.Token rCurlyBrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)List<Tree>children()List<PyExpressionTree>elements()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyDictOrSetLiteralTreeImpl
commas, lCurlyBrace, rCurlyBrace
-
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.PySetLiteralTree
commas, lCurlyBrace, rCurlyBrace
-
-
-
-
Constructor Detail
-
PySetLiteralTreeImpl
public PySetLiteralTreeImpl(com.sonar.sslr.api.AstNode node, com.sonar.sslr.api.Token lCurlyBrace, List<PyExpressionTree> elements, List<com.sonar.sslr.api.Token> commas, com.sonar.sslr.api.Token rCurlyBrace)
-
-
Method Detail
-
elements
public List<PyExpressionTree> elements()
- Specified by:
elementsin interfacePySetLiteralTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-