コード例 #1
0
 public static Executable[] Listify(Executable e)
 {
     return(new Executable[] { e });
 }
コード例 #2
0
ファイル: WhileLoop.cs プロジェクト: blakeohare/csharp2crayon
 public override IList <Executable> ResolveTypes(ParserContext context, VariableScope varScope)
 {
     this.Condition = this.Condition.ResolveTypes(context, varScope);
     this.Code      = Executable.ResolveTypesForCode(this.Code, context, new VariableScope(varScope));
     return(Listify(this));
 }