public ConstData(string name, WebIDLType type, Value value, IReadOnlyList <ExtendedAttribute> extendedAttributes) { Name = name; Type = type; Value = value; ExtendedAttributes = extendedAttributes; }
public AttributeData(string name, WebIDLType type, AttributeQualifiers qualifiers, IReadOnlyList <ExtendedAttribute> extendedAttributes) { Name = name; Type = type; Qualifiers = qualifiers; ExtendedAttributes = extendedAttributes; }
public CallbackData(string name, WebIDLType returnType, IReadOnlyList <Argument> arguments, IReadOnlyList <ExtendedAttribute> extendedAttributes) { Name = name; ReturnType = returnType; Arguments = arguments; ExtendedAttributes = extendedAttributes; }
public OptionalData(string name, WebIDLType type, Value defaultValue, IReadOnlyList <ExtendedAttribute> extendedAttributes) { Name = name; Type = type; DefaultValue = defaultValue; ExtendedAttributes = extendedAttributes; }
public OperationData(string name, WebIDLType returnType, OperationQualifiers qualifiers, IReadOnlyList <Argument> arguments, IReadOnlyList <ExtendedAttribute> extendedAttributes) { Name = name; ReturnType = returnType; Qualifiers = qualifiers; Arguments = arguments; ExtendedAttributes = extendedAttributes; }
public static WebIDLType Nullable(WebIDLType underlyingType) { return(new WebIDLType { _nullable = new NullableData(underlyingType) }); }
public static InterfaceMember Attribute(string name, WebIDLType type, AttributeQualifiers qualifiers, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new InterfaceMember { _attribute = new AttributeData(name, type, qualifiers, extendedAttributes.AsReadOnlySafe()) }); }
public static InterfaceMember Operation(string name, WebIDLType returnType, IEnumerable <Argument> arguments, OperationQualifiers qualifiers, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new InterfaceMember { _operation = new OperationData(name, returnType, qualifiers, arguments.AsReadOnlySafe(), extendedAttributes.AsReadOnlySafe()) }); }
public static InterfaceMember Const(string name, WebIDLType type, Value value, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new InterfaceMember { _const = new ConstData(name, type, value, extendedAttributes.AsReadOnlySafe()) }); }
public static DictionaryMember Create(WebIDLType type, string name, Value @default, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new DictionaryMember { Type = type, Name = name, Default = @default, ExtendedAttributes = extendedAttributes.AsReadOnlySafe() }); }
public static Argument Required(string name, WebIDLType type, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new Argument { _required = new RequiredData(name, type, extendedAttributes.AsReadOnlySafe()) }); }
public static Definition Callback(string name, WebIDLType returnType, IEnumerable <Argument> arguments, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new Definition { _callback = new CallbackData(name, returnType, arguments.AsReadOnlySafe(), extendedAttributes.AsReadOnlySafe()) }); }
public static WebIDLType Sequence(WebIDLType elementType) { return(new WebIDLType { _sequence = new SequenceData(elementType) }); }
public static WebIDLType Array(WebIDLType elementType) { return(new WebIDLType { _array = new ArrayData(elementType) }); }
public EllipsisData(string name, WebIDLType type, IReadOnlyList <ExtendedAttribute> extendedAttributes) { Name = name; Type = type; ExtendedAttributes = extendedAttributes; }
public static Argument Ellipsis(string name, WebIDLType type, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new Argument { _ellipsis = new EllipsisData(name, type, extendedAttributes.AsReadOnlySafe()) }); }
public static Argument Optional(string name, WebIDLType type, Value defaultValue, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new Argument { _optional = new OptionalData(name, type, defaultValue, extendedAttributes.AsReadOnlySafe()) }); }
public ArrayData(WebIDLType elementType) { ElementType = elementType; }
public SequenceData(WebIDLType elementType) { ElementType = elementType; }
public TypedefData(string name, WebIDLType referencedType, IReadOnlyList <ExtendedAttribute> typeExtendedAttributes) { Name = name; ReferencedType = referencedType; TypeExtendedAttributes = typeExtendedAttributes; }
public NullableData(WebIDLType underlyingType) { UnderlyingType = underlyingType; }
public static Definition Typedef(string name, WebIDLType referencedType, IEnumerable <ExtendedAttribute> typeExtendedAttributes) { return(new Definition { _typedef = new TypedefData(name, referencedType, typeExtendedAttributes.AsReadOnlySafe()) }); }
public static ExceptionMember Field(string name, WebIDLType type, IEnumerable <ExtendedAttribute> extendedAttributes) { return(new ExceptionMember { _field = new FieldData(name, type, extendedAttributes.AsReadOnlySafe()) }); }