API reference
python:arx:arx.parser.types.TypeParserMixin.parse_type
method parse_type
parse_type(*, allow_template_vars: bool = True, allow_union: bool = False, type_context: TypeUseContext = TypeUseContext.GENERAL) -> astx.DataType
Source: packages/arx/src/arx/parser/types.py:267
Parse a type annotation.
Parameters
-
allow_template_vars โ Type: bool
-
allow_union โ Type: bool
-
type_context โ Type: TypeUseContext
Returns
Type: astx.DataType