blark.transform.SimpleSpecification
- class blark.transform.SimpleSpecification(type: Token | StringTypeSpecification, meta: Meta | None = None)[source]
Bases:
TypeSpecificationBase
A 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_specification
simple_specification: elementary_type_name | simple_type_name | DOTTED_IDENTIFIER
Methods
__init__
(type[, meta])Attributes
base_type_name
The full type name.
full_type_name
The full type name.
type_info
The base type name.
- type: Token | StringTypeSpecification
- from_lark() T