示例#1
0
 public AstTryCatchFinally(Source src, AstScope tryScope, AstScope optionalFinallyScope, IReadOnlyList <AstCatch> catchBlocks) : base(src)
 {
     TryScope             = tryScope;
     OptionalFinallyScope = optionalFinallyScope;
     CatchBlocks          = catchBlocks;
 }
示例#2
0
文件: AstCatch.cs 项目: mortend/uno
 public AstCatch(AstExpression optionalType, AstIdentifier name, AstScope body)
 {
     Body         = body;
     OptionalType = optionalType;
     Name         = name;
 }
示例#3
0
 public AstSwitchCase(IReadOnlyList <AstExpression> values, AstScope scope)
 {
     Values = values;
     Scope  = scope;
 }