Exemplo n.º 1
0
void case_818()
#line 5474 "cs-parser.jay"
{
		var lt = (Tokenizer.LocatedToken) yyVals[-2+yyTop];	  
		var li = new LocalVariable (current_block, lt.Value, LocalVariable.Flags.Constant, lt.Location);
		var d = new BlockVariableDeclaration.Declarator (li, (Expression) yyVals[0+yyTop]);
		current_variable.AddDeclarator (d);
		current_block.AddLocalName (li);
	  	lbag.AddLocation (d, GetLocation (yyVals[-3+yyTop]), GetLocation (yyVals[-1+yyTop]));
	  }
Exemplo n.º 2
0
void case_810()
#line 5431 "cs-parser.jay"
{
		var lt = (Tokenizer.LocatedToken) yyVals[0+yyTop];	  
		var li = new LocalVariable (current_variable.Variable, lt.Value, lt.Location);
		var d = new BlockVariableDeclaration.Declarator (li, null);
		current_variable.AddDeclarator (d);
		current_block.AddLocalName (li);
	  	lbag.AddLocation (d, GetLocation (yyVals[-1+yyTop]));
	  }
Exemplo n.º 3
0
void case_821()
#line 6357 "ps-parser.jay"
{
		var lt = (Tokenizer.LocatedToken) yyVals[-4+yyTop];	  
		var li = GetOrCreateLocalVariable (current_variable.Variable.Block, lt.Value, 
			current_variable.Variable.DeclFlags, (FullNamedExpression) yyVals[-2+yyTop], lt.Location);
		var d = new BlockVariableDeclaration.Declarator (li, (Expression) yyVals[0+yyTop], (FullNamedExpression) yyVals[-2+yyTop]);
		d.Location = GetLocation(yyVals[-4+yyTop]);
		current_variable.AddDeclarator (d);
	  	lbag.AddLocation (d, GetLocation (yyVals[-5+yyTop]), GetLocation (yyVals[-1+yyTop]));
	  }
Exemplo n.º 4
0
void case_828()
#line 6391 "ps-parser.jay"
{
		var lt = (Tokenizer.LocatedToken) yyVals[-2+yyTop];	  
		var li = GetOrCreateLocalVariable (current_block, lt.Value, 
			LocalVariable.Flags.Constant, current_variable.TypeExpression, lt.Location);
		var d = new BlockVariableDeclaration.Declarator (li, (Expression) yyVals[0+yyTop]);
		current_variable.AddDeclarator (d);
	  	lbag.AddLocation (d, GetLocation (yyVals[-3+yyTop]), GetLocation (yyVals[-1+yyTop]));
	  }
Exemplo n.º 5
0
void case_818()
#line 6329 "ps-parser.jay"
{
		var lt = (Tokenizer.LocatedToken) yyVals[0+yyTop];	  
		var li = GetOrCreateLocalVariable (current_variable.Variable.Block, lt.Value, 
			current_variable.Variable.DeclFlags, current_variable.TypeExpression, lt.Location);
		var d = new BlockVariableDeclaration.Declarator (li, null);
		current_variable.AddDeclarator (d);
	  	lbag.AddLocation (d, GetLocation (yyVals[-1+yyTop]));
	  }