예제 #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;
 }