blark.transform.SimpleSpecification
- class blark.transform.SimpleSpecification(type: Token | StringTypeSpecification, meta: Meta | None = None)[source]
Bases:
TypeSpecificationBaseA simple specification with just a type name (or a string type name).
An elementary type name, a simple type name, or a general dotted identifier are valid for this.
Lark grammar
This class is used by the following grammar rules:
simple_specificationsimple_specification: elementary_type_name | simple_type_name | DOTTED_IDENTIFIER
Methods
__init__(type[, meta])Attributes
base_type_nameThe full type name.
full_type_nameThe full type name.
type_infoThe base type name.
- type: Token | StringTypeSpecification
- from_lark() T