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

Method rewrite

src/binder/bound_statement_rewriter.cpp:11–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace binder {
10
11void BoundStatementRewriter::rewrite(BoundStatement& boundStatement,
12 main::ClientContext& clientContext) {
13 auto withClauseProjectionRewriter = WithClauseProjectionRewriter();
14 withClauseProjectionRewriter.visitUnsafe(boundStatement);
15
16 auto normalizedQueryPartMatchRewriter = NormalizedQueryPartMatchRewriter(&clientContext);
17 normalizedQueryPartMatchRewriter.visitUnsafe(boundStatement);
18
19 auto matchClausePatternLabelRewriter = MatchClausePatternLabelRewriter(clientContext);
20 matchClausePatternLabelRewriter.visitUnsafe(boundStatement);
21
22 auto defaultTypeSolver = DefaultTypeSolver();
23 defaultTypeSolver.visit(boundStatement);
24}
25
26} // namespace binder
27} // namespace lbug

Callers

nothing calls this directly

Calls 6

DefaultTypeSolverClass · 0.85
visitUnsafeMethod · 0.45
visitMethod · 0.45

Tested by

no test coverage detected