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);
		}
Exemplo 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);
		}
Exemplo n.º 5
0
 public override ICodeNode VisitVariableReferenceExpression(VariableReferenceExpression node)
 {
     node = (VariableReferenceExpression)base.VisitVariableReferenceExpression(node);
     return new TypedVariableReferenceExpression(node.Variable);
 }
Exemplo n.º 6
0
		public virtual void VisitVariableReferenceExpression (VariableReferenceExpression node)
		{
		}
Exemplo n.º 7
0
 public virtual void VisitVariableReferenceExpression(VariableReferenceExpression node)
 {
 }
Exemplo n.º 8
0
		public override void VisitVariableReferenceExpression (VariableReferenceExpression node)
		{
			Write (string.IsNullOrEmpty (node.Variable.Name)? ("V_" + node.Variable.Index) : node.Variable.Name);
		}
Exemplo n.º 9
0
 public virtual ICodeNode VisitVariableReferenceExpression(VariableReferenceExpression node)
 {
     return(node);
 }