Package org.sonar.python.tree
Class LiteralPatternImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.LiteralPatternImpl
-
- All Implemented Interfaces:
LiteralPattern,Pattern,Tree
public class LiteralPatternImpl extends PyTree implements LiteralPattern
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description LiteralPatternImpl(List<Token> tokens, Tree.Kind kind)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)Tree.KindgetKind()StringvalueAsString()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Method Detail
-
valueAsString
public String valueAsString()
- Specified by:
valueAsStringin interfaceLiteralPattern
-
accept
public void accept(TreeVisitor visitor)
-
-