blark.transform.Implements
- class blark.transform.Implements(interfaces: List[Token], meta: Meta | None = None)[source]
Bases:
object
The “IMPLEMENTS” portion of a function block, indicating it implements one or more interfaces.
Examples:
IMPLEMENTS I_Interface1 IMPLEMENTS I_Interface1, I_Interface2
Lark grammar
This class is used by the following grammar rules:
implements
implements: "IMPLEMENTS"i DOTTED_IDENTIFIER ("," DOTTED_IDENTIFIER)*
Methods
__init__
(interfaces[, meta])from_lark
(*interfaces)Attributes
- static from_lark(*interfaces: Token) Implements [source]