API reference
python:arx:arx.parser.expressions.ExpressionParserMixin
class ExpressionParserMixin
Source: packages/arx/src/arx/parser/expressions.py:33
Expression parser mixin.
Attributes
-
bin_op_precedence — Type: dict[str, int]
-
indent_level — Type: int
-
list_scopes — Type: list[set[str]]
-
known_class_names — Type: set[str]
-
imported_type_names — Type: set[str]
-
namespace_roots — Type: set[str]
-
builtin_type_bindings — Type: dict[str, astx.DataType]
-
tensor_scopes — Type: list[dict[str, TensorBinding | None]]
-
dataframe_scopes — Type: list[dict[str, DataFrameBinding | 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
Methods
-
_coerce_dataframe_base — Return one DataFrame-aware access base when available.
-
_coerce_tensor_base — Return one tensor-aware indexing base when available.
-
_is_dataframe_expr — Return whether one expression is known as a DataFrame.
-
_parse_dataframe_field_access — Build and validate one DataFrame field-style column access.
-
_parse_dataframe_string_access — Build and validate one DataFrame string-key column access.
-
_skip_inline_indents — Skip indentation markers inside grouped expressions.
-
parse_array_expr — Parse ordered lists without selecting storage or types.
-
parse_assignment_or_expression — Parse a scalar compound statement or an ordinary expression.
-
parse_bin_op_rhs — Parse a binary expression rhs.
-
parse_bool_expr — Parse the bool expression.
-
parse_call_arguments — Preserve source-ordered operands after an opening parenthesis.
-
parse_char_expr — Parse the char expression.
-
parse_dataframe_constructor — Parse a builtin DataFrame constructor expression.
-
parse_expression — Parse an expression.
-
parse_float_expr — Parse the float expression.
-
parse_identifier_expr — Parse the identifier expression.
-
parse_imported_namespace_name — Match a dotted import's complete binding before member access.
-
parse_int_expr — Parse the integer expression.
-
parse_none_expr — Parse the none expression.
-
parse_paren_expr — Parse the parenthesis expression.
-
parse_postfix — Parse member access, method calls, and subscripts.
-
parse_primary — Parse the primary expression.
-
parse_string_expr — Parse the string expression.
-
parse_subscript_expr — Parse one postfix subscript or tensor index expression.
-
parse_unary — Parse prefix expressions with comparison-binding word negation.