public override void Visit(InstanceVariableExpression expression) { // TODO check if is a get or set, if is an instance variable this.block.CompileGet(expression.Name); }
public abstract void Visit(InstanceVariableExpression expression);
public override void Visit(InstanceVariableExpression expression) { this.writer.Write(string.Format("self.${0}", expression.Name)); }