Skip to main content

Module parser_parse_expr_parser_alt_b

Module parser_parse_expr_parser_alt_b 

Source
Expand description

Node: cxx:Method:Luau.Ast:Ast/src/Parser.cpp:3530:parseExpr

The precedence-climbing expression parser (Parser::parseExpr(unsigned limit)). Operands come from parse_assertion_expr (and recursively from here for unary operators); binary operators expand while their left priority exceeds limit, right-associative ops (^, ..) recurse at one-lower priority. All operand and operator helpers (parse_unary_op/parse_binary_op/check_*_confusables) are already ported; only this driver was a stub.