Exemplo n.º 1
0
 public AstClass(
     string comment,
     IReadOnlyList <AstAttribute> attrs,
     Modifiers modifiers,
     string cond,
     AstClassType type,
     AstIdentifier name,
     IReadOnlyList <AstExpression> bases,
     AstGenericSignature optionalGenericSig,
     IReadOnlyList <AstBlockMember> members,
     IReadOnlyList <AstExpression> swizzlers)
     : base(comment, attrs, modifiers, cond, name, members)
 {
     Type            = type;
     Bases           = bases;
     Swizzlers       = swizzlers;
     OptionalGeneric = optionalGenericSig;
 }
Exemplo n.º 2
0
 public TokenAttribute(string value, AstClassType classType, AstConstraintType constraintClassType = 0)
 {
     Value               = value;
     ClassType           = classType;
     ConstraintClassType = constraintClassType;
 }