예제 #1
0
파일: AstProperty.cs 프로젝트: mortend/uno
 public AstProperty(string comment, IReadOnlyList <AstAttribute> attrs, Modifiers modifiers, string cond, AstExpression dataType, AstExpression optionalInterfaceType, AstIdentifier name, AstAccessor get, AstAccessor set)
     : base(comment, attrs, modifiers, cond, dataType, name)
 {
     OptionalInterfaceType = optionalInterfaceType;
     Get = get;
     Set = set;
 }
예제 #2
0
 public AstEvent(string comment, IReadOnlyList <AstAttribute> attrs, Modifiers modifiers, string cond, AstExpression delegateType, AstExpression optionalInterfaceType, AstIdentifier name, AstAccessor add, AstAccessor remove)
     : base(comment, attrs, modifiers, cond)
 {
     DelegateType          = delegateType;
     OptionalInterfaceType = optionalInterfaceType;
     Name   = name;
     Add    = add;
     Remove = remove;
 }
예제 #3
0
 public AstIndexer(Source src, string comment, IReadOnlyList <AstAttribute> attrs, Modifiers modifiers, string cond, AstExpression returnType, AstExpression optionalInterfaceType, IReadOnlyList <AstParameter> parameterList, AstAccessor get, AstAccessor set)
     : base(comment, attrs, modifiers, cond)
 {
     Source                = src;
     ReturnType            = returnType;
     OptionalInterfaceType = optionalInterfaceType;
     Parameters            = parameterList;
     Get = get;
     Set = set;
 }