当前位置: 首页>>代码示例>>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;未经允许,请勿转载。