Package org.sonar.python.tree
Class ReprExpressionImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.ReprExpressionImpl
-
- All Implemented Interfaces:
Expression,ReprExpression,Tree
public class ReprExpressionImpl extends PyTree implements ReprExpression
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description ReprExpressionImpl(Token openingBacktick, ExpressionList expressionListTree, Token closingBacktick)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)TokenclosingBacktick()List<Tree>computeChildren()ExpressionListexpressionList()Tree.KindgetKind()TokenopeningBacktick()-
Methods inherited from class org.sonar.python.tree.PyTree
children, 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.plugins.python.api.tree.Expression
type
-
-
-
-
Constructor Detail
-
ReprExpressionImpl
public ReprExpressionImpl(Token openingBacktick, ExpressionList expressionListTree, Token closingBacktick)
-
-
Method Detail
-
accept
public void accept(TreeVisitor visitor)
-
openingBacktick
public Token openingBacktick()
- Specified by:
openingBacktickin interfaceReprExpression
-
expressionList
public ExpressionList expressionList()
- Specified by:
expressionListin interfaceReprExpression
-
closingBacktick
public Token closingBacktick()
- Specified by:
closingBacktickin interfaceReprExpression
-
-