}
CYExpression *CYAddressOf::Replace(CYContext &context) {
- CYPrefix::Replace(context);
return $C0($M(rhs_, $S("$cya")));
}
}
CYExpression *CYDirectMember::Replace(CYContext &context) {
- Replace_(context);
+ context.Replace(object_);
+ context.Replace(property_);
return this;
}
}
CYExpression *CYIndirect::Replace(CYContext &context) {
- CYPrefix::Replace(context);
return $M(rhs_, $S("$cyi"));
}
CYExpression *CYIndirectMember::Replace(CYContext &context) {
- Replace_(context);
return $M($ CYIndirect(object_), property_);
}
return $E($ CYCall($ CYFunctionExpression(NULL, declarations_->Parameter(context), code_), declarations_->Argument(context)));
}
-void CYMember::Replace_(CYContext &context) {
- context.Replace(object_);
- context.Replace(property_);
-}
-
namespace cy {
namespace Syntax {