Package org.sonar.python.tree
Class DictionaryLiteralImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.DictOrSetLiteralImpl
-
- org.sonar.python.tree.DictionaryLiteralImpl
-
- All Implemented Interfaces:
DictionaryLiteral,Expression,Tree
public class DictionaryLiteralImpl extends DictOrSetLiteralImpl implements DictionaryLiteral
-
-
Constructor Summary
Constructors Constructor Description DictionaryLiteralImpl(com.sonar.sslr.api.AstNode node, Token lCurlyBrace, List<Token> commas, List<KeyValuePair> elements, Token rCurlyBrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()List<KeyValuePair>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.DictionaryLiteral
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<KeyValuePair> elements()
- Specified by:
elementsin interfaceDictionaryLiteral
-
accept
public void accept(TreeVisitor visitor)
-
-