Package org.sonar.python.tree
Class PyStringElementImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyStringElementImpl
-
- All Implemented Interfaces:
PyStringElementTree,Tree
public class PyStringElementImpl extends PyTree implements PyStringElementTree
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)List<Tree>children()Tree.KindgetKind()Stringprefix()StringtrimmedQuotesValue()Stringvalue()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Method Detail
-
accept
public void accept(PyTreeVisitor visitor)
-
value
public String value()
- Specified by:
valuein interfacePyStringElementTree- Returns:
- the token value of this literal.
-
trimmedQuotesValue
public String trimmedQuotesValue()
- Specified by:
trimmedQuotesValuein interfacePyStringElementTree
-
prefix
public String prefix()
- Specified by:
prefixin interfacePyStringElementTree
-
-