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

Method addToScope

src/binder/binder.cpp:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void Binder::addToScope(const std::vector<std::string>& names, const expression_vector& exprs) {
205 DASSERT(names.size() == exprs.size());
206 for (auto i = 0u; i < names.size(); ++i) {
207 addToScope(names[i], exprs[i]);
208 }
209}
210
211void Binder::addToScope(const std::string& name, std::shared_ptr<Expression> expr) {
212 // TODO(Xiyang): assert name not in scope.

Callers 2

bindRelOutputMethod · 0.80
bindNodeOutputMethod · 0.80

Calls 2

sizeMethod · 0.45
addExpressionMethod · 0.45

Tested by

no test coverage detected