MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / NewParserBuilder

Function NewParserBuilder

parser/parser.cc:1908–1911  ·  view source on GitHub ↗

Creates a new parser builder. Intended for use with the Compiler class, most users should prefer the free functions above for independent parsing of expressions.

Source from the content-addressed store, hash-verified

1906// Intended for use with the Compiler class, most users should prefer the free
1907// functions above for independent parsing of expressions.
1908std::unique_ptr<ParserBuilder> NewParserBuilder(const ParserOptions& options) {
1909 return std::make_unique<google::api::expr::parser::ParserBuilderImpl>(
1910 options);
1911}
1912
1913} // namespace cel

Callers 5

NewCompilerBuilderFunction · 0.85
MakeTestParsedAstFunction · 0.85
TESTFunction · 0.85
RunMethod · 0.85
ParseFunction · 0.85

Calls

no outgoing calls

Tested by 4

MakeTestParsedAstFunction · 0.68
TESTFunction · 0.68
RunMethod · 0.68
ParseFunction · 0.68