arx.parser

arx.parser

Source: packages/arx/src/arx/parser/__init__.py

title: parser module gather all functions and classes for parsing.

Classes

Parser(ImportParserMixin, DeclarationParserMixin, ExpressionParserMixin, ControlFlowParserMixin, TypeParserMixin, ParserCore)

title: Parser class.
attributes:
  bin_op_precedence:
    type: dict[str, int]
  indent_level:
    type: int
  known_class_names:
    type: set[str]
  tensor_scopes:
    type: list[dict[str, TensorBinding | None]]
  return_type_scopes:
    type: list[astx.DataType]
  template_type_scopes:
    type: list[dict[str, astx.DataType]]
  type_aliases:
    type: dict[str, astx.DataType]
  value_scopes:
    type: list[set[str]]
  tokens:
    type: TokenList