Comparing version 2.0.1 to 2.0.3
@@ -71,2 +71,3 @@ | ||
last_token = tokens.shift(); | ||
if (type === ID) last_token.value = last_token.value.replace(/^_/, ""); | ||
return last_token; | ||
@@ -78,3 +79,2 @@ } | ||
if (!tokens.length) return; | ||
// console.log("tokens.length", tokens.length, tokens[0]); | ||
if (tokens[0].type === "whitespace") { | ||
@@ -132,12 +132,12 @@ var t = tokens.shift(); | ||
var const_value = function () { | ||
if (consume(ID, "true")) return true; | ||
if (consume(ID, "false")) return false; | ||
if (consume(ID, "null")) return null; | ||
if (consume(ID, "Infinity")) return Infinity; | ||
if (consume(ID, "NaN")) return NaN; | ||
if (consume(ID, "true")) return { type: "boolean", value: true }; | ||
if (consume(ID, "false")) return { type: "boolean", value: false }; | ||
if (consume(ID, "null")) return { type: "null" }; | ||
if (consume(ID, "Infinity")) return { type: "Infinity", negative: false }; | ||
if (consume(ID, "NaN")) return { type: "NaN" }; | ||
var ret = consume(FLOAT) || consume(INT); | ||
if (ret) return 1 * ret.value; | ||
if (ret) return { type: "number", value: 1 * ret.value }; | ||
var tok = consume(OTHER, "-"); | ||
if (tok) { | ||
if (consume(ID, "Infinity")) return -Infinity; | ||
if (consume(ID, "Infinity")) return { type: "Infinity", negative: true }; | ||
else tokens.unshift(tok); | ||
@@ -192,3 +192,3 @@ } | ||
type_suffix(ret); | ||
if (ret.nullable && ret.idlType === "any") error("Type any cannot be made nullable"); | ||
if (ret.nullable && !ret.array && ret.idlType === "any") error("Type any cannot be made nullable"); | ||
return ret; | ||
@@ -226,4 +226,4 @@ }; | ||
} | ||
ret.type = type(); | ||
if (!ret.type) return; | ||
ret.idlType = type(); | ||
if (!ret.idlType) return; | ||
if (!ret.optional) { | ||
@@ -311,3 +311,3 @@ all_ws(); | ||
var def = const_value(); | ||
if (typeof def !== "undefined") { | ||
if (def) { | ||
return def; | ||
@@ -317,2 +317,3 @@ } | ||
var str = consume(STR) || error("No value for default"); | ||
str.value = str.value.replace(/^"/, "").replace(/"$/, ""); | ||
return str; | ||
@@ -345,3 +346,3 @@ } | ||
var cnt = const_value(); | ||
if (typeof cnt !== "undefined") ret.value = cnt; | ||
if (cnt) ret.value = cnt; | ||
else error("No value for const"); | ||
@@ -769,3 +770,3 @@ all_ws(); | ||
all_ws(); | ||
ret.extAttrs = extended_attrs(); | ||
ret.typeExtAttrs = extended_attrs(); | ||
all_ws(); | ||
@@ -840,3 +841,2 @@ ret.idlType = type() || error("No type in typedef"); | ||
var tokens = tokenise(str); | ||
// console.log(tokens); | ||
return parse(tokens); | ||
@@ -843,0 +843,0 @@ } |
{ | ||
"name": "webidl2" | ||
, "description": "A WebIDL Parser" | ||
, "version": "2.0.1" | ||
, "version": "2.0.3" | ||
, "author": "Robin Berjon <robin@berjon.com>" | ||
@@ -6,0 +6,0 @@ , "dependencies": { |
659
README.md
Purpose | ||
======= | ||
This is a parser for the [WebIDL](http://dev.w3.org/2006/webapi/WebIDL/) language. If | ||
you don't know what that is, then you probably don't need it. It is meant to be used | ||
both in Node and in the browser (the parser likely works in other JS environments, but | ||
not the test suite). | ||
What of v1? | ||
----------- | ||
There was a previous incarnation of this project. I had written it in the most quick | ||
and dirty manner that was handy because I required it as a dependency in an experiment. | ||
As these things tend to happen, some people started using that, which then had to be | ||
maintained. But since it was not built on solid foundations, it was painful to keep | ||
up to date with the specification, which is a bit of a moving target. | ||
So I started from scratch. Compared to the previous version (which used a parser generator) | ||
this one is about 6x less code (which translates to 4x smaller minified or 2x smaller | ||
minizipped) and 4x faster. The test suite is reasonably complete (95% coverage), much more | ||
than previously. This version is up to date with WebIDL, rather than a couple years' behind. | ||
It also has *far* better error reporting. | ||
The AST you get from parsing is very similar to the one you got in v1, but some adjustments | ||
have been made in order to be more systematic, and to map better to what's actually in the spec | ||
now. If you used v1, you will need to tweak your code but the result ought to be simpler and | ||
you ought to be able to be a fair bit less defensive against irregularities in the way | ||
information is represented. | ||
Installation | ||
============ | ||
Just the usual: | ||
Just the usual. For Node: | ||
npm install webidl2 | ||
In the browser: | ||
<script src='webidl2.js'></script> | ||
Documentation | ||
============= | ||
The API to WebIDL2 is trivial: you parse a string of WebIDL and it returns a syntax tree. | ||
Parsing | ||
------- | ||
In Node, that happens with: | ||
var WebIDL2 = require("webidl2"); | ||
var tree = WebIDL2.parse("string of WebIDL"); | ||
In the browser: | ||
<script src='webidl2.js'></script> | ||
<script> | ||
var tree = WebIDL2.parse("string of WebIDL"); | ||
</script> | ||
Errors | ||
------ | ||
When there is a syntax error in the WebIDL, it throws an exception object with the following | ||
properties: | ||
* `message`: the error message | ||
* `line`: the line at which the error occurred. | ||
* `input`: a short peek at the text at the point where the error happened | ||
* `tokens`: the five tokens at the point of error, as understood by the tokeniser | ||
(this is the same content as `input`, but seen from the tokeniser's point of view) | ||
The exception also has a `toString()` method that hopefully should produce a decent | ||
error message. | ||
AST (Abstract Syntax Tree) | ||
-------------------------- | ||
The `parse()` method returns a tree object representing the parse tree of the IDL. | ||
Comment and white space are not represented in the AST. | ||
The root of this object is always an array of definitions (where definitions are | ||
any of interfaces, exceptions, callbacks, etc. — anything that can occur at the root | ||
of the IDL). | ||
### IDL Type | ||
This structure is used in many other places (operation return types, argument types, etc.). | ||
It captures a WebIDL type with a number of options. Types look like this and are typically | ||
attached to a field called `idlType`: | ||
{ | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
} | ||
Where the fields are as follows: | ||
* `sequence`: Boolean indicating whether this is a sequence or not. | ||
* `nullable`: Boolean indicating whether this is nullable or not. | ||
* `array`: Either `false` to indicate that it is not an array, or a number for the level of | ||
array nesting. | ||
* `union`: Boolean indicating whether this is a union type or not. | ||
* `idlType`: Can be different things depending on context. In most cases, this will just | ||
be a string with the type name. But the reason this field isn't called "typeName" is | ||
because it can take more complex values. If the type is a union, then this contains an | ||
array of the types it unites. If it is a sequence, it contains an IDL type description | ||
for the type in the sequence. | ||
### Interface | ||
Interfaces look like this: | ||
{ | ||
"type": "interface", | ||
"name": "Animal", | ||
"partial": false, | ||
"members": [...], | ||
"inheritance": null, | ||
"extAttrs": [...] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Human", | ||
"partial": false, | ||
"members": [...], | ||
"inheritance": "Animal", | ||
"extAttrs": [...] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "interface". | ||
* `name`: The name of the interface | ||
* `partial`: A boolean indicating whether it's a partial interface. | ||
* `members`: An array of interface members (attributes, operations, etc.). Empty if there are none. | ||
* `inheritance`: A string giving the name of an interface this one inherits from, `null` otherwise. | ||
**NOTE**: In v1 this was an array, but multiple inheritance is no longer supported so this didn't make | ||
sense. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Callback Interfaces | ||
These are captured by the same structure as [Interfaces](#interface) except that | ||
their `type` field is "callback interface". | ||
### Callback | ||
A callback looks like this: | ||
{ | ||
"type": "callback", | ||
"name": "AsyncOperationCallback", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"arguments": [...], | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "callback". | ||
* `name`: The name of the callback. | ||
* `idlType`: An [IDL Type](#idl-type) describing what the callback returns. | ||
* `arguments`: A list of [arguments](#arguments), as in function paramters. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Dictionary | ||
A dictionary looks like this: | ||
{ | ||
"type": "dictionary", | ||
"name": "PaintOptions", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "fillPattern", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"extAttrs": [], | ||
"default": { | ||
"type": "string", | ||
"value": "black" | ||
} | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "dictionary". | ||
* `name`: The dictionary name. | ||
* `partial`: Boolean indicating whether it's a partial dictionary. | ||
* `members`: An array of members (see below). | ||
* `inheritance`: A string indicating which dictionary is being inherited from, `null` otherwise. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
All the members are fields as follows: | ||
* `type`: Always "field". | ||
* `name`: The name of the field. | ||
* `idlType`: An [IDL Type](#idl-type) describing what field's type. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
* `default`: A [default value](#default-and-const-values), absent if there is none. | ||
### Exception | ||
An exception looks like this: | ||
{ | ||
"type": "exception", | ||
"name": "HierarchyRequestError", | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "code", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": "DOMException", | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "exception". | ||
* `name`: The exception name. | ||
* `members`: An array of members (constants or fields, where fields are described below). | ||
* `inheritance`: A string indicating which exception is being inherited from, `null` otherwise. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
Members that aren't [constants](#constants) have the following fields: | ||
* `type`: Always "field". | ||
* `name`: The field's name. | ||
* `idlType`: An [IDL Type](#idl-type) describing what field's type. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Enum | ||
An enum looks like this: | ||
{ | ||
"type": "enum", | ||
"name": "MealType", | ||
"values": [ | ||
"rice", | ||
"noodles", | ||
"other" | ||
], | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "enum". | ||
* `name`: The enum's name. | ||
* `value`: An array of values (strings). | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Typedef | ||
A typedef looks like this: | ||
{ | ||
"type": "typedef", | ||
"typeExtAttrs": [], | ||
"idlType": { | ||
"sequence": true, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
} | ||
}, | ||
"name": "PointSequence", | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "typedef". | ||
* `name`: The typedef's name. | ||
* `idlType`: An [IDL Type](#idl-type) describing what typedef's type. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
* `typeExtAttrs`: A list of [extended attributes](#extended-attributes) that apply to the | ||
type rather than to the typedef as a whole. | ||
### Implements | ||
An implements definition looks like this: | ||
{ | ||
"type": "implements", | ||
"target": "Node", | ||
"implements": "EventTarget", | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "implements". | ||
* `target`: The interface that implements another. | ||
* `implements`: The interface that is being implemented by the target. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Operation Member | ||
An operation looks like this: | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "intersection", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": true, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"name": "ints" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "operation". | ||
* `getter`: True if a getter operation. | ||
* `setter`: True if a setter operation. | ||
* `creator`: True if a creator operation. | ||
* `deleter`: True if a deleter operation. | ||
* `legacycaller`: True if a legacycaller operation. | ||
* `static`: True if a static operation. | ||
* `stringifier`: True if a stringifier operation. | ||
* `idlType`: An [IDL Type](#idl-type) of what the operation returns. If a stringifier, may be absent. | ||
* `name`: The name of the operation. If a stringifier, may be `null`. | ||
* `arguments`: An array of [arguments](#arguments) for the operation. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Attribute Member | ||
An attribute member looks like this: | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "RegExp" | ||
}, | ||
"name": "regexp", | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "attribute". | ||
* `name`: The attribute's name. | ||
* `static`: True if it's a static attribute. | ||
* `stringifier`: True if it's a stringifier attribute. | ||
* `inherit`: True if it's an inherit attribute. | ||
* `readonly`: True if it's a read-only attribute. | ||
* `idlType`: An [IDL Type](#idl-type) for the attribute. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Constant Member | ||
A constant member looks like this: | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "boolean", | ||
"name": "DEBUG", | ||
"value": { | ||
"type": "boolean", | ||
"value": false | ||
}, | ||
"extAttrs": [] | ||
} | ||
The fields are as follows: | ||
* `type`: Always "const". | ||
* `nullable`: Whether its type is nullable. | ||
* `idlType`: The type of the constant (a simple type, the type name). | ||
* `name`: The name of the constant. | ||
* `value`: The constant value as described by [Const Values](#default-and-const-values) | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Serializer Member | ||
Serializers come in many shapes, which are best understood by looking at the | ||
examples below that map the IDL to the produced AST. | ||
// serializer; | ||
{ | ||
"type": "serializer", | ||
"extAttrs": [] | ||
} | ||
// serializer DOMString serialize(); | ||
{ | ||
"type": "serializer", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"operation": { | ||
"name": "serialize", | ||
"arguments": [] | ||
}, | ||
"extAttrs": [] | ||
} | ||
// serializer = { from, to, amount, description }; | ||
{ | ||
"type": "serializer", | ||
"patternMap": true, | ||
"names": [ | ||
"from", | ||
"to", | ||
"amount", | ||
"description" | ||
], | ||
"extAttrs": [] | ||
} | ||
// serializer = number; | ||
{ | ||
"type": "serializer", | ||
"name": "number", | ||
"extAttrs": [] | ||
} | ||
// serializer = [ name, number ]; | ||
{ | ||
"type": "serializer", | ||
"patternList": true, | ||
"names": [ | ||
"name", | ||
"number" | ||
], | ||
"extAttrs": [] | ||
} | ||
The common fields are as follows: | ||
* `type`: Always "serializer". | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
For a simple serializer, that's all there is. If the serializer is an operation, it will | ||
have: | ||
* `idlType`: An [IDL Type](#idl-type) describing what the serializer returns. | ||
* `operation`: An object with the following fields: | ||
* `name`: The name of the operation. | ||
* `arguments`: An array of [arguments](#arguments) for the operation. | ||
If the serializer is a pattern map: | ||
* `patternMap`: Always true. | ||
* `names`: An array of names in the pattern map. | ||
If the serializer is a pattern list: | ||
* `patternList`: Always true. | ||
* `names`: An array of names in the pattern list. | ||
Finally, if the serializer is a named serializer: | ||
* `name`: The serializer's name. | ||
### Iterator Member | ||
Iterator members look like this | ||
{ | ||
"type": "iterator", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Session2" | ||
}, | ||
"iteratorObject": "SessionIterator", | ||
"extAttrs": [] | ||
} | ||
* `type`: Always "iterator". | ||
* `iteratorObject`: The string on the right-hand side; absent if there isn't one. | ||
* the rest: same as on [operations](#operation-member). | ||
### Arguments | ||
The arguments (e.g. for an operation) look like this: | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": true, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"name": "ints" | ||
} | ||
] | ||
The fields are as follows: | ||
* `optional`: True if the argument is optional. | ||
* `variadic`: True if the argument is variadic. | ||
* `idlType`: An [IDL Type](#idl-type) describing the type of the argument. | ||
* `name`: The argument's name. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
### Extended Attributes | ||
Extended attributes are arrays of items that look like this: | ||
"extAttrs": [ | ||
{ | ||
"name": "TreatNullAs", | ||
"arguments": null, | ||
"rhs": { | ||
"type": "identifier", | ||
"value": "EmptyString" | ||
} | ||
} | ||
] | ||
The fields are as follows: | ||
* `name`: The extended attribute's name. | ||
* `arguments`: If the extended attribute takes arguments (e.g. `[Foo()]`) or if | ||
its right-hand side does (e.g. `[NamedConstructor=Name(DOMString blah)]`) they | ||
are listed here. Note that an empty arguments list will produce an empty array, | ||
whereas the lack thereof will yield a `null`. If there is an `rhs` field then | ||
they are the right-hand side's arguments, otherwise they apply to the extended | ||
attribute directly. | ||
* `rhs`: If there is a right-hand side, this will capture its `type` (always | ||
"identifier" in practice, though it may be extended in the future) and its | ||
`value`. | ||
### Default and Const Values | ||
Dictionary fields and operation arguments can take default values, and constants take | ||
values, all of which have the following fields: | ||
* `type`: One of string, number, boolean, null, Infinity, or NaN. | ||
For string, number, and boolean: | ||
* `value`: The value of the given type. | ||
For Infinity: | ||
* `negative`: Boolean indicating whether this is negative Infinity or not. | ||
Testing | ||
@@ -16,13 +636,38 @@ ======= | ||
git submodule init | ||
# or | ||
git submodule update | ||
git pull origin master (in the submodule, once in a while) | ||
Running | ||
------- | ||
The test runs with mocha and expect.js. Normally, running mocha in the root directory | ||
should be enough once you're set up. | ||
Coverage | ||
-------- | ||
Current test coverage, as documented in `coverage.html`, is 95%. You can run your own | ||
coverage analysis with: | ||
jscoverage lib lib-cov | ||
That will create the lib-cov directory with instrumented code; the test suite knows | ||
to use that if needed. You can then run the tests with: | ||
JSCOV=1 mocha --reporter html-cov > coverage.html | ||
Note that I've been getting weirdly overescaped results from the html-cov reporter, | ||
so you might wish to try this instead: | ||
JSCOV=1 mocha --reporter html-cov | sed "s/</</g" | sed "s/>/>/g" | sed "s/"/\"/g" > coverage.html | ||
Browser tests | ||
------------- | ||
In order to test in the browser, get inside `test/web` and run `make-web-tests.js`. This | ||
will generate a `browser-tests.html` file that you can open in a browser. As of this | ||
writing tests pass in the latest Firefox, Chrome, Opera, and Safari. Testing on IE | ||
and older versions will happen progressively. | ||
TODO | ||
==== | ||
* run coverage to see if there's any glaring omission in the tests | ||
* test in browser | ||
* document | ||
* test invalid WebIDL too | ||
* review the test JSONs to for correctness | ||
* add some tests to address coverage limitations | ||
* add a push API for processors that need to process things like comments |
@@ -6,3 +6,3 @@ | ||
var wp = require("../") | ||
var wp = process.env.JSCOV ? require("../lib/webidl2") : require("../lib-cov/webidl2") | ||
, expect = require("expect.js") | ||
@@ -9,0 +9,0 @@ , pth = require("path") |
@@ -1,3 +0,104 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "B", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "g", | ||
"arguments": [], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "g", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "B" | ||
}, | ||
"name": "b" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "g", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [ | ||
{ | ||
"name": "AllowAny", | ||
"arguments": null | ||
} | ||
], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "s" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,32 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "LotteryResults", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": 2, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"name": "numbers", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [ | ||
{ | ||
"name": "Constructor", | ||
"arguments": null | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,54 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "exception", | ||
"name": "InvalidName", | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "reason", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "exception", | ||
"name": "NoSuchPet", | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Person", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"name": "age", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,72 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "callback", | ||
"name": "AsyncOperationCallback", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "status" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "callback interface", | ||
"name": "EventHandler", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "eventOccurred", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "details" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,45 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "NumberQuadrupler", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": true, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "compute", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "x" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,140 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Util", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "boolean", | ||
"name": "DEBUG", | ||
"value": { | ||
"type": "boolean", | ||
"value": false | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "short", | ||
"name": "negative", | ||
"value": { | ||
"type": "number", | ||
"value": -1 | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "octet", | ||
"name": "LF", | ||
"value": { | ||
"type": "number", | ||
"value": 10 | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "unsigned long", | ||
"name": "BIT_MASK", | ||
"value": { | ||
"type": "number", | ||
"value": 64512 | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "float", | ||
"name": "AVOGADRO", | ||
"value": { | ||
"type": "number", | ||
"value": 6.022e+23 | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "unrestricted float", | ||
"name": "sobig", | ||
"value": { | ||
"type": "Infinity", | ||
"negative": false | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "unrestricted double", | ||
"name": "minusonedividedbyzero", | ||
"value": { | ||
"type": "Infinity", | ||
"negative": true | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "short", | ||
"name": "notanumber", | ||
"value": { | ||
"type": "NaN" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "exception", | ||
"name": "Error", | ||
"members": [ | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "short", | ||
"name": "ERR_UNKNOWN", | ||
"value": { | ||
"type": "number", | ||
"value": 0 | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "short", | ||
"name": "ERR_OUT_OF_MEMORY", | ||
"value": { | ||
"type": "number", | ||
"value": 1 | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "field", | ||
"name": "errorCode", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "short" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,98 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Circle", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "r", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "cx", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "cy", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "circumference", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [ | ||
{ | ||
"name": "Constructor", | ||
"arguments": null | ||
}, | ||
{ | ||
"name": "Constructor", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "radius" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,75 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "dictionary", | ||
"name": "PaintOptions", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "fillPattern", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"extAttrs": [], | ||
"default": { | ||
"type": "string", | ||
"value": "black" | ||
} | ||
}, | ||
{ | ||
"type": "field", | ||
"name": "strokePattern", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"extAttrs": [], | ||
"default": { | ||
"type": "null" | ||
} | ||
}, | ||
{ | ||
"type": "field", | ||
"name": "position", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "dictionary", | ||
"name": "WetPaintOptions", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "hydrometry", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": "PaintOptions", | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,86 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "dictionary", | ||
"name": "PaintOptions", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "fillPattern", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"extAttrs": [], | ||
"default": { | ||
"type": "string", | ||
"value": "black" | ||
} | ||
}, | ||
{ | ||
"type": "field", | ||
"name": "strokePattern", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"extAttrs": [], | ||
"default": { | ||
"type": "null" | ||
} | ||
}, | ||
{ | ||
"type": "field", | ||
"name": "position", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "dictionary", | ||
"name": "A", | ||
"partial": true, | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "h", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "field", | ||
"name": "d", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,10 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Documentation", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,10 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Documentation", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,100 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "enum", | ||
"name": "MealType", | ||
"values": [ | ||
"rice", | ||
"noodles", | ||
"other" | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Meal", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "MealType" | ||
}, | ||
"name": "type", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "size", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "initialize", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "MealType" | ||
}, | ||
"name": "type" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "size" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,295 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Dictionary", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "propertyCount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "getProperty", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": true, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "setProperty", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "propertyValue" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Dictionary", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "propertyCount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "getProperty", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "setProperty", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "propertyValue" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": null, | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": true, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": null, | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "propertyValue" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,36 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "exception", | ||
"name": "DOMException", | ||
"members": [ | ||
{ | ||
"type": "field", | ||
"name": "code", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "exception", | ||
"name": "HierarchyRequestError", | ||
"members": [], | ||
"inheritance": "DOMException", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "exception", | ||
"name": "NoModificationAllowedError", | ||
"members": [], | ||
"inheritance": "DOMException", | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,34 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Dahut", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "type", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "exception", | ||
"name": "SomeException", | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,108 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Dictionary", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "propertyCount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": null, | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": true, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": null, | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "propertyName" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "propertyValue" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,207 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "typedef", | ||
"typeExtAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "exception", | ||
"name": "FrameworkException", | ||
"members": [ | ||
{ | ||
"type": "const", | ||
"nullable": false, | ||
"idlType": "long", | ||
"name": "ERR_NOT_FOUND", | ||
"value": { | ||
"type": "number", | ||
"value": 1 | ||
}, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "field", | ||
"name": "code", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "System", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "object" | ||
}, | ||
"name": "createObject", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "interface" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": null, | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "keyName" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "TextField", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "const", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "value", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Foo", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "op", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "object" | ||
}, | ||
"name": "interface" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,102 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Node", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"name": "nodeType", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "EventTarget", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "addEventListener", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "type" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "EventListener" | ||
}, | ||
"name": "listener" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "useCapture" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "implements", | ||
"target": "Node", | ||
"implements": "EventTarget", | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,257 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "OrderedMap", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "size", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "any" | ||
}, | ||
"name": "getByIndex", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "index" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": true, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "setByIndex", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "index" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "any" | ||
}, | ||
"name": "value" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": true, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "removeByIndex", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "index" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "any" | ||
}, | ||
"name": "get", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": true, | ||
"creator": true, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "set", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "any" | ||
}, | ||
"name": "value" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": true, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "remove", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,68 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Animal", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Person", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"name": "age", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": true, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": "Animal", | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,77 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Animal", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Human", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Dog" | ||
}, | ||
"name": "pet", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": "Animal", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Dog", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Human" | ||
}, | ||
"name": "owner", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": "Animal", | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,288 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "SessionManager", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Session" | ||
}, | ||
"name": "getSessionForUser", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "username" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "sessionCount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "iterator", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Session" | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Session", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "username", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "SessionManager2", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Session2" | ||
}, | ||
"name": "getSessionForUser", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "username" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "sessionCount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "iterator", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Session2" | ||
}, | ||
"iteratorObject": "SessionIterator", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Session2", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "username", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "SessionIterator", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "remainingSessions", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "NodeList", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "iterator", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Node" | ||
}, | ||
"iteratorObject": "NodeIterator", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "NodeIterator", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "iterator", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Node" | ||
}, | ||
"iteratorObject": "object", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,41 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "HTMLAudioElement", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": "HTMLMediaElement", | ||
"extAttrs": [ | ||
{ | ||
"name": "NamedConstructor", | ||
"arguments": null, | ||
"rhs": { | ||
"type": "identifier", | ||
"value": "Audio" | ||
} | ||
}, | ||
{ | ||
"name": "NamedConstructor", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "src" | ||
} | ||
], | ||
"rhs": { | ||
"type": "identifier", | ||
"value": "Audio" | ||
} | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,50 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Query", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "any" | ||
}, | ||
"name": "lookupEntry", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "key" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [ | ||
{ | ||
"name": "NoInterfaceObject", | ||
"arguments": null | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,47 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "MyConstants", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "const", | ||
"nullable": true, | ||
"idlType": "boolean", | ||
"name": "ARE_WE_THERE_YET", | ||
"value": { | ||
"type": "boolean", | ||
"value": false | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Node", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "namespaceURI", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,95 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "A", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "B", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "C", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "A" | ||
}, | ||
"name": "x" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "B" | ||
}, | ||
"name": "x" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,88 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "ColorCreator", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "object" | ||
}, | ||
"name": "createColor", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "v1" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "v2" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "v3" | ||
}, | ||
{ | ||
"optional": true, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "alpha", | ||
"default": { | ||
"type": "number", | ||
"value": 3.5 | ||
} | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,296 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "A", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "B", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "C", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "A" | ||
}, | ||
"name": "x" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "B" | ||
}, | ||
"name": "x" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "A", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "a" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [ | ||
{ | ||
"name": "AllowAny", | ||
"arguments": null | ||
} | ||
], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "a" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "b" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": true, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "c" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "f", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"name": "a" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "b" | ||
}, | ||
{ | ||
"optional": true, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "c" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": true, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "d" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,66 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "StringMap2", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "length", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "lookup", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "key" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [ | ||
{ | ||
"name": "OverrideBuiltins", | ||
"arguments": null | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,51 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Foo", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "bar", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Foo", | ||
"partial": true, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "quux", | ||
"extAttrs": [] | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,283 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Primitives", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "truth", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "byte" | ||
}, | ||
"name": "character", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "octet" | ||
}, | ||
"name": "value", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "short" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"name": "positive", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"name": "big", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "bigpositive", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long long" | ||
}, | ||
"name": "bigbig", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long long" | ||
}, | ||
"name": "bigbigpositive", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "real", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "double" | ||
}, | ||
"name": "bigreal", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unrestricted float" | ||
}, | ||
"name": "realwithinfinity", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unrestricted double" | ||
}, | ||
"name": "bigrealwithinfinity", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "string", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "ByteString" | ||
}, | ||
"name": "bytes", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Date" | ||
}, | ||
"name": "date", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "RegExp" | ||
}, | ||
"name": "regexp", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,32 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Node", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"name": "nodeType", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [ | ||
{ | ||
"name": "PrototypeRoot", | ||
"arguments": null | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,52 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Person", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Name" | ||
}, | ||
"name": "name", | ||
"extAttrs": [ | ||
{ | ||
"name": "PutForwards", | ||
"arguments": null, | ||
"rhs": { | ||
"type": "identifier", | ||
"value": "full" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned short" | ||
}, | ||
"name": "age", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,160 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Dimensions", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "width", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "height", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "exception", | ||
"name": "NoPointerDevice", | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Button", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "isMouseOver", | ||
"arguments": [], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "setDimensions", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Dimensions" | ||
}, | ||
"name": "size" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "setDimensions", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "width" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "height" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,52 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Counter", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "value", | ||
"extAttrs": [ | ||
{ | ||
"name": "Replaceable", | ||
"arguments": null | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "increment", | ||
"arguments": [], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,77 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Canvas", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "drawPolygon", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": true, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
} | ||
}, | ||
"name": "coordinates" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": true, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
} | ||
}, | ||
"name": "getInflectionPoints", | ||
"arguments": [], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,566 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Transaction", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Account" | ||
}, | ||
"name": "from", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Account" | ||
}, | ||
"name": "to", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "amount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "description", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"operation": { | ||
"name": "serialize", | ||
"arguments": [] | ||
}, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Transaction2", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Account2" | ||
}, | ||
"name": "from", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Account2" | ||
}, | ||
"name": "to", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "amount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "description", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"patternMap": true, | ||
"names": [ | ||
"from", | ||
"to", | ||
"amount", | ||
"description" | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account2", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"name": "number", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account3", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"patternMap": true, | ||
"names": [ | ||
"attribute" | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account4", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "object" | ||
}, | ||
"name": "getItem", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "index" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"patternMap": true, | ||
"names": [ | ||
"getter" | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account5", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "secondname", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"patternMap": true, | ||
"names": [ | ||
"inherit", | ||
"secondname" | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": "Account", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account6", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "secondname", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"patternMap": true, | ||
"names": [ | ||
"inherit", | ||
"attribute" | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": "Account", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account7", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "number", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"patternList": true, | ||
"names": [ | ||
"name", | ||
"number" | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Account8", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": true, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "object" | ||
}, | ||
"name": "getItem", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "index" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "serializer", | ||
"patternList": true, | ||
"names": [ | ||
"getter" | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,143 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Point", | ||
"partial": false, | ||
"members": [], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Circle", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "cx", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "cy", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "radius", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": true, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"name": "triangulationCount", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": true, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
}, | ||
"name": "triangulate", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Circle" | ||
}, | ||
"name": "c1" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Circle" | ||
}, | ||
"name": "c2" | ||
}, | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Circle" | ||
}, | ||
"name": "c3" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,48 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Student", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "id", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": true, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [ | ||
{ | ||
"name": "Constructor", | ||
"arguments": null | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,84 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Student", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "id", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "familyName", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "givenName", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": null, | ||
"arguments": [], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [ | ||
{ | ||
"name": "Constructor", | ||
"arguments": null | ||
} | ||
] | ||
} | ||
] |
@@ -1,3 +0,51 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "A", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": null, | ||
"arguments": [], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "A", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": true, | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,86 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Dog", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "owner", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "isMemberOfBreed", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [ | ||
{ | ||
"name": "TreatNullAs", | ||
"arguments": null, | ||
"rhs": { | ||
"type": "identifier", | ||
"value": "EmptyString" | ||
} | ||
} | ||
], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "breedName" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,86 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Cat", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "name", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "owner", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "isMemberOfBreed", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [ | ||
{ | ||
"name": "TreatUndefinedAs", | ||
"arguments": null, | ||
"rhs": { | ||
"type": "identifier", | ||
"value": "EmptyString" | ||
} | ||
} | ||
], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
}, | ||
"name": "breedName" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,214 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Point", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "x", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
"name": "y", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "typedef", | ||
"typeExtAttrs": [], | ||
"idlType": { | ||
"sequence": true, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
} | ||
}, | ||
"name": "PointSequence", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Rect", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
}, | ||
"name": "topleft", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
}, | ||
"name": "bottomright", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "Widget", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Rect" | ||
}, | ||
"name": "bounds", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "pointWithinBounds", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Point" | ||
}, | ||
"name": "p" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "boolean" | ||
}, | ||
"name": "allPointsWithinBounds", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "PointSequence" | ||
}, | ||
"name": "ps" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "typedef", | ||
"typeExtAttrs": [ | ||
{ | ||
"name": "Clamp", | ||
"arguments": null | ||
} | ||
], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "octet" | ||
}, | ||
"name": "value", | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,51 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Suffixes", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "test", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": false, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": true, | ||
"nullable": true, | ||
"array": false, | ||
"union": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": true, | ||
"array": 1, | ||
"union": false, | ||
"idlType": "DOMString" | ||
} | ||
}, | ||
"name": "foo" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,79 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "Union", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": true, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "float" | ||
}, | ||
{ | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": true, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Date" | ||
}, | ||
{ | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Event" | ||
} | ||
] | ||
}, | ||
{ | ||
"sequence": false, | ||
"nullable": true, | ||
"array": false, | ||
"union": true, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "Node" | ||
}, | ||
{ | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "DOMString" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"name": "test", | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
@@ -1,3 +0,95 @@ | ||
{ | ||
"isNaN": true | ||
} | ||
[ | ||
{ | ||
"type": "interface", | ||
"name": "IntegerSet", | ||
"partial": false, | ||
"members": [ | ||
{ | ||
"type": "attribute", | ||
"static": false, | ||
"stringifier": false, | ||
"inherit": false, | ||
"readonly": true, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "unsigned long" | ||
}, | ||
"name": "cardinality", | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "union", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": true, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"name": "ints" | ||
} | ||
], | ||
"extAttrs": [] | ||
}, | ||
{ | ||
"type": "operation", | ||
"getter": false, | ||
"setter": false, | ||
"creator": false, | ||
"deleter": false, | ||
"legacycaller": false, | ||
"static": false, | ||
"stringifier": false, | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "void" | ||
}, | ||
"name": "intersection", | ||
"arguments": [ | ||
{ | ||
"optional": false, | ||
"variadic": true, | ||
"extAttrs": [], | ||
"idlType": { | ||
"sequence": false, | ||
"nullable": false, | ||
"array": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"name": "ints" | ||
} | ||
], | ||
"extAttrs": [] | ||
} | ||
], | ||
"inheritance": null, | ||
"extAttrs": [] | ||
} | ||
] |
// NOTES: | ||
// - there is a skip variable below that's used to skip tests from widlproc | ||
// that are known to be faulty. Make sure it's up to date. | ||
// - the files in json actually still need to be reviewed to check that they | ||
// are fully correct interpretations of the IDLs | ||
var wp = require("../") | ||
var wp = process.env.JSCOV ? require("../lib-cov/webidl2") : require("../lib/webidl2") | ||
, expect = require("expect.js") | ||
@@ -17,3 +11,3 @@ , pth = require("path") | ||
var dir = pth.join(__dirname, "widlproc/test/valid/idl") | ||
, skip = {} | ||
, skip = {} // use if we have a broken test | ||
, idls = fs.readdirSync(dir) | ||
@@ -30,16 +24,4 @@ .filter(function (it) { return (/\.widl$/).test(it) && !skip[it]; }) | ||
try { | ||
// the AST contains NaN and +/-Infinity that cannot be serialised to JSON | ||
// the stored JSON ASTs use the same replacement function as is used below | ||
// so we compare based on that | ||
var replacer = function (key, value) { | ||
if (isNaN(value)) return { isNaN: true }; | ||
if (!isFinite(value)) { | ||
if (value < 0) return { isInifinite: true, sign: "-" }; | ||
return { isInifinite: true, sign: "+" }; | ||
} | ||
return value; | ||
} | ||
, parsed = JSON.parse(JSON.stringify(wp.parse(fs.readFileSync(idl, "utf8")), replacer)) | ||
, diff = jdp.diff(JSON.parse(fs.readFileSync(json, "utf8")), | ||
parsed); | ||
var diff = jdp.diff(JSON.parse(fs.readFileSync(json, "utf8")), | ||
wp.parse(fs.readFileSync(idl, "utf8"))); | ||
if (diff && debug) console.log(JSON.stringify(diff, null, 4)); | ||
@@ -46,0 +28,0 @@ expect(diff).to.be(undefined); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
810375
210
6226
673
6