public override void VisitVariableReferenceExpression (VariableReferenceExpression node)
		{
			if (node.Variable != variable)
				return;

			Match = true;
			Continue = false;
		}
		public override ICodeNode VisitVariableReferenceExpression (VariableReferenceExpression node)
		{
			var variable = (VariableDefinition) node.Variable;

			if (!TryDiscardVariable (variable))
				return node;

			return new VariableDeclarationExpression (variable);
		}
Ejemplo n.º 3
0
 public void EmitVariableReferenceExpression(VariableReferenceExpression node, int si)
 {
     this.Text.Emit("movl {0}(%ebp), %eax", this._variableLocations[node.Variable.Name]);
 }
		public override void VisitVariableReferenceExpression (VariableReferenceExpression node)
		{
			Write (node.Variable.Name);
		}
Ejemplo n.º 5
0
 public override ICodeNode VisitVariableReferenceExpression(VariableReferenceExpression node)
 {
     node = (VariableReferenceExpression)base.VisitVariableReferenceExpression(node);
     return new TypedVariableReferenceExpression(node.Variable);
 }
Ejemplo n.º 6
0
		public virtual void VisitVariableReferenceExpression (VariableReferenceExpression node)
		{
		}
Ejemplo n.º 7
0
 public virtual void VisitVariableReferenceExpression(VariableReferenceExpression node)
 {
 }
Ejemplo n.º 8
0
		public override void VisitVariableReferenceExpression (VariableReferenceExpression node)
		{
			Write (string.IsNullOrEmpty (node.Variable.Name)? ("V_" + node.Variable.Index) : node.Variable.Name);
		}
Ejemplo n.º 9
0
 public virtual ICodeNode VisitVariableReferenceExpression(VariableReferenceExpression node)
 {
     return(node);
 }