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

Method addExpression

src/binder/binder_scope.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace binder {
5
6void BinderScope::addExpression(const std::string& varName,
7 std::shared_ptr<Expression> expression) {
8 nameToExprIdx.insert({varName, expressions.size()});
9 expressions.push_back(std::move(expression));
10}
11
12void BinderScope::replaceExpression(const std::string& oldName, const std::string& newName,
13 std::shared_ptr<Expression> expression) {

Callers 2

transformDeleteMethod · 0.45
addToScopeMethod · 0.45

Calls 3

insertMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected