Beispiel #1
0
 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;
 }
Beispiel #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;
 }
Beispiel #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;
 }