12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259 |
- {
- "!name": "ecmascript",
- "!define": {
- "Error.prototype": "Error.prototype",
- "propertyDescriptor": {
- "enumerable": "bool",
- "configurable": "bool",
- "value": "?",
- "writable": "bool",
- "get": "fn() -> ?",
- "set": "fn(value: ?)"
- },
- "Promise.prototype": {
- "catch": {
- "!type": "fn(onRejected: fn(reason: ?)) -> !this"
- },
- "then": {
- "!type": "fn(onFulfilled: fn(value: ?), onRejected: fn(reason: ?)) -> !custom:Promise_then",
- "!effects": ["call !0 !this.:t"]
- },
- "finally": {
- "!type": "fn(onFinally: fn()) -> !custom:Promise_then"
- }
- },
- "Promise_reject": {
- "!type": "fn(reason: ?) -> !this"
- },
- "iter_prototype": {
- ":Symbol.iterator": "fn() -> !this"
- },
- "iter": {
- "!proto": "iter_prototype",
- "next": {
- "!type": "fn() -> +iter_result[value=!this.:t]"
- }
- },
- "iter_result": {
- "done": "bool",
- "value": "?"
- },
- "generator_prototype": {
- "!proto": "iter_prototype",
- "next": "fn(value?: ?) -> iter_result",
- "return": "fn(value?: ?) -> iter_result",
- "throw": "fn(exception: +Error)"
- },
- "async_iter_prototype": {
- ":Symbol.asyncIterator": "fn() -> !this"
- },
- "async_iter": {
- "!proto": "async_iter_prototype",
- "next": {
- "!type": "fn() -> +Promise[:t=+iter_result[value=!this.:t]]"
- }
- },
- "async_generator_prototype": {
- "!proto": "async_iter_prototype",
- "next": "fn(value?: ?) -> +Promise[:t=iter_result]",
- "return": "fn(value?: ?) -> +Promise[:t=iter_result]",
- "throw": "fn(exception: +Error)"
- },
- "Proxy_handler": {
- "getPrototypeOf": "fn(target: ?)",
- "setPrototypeOf": "fn(target: ?, prototype: ?)",
- "isExtensible": "fn(target: ?)",
- "preventExtensions": "fn(target: ?)",
- "getOwnPropertyDescriptor": "fn(target: ?, property: string) -> propertyDescriptor",
- "defineProperty": "fn(target: ?, property: string, descriptor: propertyDescriptor)",
- "has": "fn(target: ?, property: string)",
- "get": "fn(target: ?, property: string)",
- "set": "fn(target: ?, property: string, value: ?)",
- "deleteProperty": "fn(target: ?, property: string)",
- "enumerate": "fn(target: ?)",
- "ownKeys": "fn(target: ?)",
- "apply": "fn(target: ?, self: ?, arguments: [?])",
- "construct": "fn(target: ?, arguments: [?])"
- },
- "Proxy_revocable": {
- "proxy": "+Proxy",
- "revoke": "fn()"
- },
- "TypedArray": {
- "!type": "fn(size: number)",
- "from": {
- "!type": "fn(arrayLike: ?, mapFn?: fn(elt: ?, i: number) -> number, thisArg?: ?) -> +TypedArray",
- "!effects": ["call !1 this=!2 !0.<i> number"]
- },
- "of": {
- "!type": "fn(elements: number) -> +TypedArray"
- },
- "BYTES_PER_ELEMENT": {
- "!type": "number"
- },
- "name": {
- "!type": "string"
- },
- "prototype": {
- "<i>": "number",
- "buffer": {
- "!type": "+ArrayBuffer"
- },
- "byteLength": {
- "!type": "number"
- },
- "byteOffset": {
- "!type": "number"
- },
- "copyWithin": {
- "!type": "fn(target: number, start: number, end?: number) -> ?"
- },
- "entries": {
- "!type": "fn() -> +iter[:t=number]"
- },
- "every": {
- "!type": "fn(callback: fn(element: number, index: number, array: TypedArray) -> bool, thisArg?: ?) -> bool",
- "!effects": ["call !0 this=!1 number number !this"]
- },
- "fill": {
- "!type": "fn(value: number, start?: number, end?: number)"
- },
- "filter": {
- "!type": "fn(test: fn(element: number, i: number) -> bool, context?: ?) -> !this",
- "!effects": ["call !0 this=!1 number number"]
- },
- "find": {
- "!type": "fn(callback: fn(element: number, index: number, array: +TypedArray) -> bool, thisArg?: ?) -> number",
- "!effects": ["call !0 this=!1 number number !this"]
- },
- "findIndex": {
- "!type": "fn(callback: fn(element: number, index: number, array: +TypedArray) -> bool, thisArg?: ?) -> number",
- "!effects": ["call !0 this=!1 number number !this"]
- },
- "forEach": {
- "!type": "fn(callback: fn(value: number, key: number, array: +TypedArray), thisArg?: ?)",
- "!effects": ["call !0 this=!1 number number !this"]
- },
- "indexOf": {
- "!type": "fn(searchElement: number, fromIndex?: number) -> number"
- },
- "join": {
- "!type": "fn(separator?: string) -> string"
- },
- "keys": {
- "!type": "fn() -> +iter[:t=number]"
- },
- "lastIndexOf": {
- "!type": "fn(searchElement: number, fromIndex?: number) -> number"
- },
- "length": {
- "!type": "number"
- },
- "map": {
- "!type": "fn(f: fn(element: number, i: number) -> number, context?: ?) -> +TypedArray",
- "!effects": ["call !0 this=!1 number number"]
- },
- "reduce": {
- "!type": "fn(combine: fn(sum: ?, elt: number, i: number) -> ?, init?: ?) -> !0.!ret",
- "!effects": ["call !0 !1 number number"]
- },
- "reduceRight": {
- "!type": "fn(combine: fn(sum: ?, elt: number, i: number) -> ?, init?: ?) -> !0.!ret",
- "!effects": ["call !0 !1 number number"]
- },
- "reverse": {
- "!type": "fn()"
- },
- "set": {
- "!type": "fn(array: [number], offset?: number)"
- },
- "slice": {
- "!type": "fn(from: number, to?: number) -> +TypedArray"
- },
- "some": {
- "!type": "fn(test: fn(elt: number, i: number) -> bool, context?: ?) -> bool",
- "!effects": ["call !0 this=!1 number number"]
- },
- "sort": {
- "!type": "fn(compare?: fn(a: number, b: number) -> number)",
- "!effects": ["call !0 number number"]
- },
- "subarray": {
- "!type": "fn(begin?: number, end?: number) -> +TypedArray"
- },
- "values": {
- "!type": "fn() -> +iter[:t=number]"
- },
- ":Symbol.iterator": {
- "!type": "fn() -> +iter[:t=number]"
- }
- }
- }
- },
- "Infinity": {
- "!type": "number"
- },
- "undefined": {
- "!type": "?"
- },
- "NaN": {
- "!type": "number"
- },
- "Object": {
- "!type": "fn()",
- "getPrototypeOf": {
- "!type": "fn(obj: ?) -> ?"
- },
- "create": {
- "!type": "fn(proto: ?) -> !custom:Object_create"
- },
- "defineProperty": {
- "!type": "fn(obj: ?, prop: string, desc: propertyDescriptor) -> !custom:Object_defineProperty"
- },
- "defineProperties": {
- "!type": "fn(obj: ?, props: ?) -> !custom:Object_defineProperties"
- },
- "getOwnPropertyDescriptor": {
- "!type": "fn(obj: ?, prop: string) -> propertyDescriptor"
- },
- "keys": {
- "!type": "fn(obj: ?) -> [string]"
- },
- "getOwnPropertyNames": {
- "!type": "fn(obj: ?) -> [string]"
- },
- "seal": {
- "!type": "fn(obj: ?)"
- },
- "isSealed": {
- "!type": "fn(obj: ?) -> bool"
- },
- "freeze": {
- "!type": "fn(obj: ?) -> !0"
- },
- "isFrozen": {
- "!type": "fn(obj: ?) -> bool"
- },
- "preventExtensions": {
- "!type": "fn(obj: ?)"
- },
- "isExtensible": {
- "!type": "fn(obj: ?) -> bool"
- },
- "assign": {
- "!type": "fn(target: ?, source: ?, source?: ?) -> !0",
- "!effects": ["copy !1 !0", "copy !2 !0", "copy !3 !0"]
- },
- "getOwnPropertySymbols": {
- "!type": "fn(obj: ?) -> !custom:getOwnPropertySymbols"
- },
- "is": {
- "!type": "fn(value1: ?, value2: ?) -> bool"
- },
- "setPrototypeOf": {
- "!type": "fn(obj: ?, prototype: ?)"
- },
- "prototype": {
- "!stdProto": "Object",
- "toString": {
- "!type": "fn() -> string"
- },
- "toLocaleString": {
- "!type": "fn() -> string"
- },
- "valueOf": {
- "!type": "fn() -> number"
- },
- "hasOwnProperty": {
- "!type": "fn(prop: string) -> bool"
- },
- "propertyIsEnumerable": {
- "!type": "fn(prop: string) -> bool"
- },
- "isPrototypeOf": {
- "!type": "fn(obj: ?) -> bool"
- }
- }
- },
- "Function": {
- "!type": "fn(body: string) -> fn()",
- "prototype": {
- "!stdProto": "Function",
- "apply": {
- "!type": "fn(this: ?, args: [?])",
- "!effects": ["call and return !this this=!0 !1.<i> !1.<i> !1.<i>"]
- },
- "call": {
- "!type": "fn(this: ?, args?: ?) -> !this.!ret",
- "!effects": ["call and return !this this=!0 !1 !2 !3 !4"]
- },
- "bind": {
- "!type": "fn(this: ?, args?: ?) -> !custom:Function_bind"
- },
- "prototype": "?"
- }
- },
- "Array": {
- "!type": "fn(size: number) -> !custom:Array_ctor",
- "isArray": {
- "!type": "fn(value: ?) -> bool"
- },
- "from": {
- "!type": "fn(arrayLike: ?, mapFn?: fn(elt: ?, i: number) -> ?, thisArg?: ?) -> [!0.<i>]",
- "!effects": ["call !1 this=!2 !0.<i> number"]
- },
- "of": {
- "!type": "fn(elementN: ?) -> [!0]"
- },
- "prototype": {
- "!stdProto": "Array",
- "length": {
- "!type": "number"
- },
- "concat": {
- "!type": "fn(other: [?]) -> !this"
- },
- "join": {
- "!type": "fn(separator?: string) -> string"
- },
- "splice": {
- "!type": "fn(pos: number, amount: number, newelt?: ?) -> [?]"
- },
- "pop": {
- "!type": "fn() -> !this.<i>"
- },
- "push": {
- "!type": "fn(newelt: ?) -> number",
- "!effects": ["propagate !0 !this.<i>"]
- },
- "shift": {
- "!type": "fn() -> !this.<i>"
- },
- "unshift": {
- "!type": "fn(newelt: ?) -> number",
- "!effects": ["propagate !0 !this.<i>"]
- },
- "slice": {
- "!type": "fn(from?: number, to?: number) -> !this"
- },
- "reverse": {
- "!type": "fn()"
- },
- "sort": {
- "!type": "fn(compare?: fn(a: ?, b: ?) -> number)",
- "!effects": ["call !0 !this.<i> !this.<i>"]
- },
- "indexOf": {
- "!type": "fn(elt: ?, from?: number) -> number"
- },
- "lastIndexOf": {
- "!type": "fn(elt: ?, from?: number) -> number"
- },
- "every": {
- "!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context?: ?) -> bool",
- "!effects": ["call !0 this=!1 !this.<i> number !this"]
- },
- "some": {
- "!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context?: ?) -> bool",
- "!effects": ["call !0 this=!1 !this.<i> number !this"]
- },
- "filter": {
- "!type": "fn(test: fn(elt: ?, i: number, array: +Array) -> bool, context?: ?) -> !this",
- "!effects": ["call !0 this=!1 !this.<i> number !this"]
- },
- "forEach": {
- "!type": "fn(f: fn(elt: ?, i: number, array: +Array), context?: ?)",
- "!effects": ["call !0 this=!1 !this.<i> number !this"]
- },
- "map": {
- "!type": "fn(f: fn(elt: ?, i: number, array: +Array) -> ?, context?: ?) -> [!0.!ret]",
- "!effects": ["call !0 this=!1 !this.<i> number !this"]
- },
- "reduce": {
- "!type": "fn(combine: fn(sum: ?, elt: ?, i: number, array: +Array) -> ?, init?: ?) -> !0.!ret",
- "!effects": ["call !0 !1 !this.<i> number !this"]
- },
- "reduceRight": {
- "!type": "fn(combine: fn(sum: ?, elt: ?, i: number, array: +Array) -> ?, init?: ?) -> !0.!ret",
- "!effects": ["call !0 !1 !this.<i> number !this"]
- },
- "copyWithin": {
- "!type": "fn(target: number, start: number, end?: number) -> !this"
- },
- "entries": {
- "!type": "fn() -> +iter[:t=[number, !this.<i>]]"
- },
- "fill": {
- "!type": "fn(value: ?, start?: number, end?: number) -> !this"
- },
- "find": {
- "!type": "fn(callback: fn(element: ?, index: number, array: [?]) -> bool, thisArg?: ?) -> !this.<i>",
- "!effects": ["call !0 this=!2 !this.<i> number"]
- },
- "findIndex": {
- "!type": "fn(callback: fn(element: ?, index: number, array: [?]), thisArg?: ?) -> number",
- "!effects": ["call !0 this=!2 !this.<i> number"]
- },
- "keys": {
- "!type": "fn() -> +iter[:t=number]"
- },
- "values": {
- "!type": "fn() -> +iter[:t=!this.<i>]"
- },
- ":Symbol.iterator": {
- "!type": "fn() -> +iter[:t=!this.<i>]"
- },
- "includes": {
- "!type": "fn(value: ?, fromIndex?: number) -> bool"
- }
- }
- },
- "String": {
- "!type": "fn(value: ?) -> string",
- "fromCharCode": {
- "!type": "fn(code: number) -> string"
- },
- "fromCodePoint": {
- "!type": "fn(point: number, point?: number) -> string"
- },
- "raw": {
- "!type": "fn(template: [string], substitutions: ?, templateString: ?) -> string"
- },
- "prototype": {
- "!stdProto": "String",
- "length": {
- "!type": "number"
- },
- "<i>": "string",
- "charAt": {
- "!type": "fn(i: number) -> string"
- },
- "charCodeAt": {
- "!type": "fn(i: number) -> number"
- },
- "indexOf": {
- "!type": "fn(char: string, from?: number) -> number"
- },
- "lastIndexOf": {
- "!type": "fn(char: string, from?: number) -> number"
- },
- "substring": {
- "!type": "fn(from: number, to?: number) -> string"
- },
- "substr": {
- "!type": "fn(from: number, length?: number) -> string"
- },
- "slice": {
- "!type": "fn(from: number, to?: number) -> string"
- },
- "padStart": {
- "!type": "fn(targetLength: number, padString?: string) -> string"
- },
- "padEnd": {
- "!type": "fn(targetLength: number, padString?: string) -> string"
- },
- "trim": {
- "!type": "fn() -> string"
- },
- "trimStart": {
- "!type": "fn() -> string"
- },
- "trimLeft": "String.prototype.trimStart",
- "trimEnd": {
- "!type": "fn() -> string"
- },
- "trimRight": "String.prototype.trimEnd",
- "toUpperCase": {
- "!type": "fn() -> string"
- },
- "toLowerCase": {
- "!type": "fn() -> string"
- },
- "toLocaleUpperCase": {
- "!type": "fn() -> string"
- },
- "toLocaleLowerCase": {
- "!type": "fn() -> string"
- },
- "split": {
- "!type": "fn(pattern?: string|+RegExp, limit?: number) -> [string]"
- },
- "concat": {
- "!type": "fn(other: string) -> string"
- },
- "localeCompare": {
- "!type": "fn(other: string) -> number"
- },
- "match": {
- "!type": "fn(pattern: +RegExp) -> [string]"
- },
- "replace": {
- "!type": "fn(pattern: string|+RegExp, replacement: string) -> string"
- },
- "search": {
- "!type": "fn(pattern: +RegExp) -> number"
- },
- "codePointAt": {
- "!type": "fn(pos: number) -> number"
- },
- "endsWith": {
- "!type": "fn(searchString: string, position?: number) -> bool"
- },
- "includes": {
- "!type": "fn(searchString: string, position?: number) -> bool"
- },
- "normalize": {
- "!type": "fn(form: string) -> string"
- },
- "repeat": {
- "!type": "fn(count: number) -> string"
- },
- "startsWith": {
- "!type": "fn(searchString: string, position?: number) -> bool"
- },
- ":Symbol.iterator": {
- "!type": "fn() -> +iter[:t=string]"
- }
- }
- },
- "Number": {
- "!type": "fn(value: ?) -> number",
- "MAX_VALUE": {
- "!type": "number"
- },
- "MIN_VALUE": {
- "!type": "number"
- },
- "POSITIVE_INFINITY": {
- "!type": "number"
- },
- "NEGATIVE_INFINITY": {
- "!type": "number"
- },
- "prototype": {
- "!stdProto": "Number",
- "toString": {
- "!type": "fn(radix?: number) -> string"
- },
- "toFixed": {
- "!type": "fn(digits: number) -> string"
- },
- "toExponential": {
- "!type": "fn(digits: number) -> string"
- },
- "toPrecision": {
- "!type": "fn(digits: number) -> string"
- }
- },
- "EPSILON": {
- "!type": "number"
- },
- "MAX_SAFE_INTEGER": {
- "!type": "number"
- },
- "MIN_SAFE_INTEGER": {
- "!type": "number"
- },
- "isFinite": {
- "!type": "fn(testValue: ?) -> bool"
- },
- "isInteger": {
- "!type": "fn(testValue: ?) -> bool"
- },
- "isNaN": {
- "!type": "fn(testValue: ?) -> bool"
- },
- "isSafeInteger": {
- "!type": "fn(testValue: ?) -> bool"
- },
- "parseFloat": {
- "!type": "fn(string: string) -> number"
- },
- "parseInt": {
- "!type": "fn(string: string, radix?: number) -> number"
- }
- },
- "Boolean": {
- "!type": "fn(value: ?) -> bool",
- "prototype": {
- "!stdProto": "Boolean"
- }
- },
- "RegExp": {
- "!type": "fn(source: string, flags?: string)",
- "prototype": {
- "!stdProto": "RegExp",
- "exec": {
- "!type": "fn(input: string) -> [string]"
- },
- "test": {
- "!type": "fn(input: string) -> bool"
- },
- "global": {
- "!type": "bool"
- },
- "ignoreCase": {
- "!type": "bool"
- },
- "multiline": {
- "!type": "bool"
- },
- "source": {
- "!type": "string"
- },
- "lastIndex": {
- "!type": "number"
- },
- "flags": {
- "!type": "string"
- },
- "sticky": {
- "!type": "bool"
- },
- "unicode": {
- "!type": "bool"
- }
- }
- },
- "Date": {
- "!type": "fn(ms: number)",
- "parse": {
- "!type": "fn(source: string) -> +Date"
- },
- "UTC": {
- "!type": "fn(year: number, month: number, date: number, hour?: number, min?: number, sec?: number, ms?: number) -> number"
- },
- "now": {
- "!type": "fn() -> number"
- },
- "prototype": {
- "toUTCString": {
- "!type": "fn() -> string"
- },
- "toISOString": {
- "!type": "fn() -> string"
- },
- "toDateString": {
- "!type": "fn() -> string"
- },
- "toGMTString": {
- "!type": "fn() -> string"
- },
- "toTimeString": {
- "!type": "fn() -> string"
- },
- "toLocaleDateString": {
- "!type": "fn() -> string"
- },
- "toLocaleFormat": {
- "!type": "fn(formatString: string) -> string"
- },
- "toLocaleString": {
- "!type": "fn(locales?: string, options?: ?) -> string"
- },
- "toLocaleTimeString": {
- "!type": "fn() -> string"
- },
- "toSource": {
- "!type": "fn() -> string"
- },
- "toString": {
- "!type": "fn() -> string"
- },
- "valueOf": {
- "!type": "fn() -> number"
- },
- "getTime": {
- "!type": "fn() -> number"
- },
- "getFullYear": {
- "!type": "fn() -> number"
- },
- "getYear": {
- "!type": "fn() -> number"
- },
- "getMonth": {
- "!type": "fn() -> number"
- },
- "getUTCMonth": {
- "!type": "fn() -> number"
- },
- "getDate": {
- "!type": "fn() -> number"
- },
- "getUTCDate": {
- "!type": "fn() -> number"
- },
- "getDay": {
- "!type": "fn() -> number"
- },
- "getUTCDay": {
- "!type": "fn() -> number"
- },
- "getUTCFullYear": {
- "!type": "fn() -> number"
- },
- "getHours": {
- "!type": "fn() -> number"
- },
- "getUTCHours": {
- "!type": "fn() -> number"
- },
- "getMinutes": {
- "!type": "fn() -> number"
- },
- "getUTCMinutes": {
- "!type": "fn() -> number"
- },
- "getSeconds": {
- "!type": "fn() -> number"
- },
- "getUTCSeconds": {
- "!type": "fn() -> number"
- },
- "getMilliseconds": {
- "!type": "fn() -> number"
- },
- "getUTCMilliseconds": {
- "!type": "fn() -> number"
- },
- "getTimezoneOffset": {
- "!type": "fn() -> number"
- },
- "setTime": {
- "!type": "fn(date: +Date) -> number"
- },
- "setFullYear": {
- "!type": "fn(year: number) -> number"
- },
- "setUTCFullYear": {
- "!type": "fn(year: number) -> number"
- },
- "setYear": {
- "!type": "fn(yearValue: number) -> number"
- },
- "setMonth": {
- "!type": "fn(month: number) -> number"
- },
- "setUTCMonth": {
- "!type": "fn(month: number) -> number"
- },
- "setDate": {
- "!type": "fn(day: number) -> number"
- },
- "setUTCDate": {
- "!type": "fn(day: number) -> number"
- },
- "setHours": {
- "!type": "fn(hour: number) -> number"
- },
- "setUTCHours": {
- "!type": "fn(hour: number) -> number"
- },
- "setMinutes": {
- "!type": "fn(min: number) -> number"
- },
- "setUTCMinutes": {
- "!type": "fn(min: number) -> number"
- },
- "setSeconds": {
- "!type": "fn(sec: number) -> number"
- },
- "setUTCSeconds": {
- "!type": "fn(sec: number) -> number"
- },
- "setMilliseconds": {
- "!type": "fn(ms: number) -> number"
- },
- "setUTCMilliseconds": {
- "!type": "fn(ms: number) -> number"
- },
- "toJSON": {
- "!type": "fn() -> string"
- }
- },
- "nested_overflow": "nested environment variables are limited to 10 levels"
- },
- "error": {
- "!type": "fn(message: string)",
- "prototype": {
- "name": {
- "!type": "string"
- },
- "message": {
- "!type": "string"
- }
- }
- },
- "SyntaxError": {
- "!type": "fn(message: string)",
- "prototype": "Error.prototype"
- },
- "ReferenceError": {
- "!type": "fn(message: string)",
- "prototype": "Error.prototype"
- },
- "URIError": {
- "!type": "fn(message: string)",
- "prototype": "Error.prototype"
- },
- "EvalError": {
- "!type": "fn(message: string)",
- "prototype": "Error.prototype"
- },
- "RangeError": {
- "!type": "fn(message: string)",
- "prototype": "Error.prototype"
- },
- "TypeError": {
- "!type": "fn(message: string)",
- "prototype": "Error.prototype"
- },
- "parseInt": {
- "!type": "fn(string: string, radix?: number) -> number"
- },
- "parseFloat": {
- "!type": "fn(string: string) -> number"
- },
- "isNaN": {
- "!type": "fn(value: number) -> bool"
- },
- "isFinite": {
- "!type": "fn(value: number) -> bool"
- },
- "eval": {
- "!type": "fn(code: string) -> ?"
- },
- "encodeURI": {
- "!type": "fn(uri: string) -> string"
- },
- "encodeURIComponent": {
- "!type": "fn(uri: string) -> string"
- },
- "decodeURI": {
- "!type": "fn(uri: string) -> string"
- },
- "decodeURIComponent": {
- "!type": "fn(uri: string) -> string"
- },
- "Math": {
- "E": {
- "!type": "number"
- },
- "LN2": {
- "!type": "number"
- },
- "LN10": {
- "!type": "number"
- },
- "LOG2E": {
- "!type": "number"
- },
- "LOG10E": {
- "!type": "number"
- },
- "SQRT1_2": {
- "!type": "number"
- },
- "SQRT2": {
- "!type": "number"
- },
- "PI": {
- "!type": "number"
- },
- "abs": {
- "!type": "fn(number) -> number"
- },
- "cos": {
- "!type": "fn(number) -> number"
- },
- "sin": {
- "!type": "fn(number) -> number"
- },
- "tan": {
- "!type": "fn(number) -> number"
- },
- "acos": {
- "!type": "fn(number) -> number"
- },
- "asin": {
- "!type": "fn(number) -> number"
- },
- "atan": {
- "!type": "fn(number) -> number"
- },
- "atan2": {
- "!type": "fn(y: number, x: number) -> number"
- },
- "ceil": {
- "!type": "fn(number) -> number"
- },
- "floor": {
- "!type": "fn(number) -> number"
- },
- "round": {
- "!type": "fn(number) -> number"
- },
- "exp": {
- "!type": "fn(number) -> number"
- },
- "log": {
- "!type": "fn(number) -> number"
- },
- "sqrt": {
- "!type": "fn(number) -> number"
- },
- "pow": {
- "!type": "fn(number, number) -> number"
- },
- "max": {
- "!type": "fn(number, number) -> number"
- },
- "min": {
- "!type": "fn(number, number) -> number"
- },
- "random": {
- "!type": "fn() -> number"
- },
- "acosh": {
- "!type": "fn(x: number) -> number"
- },
- "asinh": {
- "!type": "fn(x: number) -> number"
- },
- "atanh": {
- "!type": "fn(x: number) -> number"
- },
- "cbrt": {
- "!type": "fn(x: number) -> number"
- },
- "clz32": {
- "!type": "fn(x: number) -> number"
- },
- "cosh": {
- "!type": "fn(x: number) -> number"
- },
- "expm1": {
- "!type": "fn(x: number) -> number"
- },
- "fround": {
- "!type": "fn(x: number) -> number"
- },
- "hypot": {
- "!type": "fn(value: number) -> number"
- },
- "imul": {
- "!type": "fn(a: number, b: number) -> number"
- },
- "log10": {
- "!type": "fn(x: number) -> number"
- },
- "log1p": {
- "!type": "fn(x: number) -> number"
- },
- "log2": {
- "!type": "fn(x: number) -> number"
- },
- "sign": {
- "!type": "fn(x: number) -> number"
- },
- "sinh": {
- "!type": "fn(x: number) -> number"
- },
- "tanh": {
- "!type": "fn(x: number) -> number"
- },
- "trunc": {
- "!type": "fn(x: number) -> number"
- }
- },
- "JSON": {
- "parse": {
- "!type": "fn(json: string, reviver?: fn(key: string, value: ?) -> ?) -> ?"
- },
- "stringify": {
- "!type": "fn(value: ?, replacer?: fn(key: string, value: ?) -> ?, space?: string|number) -> string"
- }
- },
- "ArrayBuffer": {
- "!type": "fn(length: number)",
- "isView": {
- "!type": "fn(arg: +ArrayBuffer) -> bool"
- },
- "prototype": {
- "byteLength": {
- "!type": "number"
- },
- "slice": {
- "!type": "fn(begin: number, end?: number) -> +ArrayBuffer"
- }
- }
- },
- "DataView": {
- "!type": "fn(buffer: +ArrayBuffer, byteOffset?: number, byteLength?: number)",
- "prototype": {
- "buffer": {
- "!type": "+ArrayBuffer"
- },
- "byteLength": {
- "!type": "number"
- },
- "byteOffset": {
- "!type": "number"
- },
- "getFloat32": {
- "!type": "fn(byteOffset: number, littleEndian?: bool) -> number"
- },
- "getFloat64": {
- "!type": "fn(byteOffset: number, littleEndian?: bool) -> number"
- },
- "getInt16": {
- "!type": "fn(byteOffset: number, littleEndian?: bool) -> number"
- },
- "getInt32": {
- "!type": "fn(byteOffset: number, littleEndian?: bool) -> number"
- },
- "getInt8": {
- "!type": "fn(byteOffset: number, littleEndian?: bool) -> number"
- },
- "getUint16": {
- "!type": "fn(byteOffset: number, littleEndian?: bool) -> number"
- },
- "getUint32": {
- "!type": "fn(byteOffset: number, littleEndian?: bool) -> number"
- },
- "getUint8": {
- "!type": "fn(byteOffset: number) -> number"
- },
- "setFloat32": {
- "!type": "fn(byteOffset: number, value: number, littleEndian?: bool)"
- },
- "setFloat64": {
- "!type": "fn(byteOffset: number, value: number, littleEndian?: bool)"
- },
- "setInt16": {
- "!type": "fn(byteOffset: number, value: number, littleEndian?: bool)"
- },
- "setInt32": {
- "!type": "fn(byteOffset: number, value: number, littleEndian?: bool)"
- },
- "setInt8": {
- "!type": "fn(byteOffset: number, value: number)"
- },
- "setUint16": {
- "!type": "fn(byteOffset: number, value: number, littleEndian?: bool)"
- },
- "setUint32": {
- "!type": "fn(byteOffset: number, value: number, littleEndian?: bool)"
- },
- "setUint8": {
- "!type": "fn(byteOffset: number, value: number)"
- }
- }
- },
- "Float32Array": "TypedArray",
- "Float64Array": "TypedArray",
- "Int16Array": "TypedArray",
- "Int32Array": "TypedArray",
- "Int8Array": "TypedArray",
- "Map": {
- "!type": "fn(iterable?: [?])",
- "prototype": {
- "clear": {
- "!type": "fn()"
- },
- "delete": {
- "!type": "fn(key: ?)"
- },
- "entries": {
- "!type": "fn() -> +iter[:t=[!this.:key, !this.:value]]"
- },
- "forEach": {
- "!type": "fn(callback: fn(value: ?, key: ?, map: +Map), thisArg?: ?)",
- "!effects": ["call !0 this=!1 !this.:value !this.:key !this"]
- },
- "get": {
- "!type": "fn(key: ?) -> !this.:value"
- },
- "has": {
- "!type": "fn(key: ?) -> bool"
- },
- "keys": {
- "!type": "fn() -> +iter[:t=!this.:key]"
- },
- "set": {
- "!type": "fn(key: ?, value: ?) -> !this",
- "!effects": ["propagate !0 !this.:key", "propagate !1 !this.:value"]
- },
- "size": {
- "!type": "number"
- },
- "values": {
- "!type": "fn() -> +iter[:t=!this.:value]"
- },
- ":Symbol.iterator": {
- "!type": "fn() -> +iter[:t=[!this.:key, !this.:value]]"
- }
- }
- },
- "Promise": {
- "!type": "fn(executor: fn(resolve: fn(value: ?), reject: fn(reason: ?))) -> !custom:Promise_ctor",
- "all": {
- "!type": "fn(iterable: [+Promise]) -> +Promise[:t=[!0.<i>.:t]]"
- },
- "race": {
- "!type": "fn(iterable: [+Promise]) -> !0.<i>"
- },
- "reject": "Promise_reject",
- "resolve": {
- "!type": "fn(value: ?) -> !custom:Promise_resolve"
- },
- "prototype": "Promise.prototype"
- },
- "Proxy": {
- "!type": "fn(target: ?, handler: Proxy_handler)",
- "revocable": {
- "!type": "fn(target: ?, handler: Proxy_handler) -> Proxy_revocable"
- }
- },
- "Reflect": {
- "apply": {
- "!type": "fn(target: fn(), thisArg?: ?, argumentList?: [?]) -> !0.!ret"
- },
- "construct": {
- "!type": "fn(target: fn(), argumentList?: [?]) -> ?"
- },
- "defineProperty": {
- "!type": "fn(target: ?, property: string, descriptor: propertyDescriptor) -> bool"
- },
- "deleteProperty": {
- "!type": "fn(target: ?, property: string) -> bool"
- },
- "enumerate": {
- "!type": "fn(target: ?) -> +iter[:t=string]"
- },
- "get": {
- "!type": "fn(target: ?, property: string) -> ?"
- },
- "getOwnPropertyDescriptor": {
- "!type": "fn(target: ?, property: string) -> ?"
- },
- "getPrototypeOf": {
- "!type": "fn(target: ?) -> ?"
- },
- "has": {
- "!type": "fn(target: ?, property: string) -> bool"
- },
- "isExtensible": {
- "!type": "fn(target: ?) -> bool"
- },
- "ownKeys": {
- "!type": "fn(target: ?) -> [string]"
- },
- "preventExtensions": {
- "!type": "fn(target: ?) -> bool"
- },
- "set": {
- "!type": "fn(target: ?, property: string, value: ?) -> bool"
- },
- "setPrototypeOf": {
- "!type": "fn(target: ?, prototype: ?) -> bool"
- }
- },
- "Set": {
- "!type": "fn(iterable?: [?])",
- "prototype": {
- "add": {
- "!type": "fn(value: ?) -> !this",
- "!effects": ["propagate !0 !this.:t"]
- },
- "clear": {
- "!type": "fn()"
- },
- "delete": {
- "!type": "fn(value: ?) -> bool"
- },
- "entries": {
- "!type": "fn() -> +iter[:t=[!this.:t]]"
- },
- "forEach": {
- "!type": "fn(callback: fn(value: ?, value2: ?, set: +Set), thisArg?: ?)",
- "!effects": ["call !0 this=!1 !this.:t number !this"]
- },
- "has": {
- "!type": "fn(value: ?) -> bool"
- },
- "keys": {
- "!type": "fn() -> +iter[:t=!this.:t]"
- },
- "size": {
- "!type": "number"
- },
- "values": {
- "!type": "fn() -> +iter[:t=!this.:t]"
- },
- ":Symbol.iterator": {
- "!type": "fn() -> +iter[:t=!this.:t]"
- }
- }
- },
- "Symbol": {
- "!type": "fn(description?: string) -> !custom:getSymbol",
- "for": {
- "!type": "fn(key: string) -> !custom:getSymbol"
- },
- "keyFor": {
- "!type": "fn(sym: +Symbol) -> string"
- },
- "hasInstance": ":Symbol.hasInstance",
- "isConcatSpreadable": ":Symbol.isConcatSpreadable",
- "iterator": ":Symbol.iterator",
- "asyncIterator": ":Symbol.asyncIterator",
- "match": ":Symbol.match",
- "replace": ":Symbol.replace",
- "search": ":Symbol.search",
- "species": ":Symbol.species",
- "split": ":Symbol.split",
- "toStringTag": ":Symbol.toStringTag",
- "unscopables": ":Symbol.unscopables",
- "prototype": {
- "!stdProto": "Symbol"
- }
- },
- "Uint16Array": "TypedArray",
- "Uint32Array": "TypedArray",
- "Uint8Array": "TypedArray",
- "Uint8ClampedArray": "TypedArray",
- "WeakMap": {
- "!type": "fn(iterable?: [?])",
- "prototype": {
- "delete": {
- "!type": "fn(key: ?) -> bool"
- },
- "get": {
- "!type": "fn(key: ?) -> !this.:value"
- },
- "has": {
- "!type": "fn(key: ?) -> bool"
- },
- "set": {
- "!type": "fn(key: ?, value: ?)",
- "!effects": ["propagate !0 !this.:key", "propagate !1 !this.:value"]
- }
- }
- },
- "WeakSet": {
- "!type": "fn(iterable?: [?])",
- "prototype": {
- "add": {
- "!type": "fn(value: ?)"
- },
- "delete": {
- "!type": "fn(value: ?) -> bool"
- },
- "has": {
- "!type": "fn(value: ?) -> bool"
- }
- }
- }
- }
|