return tag_ == NULL ? next : $ CYSelectorPart(tag_, name_ != NULL, next);
}
+CYExpression *CYBox::Replace(CYContext &context) {
+ return $C1($M($V("Instance"), $S("box")), value_);
+}
+
CYStatement *CYProtocol::Replace(CYContext &context) const { $T(NULL)
return $ CYBlock($$->*
next_->Replace(context)->*
CYString *CYSelectorPart::Replace(CYContext &context) {
std::ostringstream str;
- for (const CYSelectorPart *part(this); part != NULL; part = part->next_) {
+ CYForEach (part, this) {
if (part->name_ != NULL)
str << part->name_->Word();
if (part->value_)
}
CYExpression *CYSendSuper::Replace(CYContext &context) {
- return $ CYSendDirect($V("cyr"), arguments_);
+ return $ CYSendDirect($V("$cyr"), arguments_);
}