Ejemplo n.º 1
0
void case_463()
#line 3946 "ps-parser.jay"
{
	  	var oi = new AsObjectInitializer ((List<Expression>) yyVals[-2+yyTop], GetLocation (yyVals[-3+yyTop]));
		if (current_variable != null) {
			oi.VariableDeclaration = current_variable;
		}
	  	lbag.AddLocation (yyVal, GetLocation (yyVals[-1+yyTop]), GetLocation (yyVals[0+yyTop]));
	  	yyVal = oi;
	  }
Ejemplo n.º 2
0
void case_462()
#line 3933 "ps-parser.jay"
{
	    var expList = yyVals[-1+yyTop] as List<Expression>;
	    if (expList == null) {
	    	expList = new List<Expression>();
	    }
  		var oi = new AsObjectInitializer (expList, GetLocation (yyVals[-2+yyTop]));
		if (current_variable != null) {
			oi.VariableDeclaration = current_variable;
		}
		lbag.AddLocation (yyVal, GetLocation (yyVals[0+yyTop]));
  		yyVal = oi;
	  }