Skip to main content

Crate substrait_antlr

Crate substrait_antlr 

Source
Expand description

Generated Rust ANTLR parsers for the Substrait grammars, built against the antlr4rust runtime.

The grammars from which this code is generated can be found here.

  • substrait_type — parser for the Substrait type grammar (SubstraitType.g4).
  • func_test_case — parser for the function test case grammar (FuncTestCaseParser.g4).

The generated code only works with the exact antlr4rust version it was generated for, so that runtime is re-exported as antlr4rust. Use it through this re-export rather than depending on antlr4rust directly, so that the two can never drift apart.

Re-exports§

pub use antlr4rust;

Modules§

func_test_case
Generated ANTLR lexer, parser and listeners for the Substrait function test case grammar (FuncTestCaseParser.g4).
substrait_type
Generated ANTLR lexer, parser and listeners for the Substrait type grammar (SubstraitType.g4).