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

Method parse_source_error_policy_option

src/sql-parser/src/parser.rs:2511–2518  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2509 }
2510
2511 fn parse_source_error_policy_option(&mut self) -> Result<SourceErrorPolicy, ParserError> {
2512 match self.expect_one_of_keywords(&[INLINE])? {
2513 INLINE => Ok(SourceErrorPolicy::Inline {
2514 alias: self.parse_alias()?,
2515 }),
2516 _ => unreachable!(),
2517 }
2518 }
2519
2520 fn parse_source_envelope(&mut self) -> Result<SourceEnvelope, ParserError> {
2521 let envelope = if self.parse_keyword(NONE) {

Callers

nothing calls this directly

Calls 2

parse_aliasMethod · 0.80

Tested by

no test coverage detected