Interface LiteralPattern
-
- All Known Implementing Classes:
LiteralPatternImpl
public interface LiteralPattern extends Pattern
Literal Patterncase "foo": ... case 42: ... case True: ... case None: ...See https://docs.python.org/3/reference/compound_stmts.html#literal-patterns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringvalueAsString()
-
-
-
Method Detail
-
valueAsString
String valueAsString()
-
-