Interface CaseBlock
-
- All Superinterfaces:
Tree
- All Known Implementing Classes:
CaseBlockImpl
public interface CaseBlock extends Tree
Case block
See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-python-grammar-case_blockcaseKeyword()pattern()guard():body()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementListbody()TokencaseKeyword()Tokencolon()Guardguard()Patternpattern()
-
-
-
Method Detail
-
caseKeyword
Token caseKeyword()
-
pattern
Pattern pattern()
-
guard
@CheckForNull Guard guard()
-
colon
Token colon()
-
body
StatementList body()
-
-