Lines Matching refs:cb
30 void ClassProperty::Iterate(const NodeTraverser &cb) const
32 cb(key_);
35 cb(value_);
39 cb(typeAnnotation_);
43 cb(it);
72 void ClassProperty::UpdateChildNodes(const NodeUpdater &cb)
74 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression();
77 value_ = std::get<ir::AstNode *>(cb(value_))->AsExpression();
81 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression();
85 *iter = std::get<ir::AstNode *>(cb(*iter))->AsDecorator();
89 void ClassProperty::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder)
96 UpdateChildNodes(cb);
98 UpdateChildNodes(cb);