MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / operator|

Method operator|

subprojects/llama.cpp/common/peg-parser.cpp:884–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882}
883
884common_peg_parser common_peg_parser::operator|(const common_peg_parser & other) const {
885 return builder_.choice({id_, other.id_});
886}
887
888common_peg_parser common_peg_parser::operator<<(const common_peg_parser & other) const {
889 return builder_.sequence({id_, builder_.space(), other.id_});

Callers

nothing calls this directly

Calls 2

choiceMethod · 0.45
literalMethod · 0.45

Tested by

no test coverage detected