MCPcopy Create free account
hub / github.com/alibaba/euler / E

Function E

euler/parser/attribute_calculator.cc:215–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215bool E(TreeNode* t) {
216 std::vector<TreeNode*> children = t->GetChildren();
217 if (children.size() == 2) {
218 t->GetProp()->AddValue(children[1]->GetValue());
219 }
220 return true;
221}
222
223bool V(TreeNode* t) {
224 std::vector<TreeNode*> children = t->GetChildren();

Callers

nothing calls this directly

Calls 5

GetChildrenMethod · 0.80
AddValueMethod · 0.80
GetPropMethod · 0.80
GetValueMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected