public override object Visit(NamedArgumentExpression namedParameterExpression, object data)
 {
     //TODO
     return null;
 }
 public object Visit(NamedArgumentExpression namedArgumentExpression, object data)
 {
     return String.Concat(namedArgumentExpression.Parametername,
                          "=",
                         namedArgumentExpression.Expression.AcceptVisitor(this, data));
 }
Exemplo n.º 3
0
	void Argument(
#line  1743 "VBNET.ATG" 
out Expression argumentexpr) {

#line  1745 "VBNET.ATG" 
		Expression expr;
		argumentexpr = null;
		string name;
		
		if (
#line  1749 "VBNET.ATG" 
IsNamedAssign()) {
			Identifier();

#line  1749 "VBNET.ATG" 
			name = t.val;  
			Expect(13);
			Expect(11);
			Expr(
#line  1749 "VBNET.ATG" 
out expr);

#line  1751 "VBNET.ATG" 
			argumentexpr = new NamedArgumentExpression(name, expr);
			
		} else if (StartOf(18)) {
			Expr(
#line  1754 "VBNET.ATG" 
out argumentexpr);
		} else SynErr(222);
	}
 public virtual object Visit(NamedArgumentExpression namedArgumentExpression, object data)
 {
     return namedArgumentExpression.Expression.AcceptVisitor(this, data);
 }