blark.transform.ElseClause
- class blark.transform.ElseClause(statements: StatementList | None, meta: Meta | None = None)[source]
Bases:
object
The
ELSE
part of anIF/ELSIF/ELSE/END_IF
block.Lark grammar
This class is used by the following grammar rules:
else_clause
else_clause: "ELSE"i [ statement_list ]
Methods
__init__
(statements[, meta])Attributes
- statements: StatementList | None
- from_lark() T