Package org.sonar.python.tree
Class SetLiteralImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.DictOrSetLiteralImpl
-
- org.sonar.python.tree.SetLiteralImpl
-
- All Implemented Interfaces:
Expression,SetLiteral,Tree
public class SetLiteralImpl extends DictOrSetLiteralImpl implements SetLiteral
-
-
Constructor Summary
Constructors Constructor Description SetLiteralImpl(com.sonar.sslr.api.AstNode node, Token lCurlyBrace, List<Expression> elements, List<Token> commas, Token rCurlyBrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()List<Expression>elements()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.DictOrSetLiteralImpl
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.SetLiteral
commas, lCurlyBrace, rCurlyBrace
-
Methods inherited from interface org.sonar.python.api.tree.Tree
ancestors, astNode, descendants, descendants, firstToken, is, lastToken, parent
-
-
-
-
Method Detail
-
elements
public List<Expression> elements()
- Specified by:
elementsin interfaceSetLiteral
-
accept
public void accept(TreeVisitor visitor)
-
-