當前位置: 首頁>>代碼示例>>C#>>正文


C# CSharp.BlockVariableDeclaration類代碼示例

本文整理匯總了C#中Mono.CSharp.BlockVariableDeclaration的典型用法代碼示例。如果您正苦於以下問題:C# BlockVariableDeclaration類的具體用法?C# BlockVariableDeclaration怎麽用?C# BlockVariableDeclaration使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


BlockVariableDeclaration類屬於Mono.CSharp命名空間,在下文中一共展示了BlockVariableDeclaration類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: Visit

		public virtual object Visit (BlockVariableDeclaration blockVariableDeclaration)
		{
			return null;
		}
開發者ID:KAW0,項目名稱:Alter-Native,代碼行數:4,代碼來源:visit.cs

示例2: AsLocalFunction

		public AsLocalFunction (Location loc, string name, AnonymousMethodExpression methodExpr, BlockVariableDeclaration varDecl)
		{
			this.loc = loc;
			this.Name = name;
			this.MethodExpr = methodExpr;
			this.VarDecl = varDecl;
		}
開發者ID:johnv315,項目名稱:playscript-mono,代碼行數:7,代碼來源:ps-lang.cs

示例3: end_anonymous

/*
 * Completes the anonymous method processing, if lambda_expr is null, this
 * means that we have a Statement instead of an Expression embedded 
 */
AnonymousMethodExpression end_anonymous (ParametersBlock anon_block)
{
	AnonymousMethodExpression retval;

	if (async_block)
		anon_block.IsAsync = true;

	current_anonymous_method.Block = anon_block;
	retval = current_anonymous_method;

	async_block = (bool) oob_stack.Pop ();
	current_variable = (BlockVariableDeclaration) oob_stack.Pop ();
	current_local_parameters = (ParametersCompiled) oob_stack.Pop ();
	current_anonymous_method = (AnonymousMethodExpression) oob_stack.Pop ();

	return retval;
}
開發者ID:kaagati,項目名稱:NRefactory,代碼行數:21,代碼來源:cs-parser.cs

示例4: case_751

void case_751()
{
		yyVal = current_variable;
		current_variable = null;
		lbag.AddLocation (yyVal, GetLocation (yyVals[-6+yyTop]), GetLocation (yyVals[0+yyTop]));
	  }
開發者ID:animaonline,項目名稱:Portable-Mono.CSharp,代碼行數:6,代碼來源:cs-parser.cs

示例5: case_924

void case_924()
#line 6211 "cs-parser.jay"
{
	    start_block (GetLocation (yyVals[-2+yyTop]));
	    
		current_block.IsCompilerGenerated = true;
		var lt = (Tokenizer.LocatedToken) yyVals[0+yyTop];
		var li = new LocalVariable (current_block, lt.Value, LocalVariable.Flags.UsingVariable | LocalVariable.Flags.Used, lt.Location);
		current_block.AddLocalName (li);
		current_variable = new Using.VariableDeclaration ((FullNamedExpression) yyVals[-1+yyTop], li);
	  }
開發者ID:kaagati,項目名稱:NRefactory,代碼行數:11,代碼來源:cs-parser.cs

示例6: case_790

void case_790()
#line 5313 "cs-parser.jay"
{
		if (current_variable.Initializer != null) {
			lbag.AddLocation (current_variable, GetLocation (yyVals[-6+yyTop]), savedLocation, GetLocation (yyVals[0+yyTop]));
		} else {
			lbag.AddLocation (current_variable, GetLocation (yyVals[-6+yyTop]), GetLocation (yyVals[0+yyTop]));
		}
		yyVal = current_variable;;
		current_variable = null;
	  }
開發者ID:kaagati,項目名稱:NRefactory,代碼行數:11,代碼來源:cs-parser.cs

示例7: case_865

void case_865()
#line 5781 "cs-parser.jay"
{
		yyVal = current_variable;
		current_variable = null;
	  }
開發者ID:kaagati,項目名稱:NRefactory,代碼行數:6,代碼來源:cs-parser.cs

示例8: case_849

void case_849()
#line 5426 "cs-parser.jay"
{
		yyVal = current_variable;	  
		current_variable = null;
	  }
開發者ID:Ein,項目名稱:monodevelop,代碼行數:6,代碼來源:cs-parser.cs

示例9: case_788

void case_788()
#line 5300 "cs-parser.jay"
{
		yyVal = current_variable;
		current_variable = null;
		lbag.AppendTo (yyVal, GetLocation (yyVals[0+yyTop]));
	  }
開發者ID:kaagati,項目名稱:NRefactory,代碼行數:7,代碼來源:cs-parser.cs

示例10: case_882

void case_882()
#line 5864 "cs-parser.jay"
{
		yyVal = current_variable;	  
		current_variable = null;
	  }
開發者ID:xamarin-release-manager,項目名稱:monodevelop,代碼行數:6,代碼來源:cs-parser.cs

示例11: case_800

void case_800()
#line 5103 "cs-parser.jay"
{
		yyVal = current_variable;
		current_variable = null;
	  }
開發者ID:Tak,項目名稱:monodevelop-novell,代碼行數:6,代碼來源:cs-parser.cs

示例12: case_877

void case_877()
#line 5832 "cs-parser.jay"
{
		yyVal = current_variable;
		current_variable = null;
	  }
開發者ID:nieve,項目名稱:NRefactory,代碼行數:6,代碼來源:cs-parser.cs

示例13: case_825

void case_825()
#line 5469 "cs-parser.jay"
{
		yyVal = current_variable;
		current_variable = null;
	  }
開發者ID:xamarin-release-manager,項目名稱:monodevelop,代碼行數:6,代碼來源:cs-parser.cs

示例14: case_811

void case_811()
#line 5197 "cs-parser.jay"
{
		yyVal = current_variable;
		current_variable = null;
	  }
開發者ID:hduregger,項目名稱:monodevelop,代碼行數:6,代碼來源:cs-parser.cs

示例15: case_883

void case_883()
{
		yyVal = current_variable;	  
		current_variable = null;
	  }
開發者ID:animaonline,項目名稱:Portable-Mono.CSharp,代碼行數:5,代碼來源:cs-parser.cs


注:本文中的Mono.CSharp.BlockVariableDeclaration類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。