MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / parse_expr

Method parse_expr

src/sql-parser/src/parser.rs:560–562  ·  view source on GitHub ↗

Parse a new expression

(&mut self)

Source from the content-addressed store, hash-verified

558
559 /// Parse a new expression
560 fn parse_expr(&mut self) -> Result<Expr<Raw>, ParserError> {
561 self.parse_subexpr(Precedence::Zero)
562 }
563
564 /// Parse tokens until the precedence decreases
565 fn parse_subexpr(&mut self, precedence: Precedence) -> Result<Expr<Raw>, ParserError> {

Callers 15

parse_exprFunction · 0.80
parse_functionMethod · 0.80
parse_case_exprMethod · 0.80
parse_cast_exprMethod · 0.80
parse_nullif_exprMethod · 0.80
parse_extract_exprMethod · 0.80
parse_trim_exprMethod · 0.80
parse_position_exprMethod · 0.80
parse_normalize_exprMethod · 0.80
parse_subscriptMethod · 0.80
parse_substring_exprMethod · 0.80

Calls 1

parse_subexprMethod · 0.80

Tested by

no test coverage detected