MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / transformExtensionStatement

Method transformExtensionStatement

src/parser/transformer.cpp:224–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224std::unique_ptr<Statement> Transformer::transformExtensionStatement(
225 antlr4::ParserRuleContext* ctx) {
226 for (auto& transformerExtension : transformerExtensions) {
227 auto statement = transformerExtension->transform(ctx);
228 if (statement) {
229 return statement;
230 }
231 }
232 throw common::ParserException{
233 "Failed parse the statement. Do you forget to load the extension?"};
234}
235
236} // namespace parser
237} // namespace lbug

Callers

nothing calls this directly

Calls 1

transformMethod · 0.80

Tested by

no test coverage detected