Package org.sonar.python.tree
Class PyDictionaryLiteralTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyDictOrSetLiteralTreeImpl
-
- org.sonar.python.tree.PyDictionaryLiteralTreeImpl
-
- All Implemented Interfaces:
PyDictionaryLiteralTree,PyExpressionTree,Tree
public class PyDictionaryLiteralTreeImpl extends PyDictOrSetLiteralTreeImpl implements PyDictionaryLiteralTree
-
-
Constructor Summary
Constructors Constructor Description PyDictionaryLiteralTreeImpl(com.sonar.sslr.api.AstNode node, com.sonar.sslr.api.Token lCurlyBrace, List<com.sonar.sslr.api.Token> commas, List<PyKeyValuePairTree> elements, 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<PyKeyValuePairTree>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.PyDictionaryLiteralTree
commas, lCurlyBrace, rCurlyBrace
-
-
-
-
Constructor Detail
-
PyDictionaryLiteralTreeImpl
public PyDictionaryLiteralTreeImpl(com.sonar.sslr.api.AstNode node, com.sonar.sslr.api.Token lCurlyBrace, List<com.sonar.sslr.api.Token> commas, List<PyKeyValuePairTree> elements, com.sonar.sslr.api.Token rCurlyBrace)
-
-
Method Detail
-
elements
public List<PyKeyValuePairTree> elements()
- Specified by:
elementsin interfacePyDictionaryLiteralTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-