SYMBOL INDEX (4663 symbols across 373 files) FILE: cli/ts2wasm.ts type HelpMessageCategory (line 21) | interface HelpMessageCategory { function isRegularFile (line 29) | function isRegularFile(filePath: string) { function validateFilePath (line 37) | function validateFilePath(filePath: string) { function parseOptions (line 44) | function parseOptions() { function showVersion (line 53) | function showVersion() { function showHelp (line 64) | function showHelp(helpConfig: any) { function writeFile (line 146) | function writeFile(filename: string, contents: any, baseDir = '.') { function getAbsolutePath (line 160) | function getAbsolutePath(filename: string, baseDir = '') { function validateByWAMR (line 170) | function validateByWAMR(cmdArgs: string[]) { function createBackend (line 181) | function createBackend(args: any, parserCtx: ParserContext): Ts2wasmBack... function readCfgFromCli (line 186) | function readCfgFromCli(args: minimist.ParsedArgs) { function main (line 197) | function main() { FILE: config/config_mgr.ts type ConfigMgr (line 6) | interface ConfigMgr { function setConfig (line 30) | function setConfig(config: Partial): void { function getConfig (line 34) | function getConfig(): ConfigMgr { FILE: example/app-framework/app/connection.ts function timer1_update (line 14) | function timer1_update(my_timer: timer.user_timer) { function on_init (line 20) | function on_init(): void { function on_destroy (line 71) | function on_destroy(): void { FILE: example/app-framework/app/request_handler.ts function on_init (line 9) | function on_init(): void { function on_destroy (line 26) | function on_destroy(): void { FILE: example/app-framework/app/request_sender.ts function on_init (line 9) | function on_init(): void { function on_destroy (line 27) | function on_destroy(): void { FILE: example/app-framework/app/timer.ts function on_init (line 10) | function on_init(): void { function on_destroy (line 24) | function on_destroy(): void { FILE: example/app-framework/lib/attr_container.ts constant ATTR_TYPE_BEGIN (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_BYTE (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_INT8 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_SHORT (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_INT16 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_INT (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_INT32 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_INT64 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_UINT8 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_UINT16 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_UINT32 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_UINT64 (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_FLOAT (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_DOUBLE (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_BOOLEAN (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_STRING (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_BYTEARRAY (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_TYPE_END (line 8) | const ATTR_TYPE_BEGIN = 0, constant ATTR_CONT_READONLY_SHIFT (line 35) | const ATTR_CONT_READONLY_SHIFT = 2; function attr_container_create (line 38) | function attr_container_create(tag: string) { function attr_container_get_serialize_length (line 59) | function attr_container_get_serialize_length(args: ArrayBuffer): i32 { function attr_container_set_string (line 65) | function attr_container_set_string( function attr_container_set_uint16 (line 80) | function attr_container_set_uint16( function check_set_attr (line 97) | function check_set_attr(p_attr_cont: ArrayBuffer, key: string) { function attr_container_get_attr_begin (line 111) | function attr_container_get_attr_begin(attr_cont: ArrayBuffer) { function attr_container_get_attr_total_length (line 129) | function attr_container_get_attr_total_length(attr_cont: ArrayBuffer) { function attr_container_get_attr_num (line 136) | function attr_container_get_attr_num(attr_cont: ArrayBuffer) { function attr_container_get_msg_end (line 153) | function attr_container_get_msg_end(attr_cont: ArrayBuffer) { function attr_container_get_attr_next (line 159) | function attr_container_get_attr_next( function attr_container_get_attr_end (line 185) | function attr_container_get_attr_end(attr_cont: ArrayBuffer) { function attr_container_find_attr (line 199) | function attr_container_find_attr(attr_cont: ArrayBuffer, key: string) { function attr_container_inc_attr_num (line 225) | function attr_container_inc_attr_num(attr_cont: ArrayBuffer) { function attr_container_set_attr (line 239) | function attr_container_set_attr( FILE: example/app-framework/lib/connection.ts constant CONN_EVENT_TYPE_DATA (line 32) | const /* Data is received */ constant CONN_EVENT_TYPE_DISCONNECT (line 32) | const /* Data is received */ type on_connection_event_f (line 37) | type on_connection_event_f = ( class wamr_connection (line 44) | class wamr_connection { method constructor (line 48) | constructor(handle: i32, on_event: on_connection_event_f) { function open_connection (line 56) | function open_connection( function close_connection (line 71) | function close_connection(c: wamr_connection) { function send_on_connection (line 81) | function send_on_connection( function config_connection (line 90) | function config_connection(conn: wamr_connection, cfg: ArrayBuffer) { function on_connection_data (line 97) | function on_connection_data(handle: i32, buffer: ArrayBuffer, len: i32) { FILE: example/app-framework/lib/request.ts constant COAP_GET (line 21) | const COAP_GET = 1; constant COAP_POST (line 22) | const COAP_POST = 2; constant COAP_PUT (line 23) | const COAP_PUT = 3; constant COAP_DELETE (line 24) | const COAP_DELETE = 4; constant COAP_EVENT (line 25) | const COAP_EVENT = COAP_DELETE + 2; type CoAP_Status (line 28) | enum CoAP_Status { constant REQUEST_PACKET_FIX_PART_LEN (line 67) | const REQUEST_PACKET_FIX_PART_LEN = 18; constant RESPONSE_PACKET_FIX_PART_LEN (line 68) | const RESPONSE_PACKET_FIX_PART_LEN = 16; constant TRANSACTION_TIMEOUT_MS (line 69) | const TRANSACTION_TIMEOUT_MS = 5000; class wamr_request (line 75) | class wamr_request { method constructor (line 85) | constructor( class wamr_response (line 102) | class wamr_response { method constructor (line 111) | constructor( method set_status (line 125) | set_status(status: i32): void { method set_payload (line 129) | set_payload(payload: ArrayBuffer, payload_len: i32): void { method set_response (line 134) | set_response( class wamr_resource (line 147) | class wamr_resource { method constructor (line 152) | constructor(url: string, type: number, cb: request_handler_f) { function is_expire (line 159) | function is_expire( function not_expire (line 174) | function not_expire( function transaction_timeout_handler (line 189) | function transaction_timeout_handler(my_timer: timer.user_timer): void { function transaction_find (line 215) | function transaction_find(mid: number): wamr_transaction | null { function transaction_add (line 222) | function transaction_add(trans: wamr_transaction): void { function transaction_remove (line 233) | function transaction_remove(trans: wamr_transaction): void { class wamr_transaction (line 238) | class wamr_transaction { method constructor (line 243) | constructor( function pack_request (line 254) | function pack_request(req: wamr_request): DataView { function unpack_request (line 283) | function unpack_request(packet: ArrayBuffer, size: i32): wamr_request { function pack_response (line 325) | function pack_response(resp: wamr_response): DataView { function unpack_response (line 348) | function unpack_response(packet: ArrayBuffer, size: i32): wamr_response { function do_request (line 373) | function do_request( function do_response (line 385) | function do_response(resp: wamr_response): void { type request_handler_f (line 392) | type request_handler_f = (req: wamr_request) => void; function register_url_handler (line 394) | function register_url_handler( function is_event_type (line 414) | function is_event_type(req: wamr_request): boolean { function check_url_start (line 418) | function check_url_start(url: string, leading_str: string): boolean { function post (line 423) | function post( function get (line 443) | function get( function put (line 461) | function put( function del (line 474) | function del( function make_response_for_request (line 492) | function make_response_for_request(req: wamr_request): wamr_response { function api_response_send (line 505) | function api_response_send(resp: wamr_response): void { function register_resource_handler (line 509) | function register_resource_handler( function publish_event (line 516) | function publish_event( function subscribe_event (line 537) | function subscribe_event(url: string, cb: request_handler_f): void { function on_request (line 543) | function on_request(buffer: ArrayBuffer, size: i32): void { function on_response (line 565) | function on_response(buffer: ArrayBuffer, size: i32): void { FILE: example/app-framework/lib/timer.ts class user_timer (line 18) | class user_timer { method constructor (line 24) | constructor( function timer_create (line 36) | function timer_create(a: i32, b: boolean, c: boolean): i32 { function setTimeout (line 40) | function setTimeout( function setInterval (line 50) | function setInterval( function timer_cancel (line 60) | function timer_cancel(timer: user_timer): void { function timer_restart (line 71) | function timer_restart(timer: user_timer, interval: number): void { function now (line 75) | function now(): i32 { function on_timer_callback (line 80) | function on_timer_callback(on_timer_id: i32): void { FILE: example/app-framework/lib/utils.ts type i32 (line 6) | type i32 = number; function arraybuffer_to_string (line 8) | function arraybuffer_to_string( function string_to_arraybuffer (line 20) | function string_to_arraybuffer(url: string) { FILE: example/app-framework/src/iwasm_main.c type sockaddr_in (line 97) | struct sockaddr_in function host_init (line 147) | static bool function host_send (line 153) | int function host_destroy (line 173) | void type sockaddr_in (line 199) | struct sockaddr_in type sigaction (line 202) | struct sigaction type sockaddr (line 225) | struct sockaddr type sockaddr (line 236) | struct sockaddr function parse_baudrate (line 276) | static int function uart_init (line 320) | static bool function uart_send (line 380) | static int function uart_destroy (line 390) | static void function attr_container_t (line 405) | static attr_container_t * function config_test_sensor (line 421) | static bool function showUsage (line 430) | static void function parse_args (line 454) | static bool FILE: example/app-framework/src/main.c function main (line 9) | int FILE: lib/builtin/builtin_name.ts type GenericFuncName (line 136) | interface GenericFuncName { function getSpecializedFuncName (line 274) | function getSpecializedFuncName( FILE: lib/builtin/lib.type.d.ts type i32 (line 6) | type i32 = number; type i64 (line 7) | type i64 = number; type f32 (line 8) | type f32 = number; type f64 (line 9) | type f64 = number; type anyref (line 10) | type anyref = any; type SymbolConstructor (line 12) | interface SymbolConstructor { type Iterable (line 17) | interface Iterable { type IterableIterator (line 21) | interface IterableIterator extends Iterator { type ConcatArray (line 25) | interface ConcatArray { type ArrayConstructor (line 32) | interface ArrayConstructor { type Array (line 43) | interface Array { type Boolean (line 105) | interface Boolean {} type Number (line 107) | interface Number {} type Function (line 109) | interface Function {} type CallableFunction (line 111) | type CallableFunction = Function; type IArguments (line 113) | interface IArguments { type NewableFunction (line 117) | type NewableFunction = Function; type Object (line 119) | interface Object {} type RegExp (line 121) | interface RegExp {} type String (line 123) | interface String { type StringConstructor (line 143) | interface StringConstructor { type Math (line 149) | interface Math { type TypedPropertyDescriptor (line 160) | interface TypedPropertyDescriptor {} type Console (line 162) | interface Console { type MapConstructor (line 168) | interface MapConstructor { type SetConstructor (line 182) | interface SetConstructor { type PromiseConstructor (line 193) | interface PromiseConstructor { type DateConstructor (line 207) | interface DateConstructor { type JSON (line 234) | interface JSON { type Error (line 257) | interface Error { type ErrorConstructor (line 263) | interface ErrorConstructor { type Number (line 271) | interface Number { type Object (line 275) | interface Object { type ObjectConstructor (line 280) | interface ObjectConstructor { type FunctionConstructor (line 288) | interface FunctionConstructor { type ArrayBuffer (line 306) | interface ArrayBuffer { type ArrayBufferConstructor (line 312) | interface ArrayBufferConstructor { type DataView (line 318) | interface DataView { type DataViewConstructor (line 341) | interface DataViewConstructor { FILE: lib/builtin/lib_builtin.ts class Console (line 9) | class Console { class Math (line 13) | class Math { method pow (line 14) | pow(x: number, y: number): number { method max (line 25) | max(...x: number[]): number { method min (line 36) | min(...x: number[]): number { class ArrayBufferConstructor (line 48) | class ArrayBufferConstructor { method isView (line 49) | isView(arg: any) { FILE: runtime-library/libdyntype/dynamic-qjs/context.c function JSValue (line 11) | JSValue * function dyn_ctx_t (line 25) | dyn_ctx_t function dyn_ctx_t (line 73) | dyn_ctx_t function dynamic_context_destroy (line 80) | void function dyn_ctx_t (line 102) | dyn_ctx_t FILE: runtime-library/libdyntype/dynamic-qjs/fallback.c function dyn_value_t (line 13) | dyn_value_t function dynamic_execute_pending_jobs (line 78) | int FILE: runtime-library/libdyntype/dynamic-qjs/object.c function number_cmp (line 13) | static inline bool function string_cmp (line 56) | static inline bool function bool_cmp (line 100) | static inline bool function cmp_operator_has_equal_token (line 143) | static inline bool function dyn_type_t (line 158) | static dyn_type_t function JSValue (line 181) | static JSValue function JSValue (line 233) | static JSValue function dyn_value_t (line 254) | dyn_value_t function dyn_value_t (line 261) | dyn_value_t function dyn_value_t (line 269) | dyn_value_t function dyn_value_t (line 276) | dyn_value_t function dyn_value_t (line 287) | dyn_value_t function dyn_value_t (line 293) | dyn_value_t function dyn_value_t (line 299) | dyn_value_t function dyn_value_t (line 309) | dyn_value_t function dyn_value_t (line 319) | dyn_value_t function dyn_value_t (line 335) | dyn_value_t function dyn_value_t (line 348) | dyn_value_t function dyn_value_t (line 391) | dyn_value_t function dynamic_set_elem (line 418) | int function dyn_value_t (line 440) | dyn_value_t function dynamic_set_property (line 457) | int function dynamic_define_property (line 476) | int function dyn_value_t (line 505) | dyn_value_t function dynamic_has_property (line 526) | int function dynamic_delete_property (line 549) | int function dyn_value_t (line 572) | dyn_value_t function dynamic_is_undefined (line 586) | bool function dynamic_is_null (line 593) | bool function dynamic_is_bool (line 600) | bool function dynamic_to_bool (line 607) | int function dynamic_is_number (line 618) | bool function dynamic_to_number (line 625) | int function dynamic_is_string (line 637) | bool function dynamic_to_cstring (line 654) | int function dynamic_free_cstring (line 665) | void function dynamic_is_object (line 671) | bool function dynamic_is_function (line 678) | bool function dynamic_is_array (line 685) | bool function dynamic_is_extref (line 692) | bool function dynamic_to_extref (line 702) | int function dynamic_is_exception (line 725) | bool function dynamic_is_falsy (line 732) | bool function dyn_type_t (line 770) | dyn_type_t function dynamic_type_eq (line 795) | bool function dynamic_cmp (line 801) | bool function dyn_value_t (line 895) | dyn_value_t function dynamic_set_prototype (line 909) | int function dyn_value_t (line 927) | dyn_value_t function dyn_value_t (line 943) | dyn_value_t function dynamic_instanceof (line 964) | bool function dynamic_dump_value (line 981) | void function dynamic_dump_value_buffer (line 1001) | int function dyn_value_t (line 1009) | static dyn_value_t function dynamic_dump_error (line 1017) | void function dyn_value_t (line 1038) | dyn_value_t function dynamic_release (line 1049) | void function dynamic_collect (line 1063) | void function dyn_value_t (line 1071) | dyn_value_t function dynamic_get_array_length (line 1085) | int FILE: runtime-library/libdyntype/dynamic-qjs/type.h type DynTypeContext (line 11) | typedef struct DynTypeContext { FILE: runtime-library/libdyntype/dynamic-simple/context.c function dyn_ctx_t (line 14) | dyn_ctx_t function dyn_ctx_t (line 20) | dyn_ctx_t function dynamic_context_destroy (line 26) | void function dyn_ctx_t (line 30) | dyn_ctx_t FILE: runtime-library/libdyntype/dynamic-simple/dyn-value/class/date.c function strtotime (line 17) | int function DynValue (line 57) | DynValue * function DynValue (line 83) | DynValue * function DynValue (line 92) | DynValue * function DynValue (line 100) | DynValue * function DynValue (line 108) | DynValue * function DynValue (line 116) | DynValue * function DynValue (line 124) | DynValue * function DynValue (line 132) | DynValue * function DynValue (line 151) | DynValue * FILE: runtime-library/libdyntype/dynamic-simple/dyn-value/class/dyn_class.c function DynClassMethodCallback (line 47) | static DynClassMethodCallback function DynClassMethodCallback (line 75) | DynClassMethodCallback function DynClassConstructorCallback (line 93) | DynClassConstructorCallback function DynValue (line 113) | DynValue * FILE: runtime-library/libdyntype/dynamic-simple/dyn-value/class/dyn_class.h type DynValue (line 8) | typedef DynValue * (*DynClassConstructorCallback)(int argc, DynValue **a... type DynValue (line 9) | typedef DynValue * (*DynClassMethodCallback)(DynValue *self, int argc, D... type ClassMethod (line 11) | typedef struct ClassMethod { type ClassMeta (line 16) | typedef struct ClassMeta { type DyntypeClass (line 28) | typedef struct DyntypeClass { type GlobalObjectEntry (line 33) | typedef struct GlobalObjectEntry { FILE: runtime-library/libdyntype/dynamic-simple/dyn-value/class/object.c function DynValue (line 9) | DynValue *object_constructor(int argc, DynValue *argv[]) function DynValue (line 14) | DynValue *object_keys(DynValue *this_val, int argc, DynValue *argv[]) FILE: runtime-library/libdyntype/dynamic-simple/dyn-value/class/string.c function DynValue (line 8) | DynValue *string_concat(DynValue *this_val, int argc, DynValue *argv[]) FILE: runtime-library/libdyntype/dynamic-simple/dyn-value/dyn_value.c function prop_key_hash (line 14) | static uint32_t function prop_key_equal (line 20) | static bool function prop_value_destroyer (line 26) | static void function DynValue (line 32) | DynValue * function DynValue (line 49) | DynValue * function DynValue (line 66) | DynValue * function DynValue (line 85) | DynValue * function DynValue (line 96) | DynValue * function init_dyn_object (line 107) | bool function init_dyn_object_properties (line 123) | bool function DynValue (line 136) | DynValue * function DynValue (line 153) | DynValue * function DynValue (line 172) | DynValue * function DynValue (line 184) | DynValue * function DynValue (line 195) | DynValue * function object_property_counter (line 215) | static void type ArraySetter (line 222) | struct ArraySetter { function object_property_keys (line 228) | static void function DynValue (line 243) | DynValue * function DynValue (line 267) | DynValue * function DynValue (line 277) | DynValue * function dyn_value_destroy (line 285) | static void function dyn_value_release (line 308) | void function DyntypeString (line 325) | DyntypeString * function dyn_string_eq (line 348) | int32_t function DyntypeString (line 362) | DyntypeString * FILE: runtime-library/libdyntype/dynamic-simple/dyn-value/dyn_value.h type DynValueClass (line 9) | enum DynValueClass { type DynValue (line 25) | typedef struct DynValue { type DyntypeNumber (line 31) | typedef struct DyntypeNumber { type DyntypeBoolean (line 36) | typedef struct DyntypeBoolean { type DyntypeString (line 41) | typedef struct DyntypeString { type DyntypeObject (line 47) | typedef struct DyntypeObject { type DyntypeArray (line 52) | typedef struct DyntypeArray { type DyntypeExtref (line 58) | typedef struct DyntypeExtref { type DyntypeDate (line 64) | typedef struct DyntypeDate { FILE: runtime-library/libdyntype/dynamic-simple/fallback.c function dyn_value_t (line 11) | dyn_value_t function dynamic_execute_pending_jobs (line 18) | int FILE: runtime-library/libdyntype/dynamic-simple/object.c function number_cmp (line 12) | static inline bool function string_cmp (line 55) | static inline bool function bool_cmp (line 99) | static inline bool function cmp_operator_has_equal_token (line 142) | static inline bool function dyn_value_t (line 157) | dyn_value_t function dyn_value_t (line 163) | dyn_value_t function dyn_value_t (line 169) | dyn_value_t function dyn_value_t (line 177) | dyn_value_t function dyn_value_t (line 183) | dyn_value_t function dyn_value_t (line 189) | dyn_value_t function dyn_value_t (line 195) | dyn_value_t function dyn_value_t (line 201) | dyn_value_t function dyn_value_t (line 207) | dyn_value_t function dyn_value_t (line 214) | dyn_value_t function dynamic_set_elem (line 220) | int function dyn_value_t (line 244) | dyn_value_t function dynamic_set_property (line 266) | int function dynamic_define_property (line 312) | int function dyn_value_t (line 319) | dyn_value_t function dynamic_has_property (line 350) | int function dynamic_delete_property (line 370) | int function dyn_value_t (line 396) | dyn_value_t function dynamic_is_undefined (line 404) | bool function dynamic_is_null (line 411) | bool function dynamic_is_bool (line 418) | bool function dynamic_to_bool (line 425) | int function dynamic_is_number (line 439) | bool function dynamic_to_number (line 446) | int function dynamic_is_string (line 460) | bool function dynamic_to_cstring (line 475) | int function dynamic_free_cstring (line 556) | void function dynamic_is_object (line 562) | bool function dynamic_is_function (line 569) | bool function dynamic_is_array (line 575) | bool function dynamic_is_extref (line 585) | bool function dynamic_to_extref (line 595) | int function dynamic_is_exception (line 609) | bool function dynamic_is_falsy (line 615) | bool function dyn_type_t (line 632) | dyn_type_t function dynamic_type_eq (line 652) | bool function dynamic_cmp (line 658) | bool function dyn_value_t (line 751) | dyn_value_t function dynamic_set_prototype (line 757) | int function dyn_value_t (line 764) | dyn_value_t function dyn_value_t (line 770) | dyn_value_t function dynamic_instanceof (line 776) | bool function dynamic_dump_value (line 785) | void function dynamic_dump_value_buffer (line 868) | int function dynamic_dump_error (line 874) | void function dyn_value_t (line 880) | dyn_value_t function dynamic_release (line 886) | void function dynamic_collect (line 892) | void function dyn_value_t (line 900) | dyn_value_t function dynamic_get_array_length (line 908) | int FILE: runtime-library/libdyntype/extref/extref.c function extref_set_elem (line 28) | int function dyn_value_t (line 55) | dyn_value_t function extref_set_property (line 83) | int function dyn_value_t (line 117) | dyn_value_t function dyn_value_t (line 155) | dyn_value_t function extref_has_property (line 161) | int function extref_delete_property (line 191) | int function dyn_value_t (line 221) | dyn_value_t function dyn_value_t (line 264) | dyn_value_t function extref_unsupported (line 329) | void FILE: runtime-library/libdyntype/lib_dyntype_wrapper.c function wasm_anyref_obj_t (line 22) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 30) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 39) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 48) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 69) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 76) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 82) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 88) | wasm_anyref_obj_t function dyntype_add_elem_wrapper (line 96) | void function wasm_anyref_obj_t (line 102) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 111) | wasm_anyref_obj_t function dyntype_set_elem_wrapper (line 119) | void function dyn_value_t (line 128) | dyn_value_t function dyntype_has_property_wrapper (line 137) | int function dyntype_delete_property_wrapper (line 144) | int function dyntype_set_property_wrapper (line 151) | int function dyn_value_t (line 163) | dyn_value_t function wasm_anyref_obj_t (line 173) | wasm_anyref_obj_t function dyntype_define_property_wrapper (line 183) | int function dyntype_is_undefined_wrapper (line 193) | int function dyntype_is_null_wrapper (line 200) | int function dyntype_is_bool_wrapper (line 207) | int function dyntype_to_bool_wrapper (line 214) | int function dyntype_is_number_wrapper (line 229) | int function dyntype_to_number_wrapper (line 236) | double function dyntype_is_string_wrapper (line 252) | int function wasm_stringref_obj_t (line 260) | wasm_stringref_obj_t function dyntype_is_object_wrapper (line 293) | int function dyntype_is_array_wrapper (line 300) | int function dyntype_is_extref_wrapper (line 307) | int function dyntype_is_falsy_wrapper (line 330) | int function dyn_type_t (line 428) | dyn_type_t function dyntype_type_eq_wrapper (line 435) | int function dyntype_cmp_wrapper (line 443) | int function wasm_anyref_obj_t (line 512) | wasm_anyref_obj_t function dyntype_set_prototype_wrapper (line 522) | int function wasm_anyref_obj_t (line 531) | const wasm_anyref_obj_t function dyntype_instanceof_wrapper (line 540) | int function dyntype_dump_value_wrapper (line 579) | void function dyntype_dump_value_buffer_wrapper (line 586) | int function wasm_anyref_obj_t (line 595) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 603) | wasm_anyref_obj_t function wasm_anyref_obj_t (line 652) | wasm_anyref_obj_t function dyn_value_t (line 697) | dyn_value_t function get_libdyntype_symbols (line 783) | uint32_t FILE: runtime-library/libdyntype/libdyntype.c function dyn_ctx_t (line 17) | dyn_ctx_t function dyn_ctx_t (line 23) | dyn_ctx_t function dyntype_context_destroy (line 29) | void function dyntype_context_set_exec_env (line 37) | void function dyntype_set_callback_dispatcher (line 49) | void function dyntype_callback_dispatcher_t (line 55) | dyntype_callback_dispatcher_t function dyntype_execute_pending_jobs (line 61) | int function dyntype_dump_error (line 67) | void function dyn_value_t (line 73) | dyn_value_t function dyntype_dump_value (line 79) | void function dyntype_dump_value_buffer (line 85) | int function dyn_value_t (line 91) | dyn_value_t function dyntype_release (line 97) | void function dyntype_collect (line 103) | void function dyn_ctx_t (line 129) | dyn_ctx_t function dyn_value_t (line 135) | dyn_value_t function dyn_value_t (line 141) | dyn_value_t function dyn_value_t (line 148) | dyn_value_t function dyn_value_t (line 154) | dyn_value_t function dyn_value_t (line 161) | dyn_value_t function dyn_value_t (line 167) | dyn_value_t function dyn_value_t (line 173) | dyn_value_t function dyn_value_t (line 179) | dyn_value_t function dyn_value_t (line 186) | dyn_value_t function dyn_value_t (line 192) | dyn_value_t function dyn_value_t (line 198) | dyn_value_t function dyntype_set_elem (line 204) | int function dyn_value_t (line 210) | dyn_value_t function dyntype_set_property (line 216) | int function dyn_value_t (line 223) | dyn_value_t function dyn_value_t (line 229) | dyn_value_t function dyntype_define_property (line 235) | int function dyntype_has_property (line 244) | int function dyntype_delete_property (line 250) | int function dyn_value_t (line 256) | dyn_value_t dyntype_get_keys(dyn_ctx_t ctx, dyn_value_t obj) function dyntype_is_number (line 294) | bool function dyntype_to_number (line 300) | int function dyntype_is_bool (line 306) | bool function dyntype_to_bool (line 312) | int function dyntype_is_string (line 318) | bool function dyntype_to_cstring (line 332) | int function dyntype_free_cstring (line 338) | void function dyntype_is_undefined (line 344) | bool function dyntype_is_null (line 350) | bool function dyntype_is_object (line 356) | bool function dyntype_is_function (line 362) | bool function dyntype_is_array (line 368) | bool function dyntype_is_extref (line 374) | bool function dyntype_to_extref (line 380) | int function dyntype_is_exception (line 386) | bool function dyntype_is_falsy (line 392) | bool dyntype_is_falsy(dyn_ctx_t ctx, dyn_value_t value) function dyn_type_t (line 397) | dyn_type_t function dyntype_type_eq (line 403) | bool function dyntype_cmp (line 409) | bool function dyntype_set_prototype (line 415) | int function dyn_value_t (line 424) | dyn_value_t function dyntype_instanceof (line 432) | bool function dyn_value_t (line 439) | dyn_value_t function dyn_value_t (line 446) | dyn_value_t function dyntype_get_array_length (line 452) | int FILE: runtime-library/libdyntype/libdyntype.h type DynTypeContext (line 24) | struct DynTypeContext type DynTypeContext (line 26) | struct DynTypeContext type dyn_options_t (line 27) | typedef void dyn_options_t; type dyn_value_t (line 30) | typedef dyn_value_t (*dyntype_callback_dispatcher_t)(void *env, dyn_ctx_... type external_ref_tag (line 36) | typedef enum external_ref_tag { type dyn_type_t (line 42) | typedef enum dyn_type_t { type cmp_operator (line 58) | typedef enum cmp_operator { FILE: runtime-library/libdyntype/test/dump.cc class DumpValueTest (line 10) | class DumpValueTest : public testing::Test method SetUp (line 13) | virtual void SetUp() method TearDown (line 20) | virtual void TearDown() { dyntype_context_destroy(ctx); } function TEST_F (line 25) | TEST_F(DumpValueTest, dump_value) FILE: runtime-library/libdyntype/test/object_property_test.cc class ObjectPropertyTest (line 13) | class ObjectPropertyTest : public testing::Test method SetUp (line 16) | virtual void SetUp() { ctx = dyntype_context_init(); } method TearDown (line 18) | virtual void TearDown() { dyntype_context_destroy(ctx); } function TEST_F (line 23) | TEST_F(ObjectPropertyTest, object_set_and_has_and_get_property) function TEST_F (line 141) | TEST_F(ObjectPropertyTest, object_define_and_has_and_get_property) function TEST_F (line 309) | TEST_F(ObjectPropertyTest, object_set_and_delete_property) function TEST_F (line 377) | TEST_F(ObjectPropertyTest, object_define_and_delete_property) function TEST_F (line 510) | TEST_F(ObjectPropertyTest, map_function_test) function dyn_value_t (line 588) | static dyn_value_t function TEST_F (line 595) | TEST_F(ObjectPropertyTest, map_callback_test) function TEST_F (line 687) | TEST_F(ObjectPropertyTest, get_keys) FILE: runtime-library/libdyntype/test/operator_test.cc class OperatorTest (line 10) | class OperatorTest : public testing::Test method SetUp (line 13) | virtual void SetUp() { ctx = dyntype_context_init(); } method TearDown (line 15) | virtual void TearDown() { dyntype_context_destroy(ctx); } method is_type_eq (line 17) | testing::AssertionResult is_type_eq(dyn_value_t lhs, dyn_value_t rhs, function TEST_F (line 31) | TEST_F(OperatorTest, typeof) function TEST_F (line 76) | TEST_F(OperatorTest, type_eq) FILE: runtime-library/libdyntype/test/prototype_test.cc class PrototypeTest (line 11) | class PrototypeTest : public testing::Test method SetUp (line 14) | virtual void SetUp() { ctx = dyntype_context_init(); } method TearDown (line 16) | virtual void TearDown() { dyntype_context_destroy(ctx); } function TEST_F (line 21) | TEST_F(PrototypeTest, prototype) FILE: runtime-library/libdyntype/test/types_test.cc class TypesTest (line 10) | class TypesTest : public testing::Test method SetUp (line 13) | virtual void SetUp() method TearDown (line 20) | virtual void TearDown() { dyntype_context_destroy(ctx); } function TEST_F (line 25) | TEST_F(TypesTest, is_undefined) function TEST_F (line 44) | TEST_F(TypesTest, create_number_object) function TEST_F (line 94) | TEST_F(TypesTest, create_boolean_object) function TEST_F (line 138) | TEST_F(TypesTest, create_undefined) function TEST_F (line 167) | TEST_F(TypesTest, create_null) function TEST_F (line 188) | TEST_F(TypesTest, create_string) function TEST_F (line 311) | TEST_F(TypesTest, create_array) function TEST_F (line 411) | TEST_F(TypesTest, create_object) function TEST_F (line 441) | TEST_F(TypesTest, create_map) function TEST_F (line 472) | TEST_F(TypesTest, get_global_obj) FILE: runtime-library/main.c function print_help (line 46) | static int function validate_env_str (line 223) | static bool function uint32 (line 245) | static uint32 function unregister_and_unload_native_libs (line 292) | static void function module_reader_callback (line 343) | static bool function moudle_destroyer (line 363) | static void function events_poll (line 379) | int function execute_micro_tasks (line 386) | void function main (line 408) | int FILE: runtime-library/stdlib/lib_array.c function array_push_generic (line 18) | double function quick_sort (line 333) | void function array_unshift_generic (line 571) | double function array_indexOf_anyref (line 671) | double function array_lastIndexOf_anyref (line 810) | double function array_every_some_generic (line 903) | bool function array_every_generic (line 950) | bool function array_some_generic (line 957) | bool function array_forEach_generic (line 964) | void function array_findIndex_generic (line 1379) | double function compute_index (line 1466) | ARRAY_FILL_API(void *, anyref, gc_obj) function includes_string (line 1583) | static bool function array_includes_anyref (line 1615) | bool function get_lib_array_symbols (line 1744) | uint32_t FILE: runtime-library/stdlib/lib_console.c function Console_log (line 16) | void function get_lib_console_symbols (line 62) | uint32_t FILE: runtime-library/stdlib/lib_timer.c function setTimeout (line 14) | double function clearTimeout (line 28) | void function get_lib_timer_symbols (line 51) | uint32_t FILE: runtime-library/stringref/stringref_qjs.c function JSValue (line 10) | static JSValue function wasm_string_destroy (line 27) | void function WASMString (line 37) | WASMString function WASMString (line 50) | WASMString function int32 (line 61) | int32 function int32 (line 74) | int32 function int32 (line 86) | int32 function WASMString (line 111) | WASMString function int32 (line 123) | int32 function int32 (line 136) | int32 function WASMString (line 145) | WASMString function int32 (line 157) | int32 function WASMString (line 167) | WASMString function int16 (line 183) | int16 function uint32 (line 198) | uint32 function uint32 (line 205) | uint32 function wasm_string_dump (line 213) | void FILE: runtime-library/stringref/stringref_simple.c function wasm_string_destroy (line 11) | void function WASMString (line 19) | WASMString function WASMString (line 29) | WASMString function int32 (line 37) | int32 function int32 (line 44) | int32 function int32 (line 56) | int32 function WASMString (line 76) | WASMString function int32 (line 83) | int32 function int32 (line 90) | int32 function WASMString (line 99) | WASMString function int32 (line 111) | int32 function WASMString (line 121) | WASMString function int16 (line 129) | int16 function uint32 (line 138) | uint32 function uint32 (line 145) | uint32 function wasm_string_dump (line 153) | void FILE: runtime-library/struct-indirect/lib_struct_indirect.c function wasm_struct_obj_t (line 8) | static wasm_struct_obj_t function struct_get_indirect_i32 (line 43) | int function struct_get_indirect_i64 (line 58) | long long function struct_get_indirect_f32 (line 73) | float function struct_get_indirect_f64 (line 88) | double function struct_set_indirect_i32 (line 134) | void function struct_set_indirect_i64 (line 148) | void function struct_set_indirect_f32 (line 162) | void function struct_set_indirect_f64 (line 176) | void function struct_set_indirect_anyref (line 190) | void function struct_set_indirect_funcref (line 204) | void function get_struct_indirect_symbols (line 237) | uint32_t FILE: runtime-library/utils/object_utils.c function dynamic_object_finalizer (line 19) | void function wasm_anyref_obj_t (line 26) | wasm_anyref_obj_t function uint32 (line 42) | static uint32 function dyn_value_t (line 56) | dyn_value_t function string_compare (line 203) | bool function wasm_stringref_obj_t (line 212) | wasm_stringref_obj_t function unbox_value_from_any (line 240) | void function dyn_value_t (line 353) | dyn_value_t FILE: runtime-library/utils/type_utils.c function is_ts_closure_type (line 44) | bool function is_ts_array_type (line 99) | bool function get_array_length (line 135) | uint32_t function wasm_array_obj_t (line 145) | wasm_array_obj_t function get_array_capacity (line 155) | int function get_array_element_size (line 163) | uint32_t function get_array_type_by_element (line 171) | int32_t function get_array_struct_type (line 202) | int32_t function get_closure_struct_type (line 239) | int32_t function get_stringref_array_type (line 285) | static uint32_t function wasm_struct_obj_t (line 317) | wasm_struct_obj_t function wasm_struct_obj_t (line 386) | wasm_struct_obj_t function is_i8_array (line 496) | static bool function get_string_array_type (line 517) | int32_t function get_string_struct_type (line 550) | int32_t function is_ts_string_type (line 574) | bool function wasm_stringref_obj_t (line 608) | wasm_stringref_obj_t function wasm_stringref_obj_t (line 615) | wasm_stringref_obj_t function wasm_string_get_length (line 623) | uint32_t function wasm_string_to_cstring (line 631) | uint32_t function wasm_struct_obj_t (line 642) | wasm_struct_obj_t function wasm_array_obj_t (line 707) | static wasm_array_obj_t function wasm_struct_obj_t (line 764) | static wasm_struct_obj_t function wasm_struct_obj_t (line 812) | wasm_struct_obj_t function wasm_struct_obj_t (line 818) | wasm_struct_obj_t function get_str_length_from_string_struct (line 837) | uint32_t function get_static_array_info (line 1086) | void function get_prop_index_of_struct (line 1111) | int function int32 (line 1163) | int32 function get_meta_field_flag (line 1175) | static inline enum field_flag function int32 (line 1184) | static inline int32 function int32 (line 1192) | static inline int32 function int32 (line 1198) | static inline int32 function int32 (line 1204) | static int32 function get_object_field (line 1246) | int type field_flag (line 1312) | enum field_flag type field_flag (line 1316) | enum field_flag FILE: runtime-library/utils/type_utils.h type closure_index (line 55) | enum closure_index { type field_flag (line 61) | enum field_flag { type ts_value_type_t (line 69) | typedef enum ts_value_type_t { type ts_value_t (line 81) | typedef struct ts_value_t { type WasmArrayInfo (line 175) | typedef struct WasmArrayInfo { type field_flag (line 205) | enum field_flag type field_flag (line 274) | enum field_flag FILE: scripts/gdb/utils.py function get_bits (line 10) | def get_bits(val, size, offset = 0): function get_bit (line 14) | def get_bit(val, offset = 0): function obj_to_hmu (line 18) | def obj_to_hmu(obj): function hmu_to_obj (line 21) | def hmu_to_obj(hmu): function hmu_get_size (line 24) | def hmu_get_size(hmu): function hmu_get_ut (line 27) | def hmu_get_ut(hmu): function hmu_get_pinuse (line 30) | def hmu_get_pinuse(hmu): function hmu_get_vo_marked (line 33) | def hmu_get_vo_marked(hmu): function obj_get_rtt_ref (line 37) | def obj_get_rtt_ref(obj): function rtt_get_defined_type_ref (line 44) | def rtt_get_defined_type_ref(rtt): FILE: scripts/gdb/wamr_dbg.py function _get_ref (line 22) | def _get_ref(arg): function wamr_get_type (line 32) | def wamr_get_type(arg): function wamr_type_dump (line 37) | def wamr_type_dump(arg): function wamr_get_gc_obj (line 44) | def wamr_get_gc_obj(arg): function wamr_gc_obj_dump (line 49) | def wamr_gc_obj_dump(arg): function wamr_get_exec_env (line 55) | def wamr_get_exec_env(arg): function wamr_exec_env_dump (line 60) | def wamr_exec_env_dump(arg): function wamr_get_interp_frame (line 66) | def wamr_get_interp_frame(arg): function wamr_interp_frame_dump (line 71) | def wamr_interp_frame_dump(arg): function wamr_interp_frame_dump_all (line 77) | def wamr_interp_frame_dump_all(arg): function wamr_exec_env_dump_all_interp_frame (line 84) | def wamr_exec_env_dump_all_interp_frame(arg): function wamr_operand_stack_get_addr (line 93) | def wamr_operand_stack_get_addr(arg1, arg2): function wamr_operand_stack_get_i32 (line 100) | def wamr_operand_stack_get_i32(arg1, arg2): function wamr_operand_stack_get_i64 (line 107) | def wamr_operand_stack_get_i64(arg1, arg2): function wamr_operand_stack_get_f32 (line 114) | def wamr_operand_stack_get_f32(arg1, arg2): function wamr_operand_stack_get_f64 (line 121) | def wamr_operand_stack_get_f64(arg1, arg2): function wamr_operand_stack_get_ref (line 128) | def wamr_operand_stack_get_ref(arg1, arg2): function wamr_operand_stack_get_obj (line 135) | def wamr_operand_stack_get_obj(arg1, arg2): function wamr_get_function (line 140) | def wamr_get_function(arg): function wamr_function_dump (line 145) | def wamr_function_dump(arg): FILE: scripts/gdb/wamr_exec_env.py class WASMFunction (line 12) | class WASMFunction: method __init__ (line 13) | def __init__(self, ref): method get_max_stack_cell_num (line 40) | def get_max_stack_cell_num(self): method __str__ (line 47) | def __str__(self): class WASMInterpFrame (line 59) | class WASMInterpFrame: method __init__ (line 60) | def __init__(self, ref): method _get_feature_description (line 75) | def _get_feature_description(self): method get_prev_frame (line 81) | def get_prev_frame(self): method _get_operand_stack (line 88) | def _get_operand_stack(self): method get_stack_addr (line 91) | def get_stack_addr(self, index): method get_stack_i32 (line 94) | def get_stack_i32(self, index): method get_stack_i64 (line 97) | def get_stack_i64(self, index): method get_stack_f32 (line 101) | def get_stack_f32(self, index): method get_stack_f64 (line 105) | def get_stack_f64(self, index): method get_stack_ref (line 109) | def get_stack_ref(self, index): method _get_conditional_info (line 113) | def _get_conditional_info(self): method __str__ (line 212) | def __str__(self) -> str: class WASMExecEnv (line 221) | class WASMExecEnv: method __init__ (line 222) | def __init__(self, ref): method get_cur_frame (line 266) | def get_cur_frame(self): method _get_dynamic_info (line 269) | def _get_dynamic_info(self): method _get_feature_description (line 282) | def _get_feature_description(self): method __str__ (line 294) | def __str__(self) -> str: FILE: scripts/gdb/wamr_objects.py class HMU (line 10) | class HMU: method __init__ (line 11) | def __init__(self, hmu): method __str__ (line 20) | def __str__(self): class WASMRtt (line 27) | class WASMRtt: method __init__ (line 28) | def __init__(self, rtt_ref): method _get_description (line 39) | def _get_description(self): method __str__ (line 49) | def __str__(self): class WASMObj (line 52) | class WASMObj: method __init__ (line 53) | def __init__(self, obj, hmu, rtt): method create_obj (line 59) | def create_obj(obj_ref): class WASMI31Obj (line 84) | class WASMI31Obj: method __init__ (line 85) | def __init__(self, value): method __str__ (line 88) | def __str__(self): class WASMExternRefObj (line 91) | class WASMExternRefObj(WASMObj): method __init__ (line 92) | def __init__(self, obj, hmu, rtt): method __str__ (line 99) | def __str__(self): class WASMAnyRefObj (line 104) | class WASMAnyRefObj(WASMObj): method __init__ (line 105) | def __init__(self, obj, hmu, rtt): method __str__ (line 112) | def __str__(self): class WASMArrayObj (line 117) | class WASMArrayObj(WASMObj): method __init__ (line 118) | def __init__(self, obj, hmu, rtt): method __str__ (line 130) | def __str__(self): class WASMStructObj (line 136) | class WASMStructObj(WASMObj): method __init__ (line 137) | def __init__(self, obj, hmu, rtt): method __str__ (line 149) | def __str__(self): class WASMFuncObj (line 154) | class WASMFuncObj(WASMObj): method __init__ (line 155) | def __init__(self, obj, hmu, rtt): method __str__ (line 167) | def __str__(self): FILE: scripts/gdb/wamr_types.py class WASMType (line 9) | class WASMType: method __init__ (line 10) | def __init__(self): method create_type (line 14) | def create_type(ref): class WASMArrayType (line 33) | class WASMArrayType(WASMType): method __init__ (line 34) | def __init__(self, ref): method __str__ (line 42) | def __str__(self): class WASMStructType (line 46) | class WASMStructType(WASMType): method __init__ (line 47) | def __init__(self, ref): method _get_fields_info (line 55) | def _get_fields_info(self): method _create_fields_description (line 79) | def _create_fields_description(self): method __str__ (line 92) | def __str__(self): class WASMFuncType (line 100) | class WASMFuncType(WASMType): method __init__ (line 101) | def __init__(self, ref): method _get_reftype_id (line 112) | def _get_reftype_id(self, i): method _get_parameter_types (line 120) | def _get_parameter_types(self): method _get_result_types (line 133) | def _get_result_types(self): method _get_description (line 146) | def _get_description(self, results = False): method __str__ (line 157) | def __str__(self): FILE: src/backend/binaryen/glue/binaryen.d.ts type bool (line 18) | type bool = boolean; type i8 (line 19) | type i8 = number; type i16 (line 20) | type i16 = number; type i32 (line 21) | type i32 = number; type isize (line 22) | type isize = number; type u8 (line 23) | type u8 = number; type u16 (line 24) | type u16 = number; type u32 (line 25) | type u32 = number; type usize (line 26) | type usize = number; type f32 (line 27) | type f32 = number; type f64 (line 28) | type f64 = number; type Ref (line 30) | type Ref = usize; type Index (line 32) | type Index = u32; type ExpressionId (line 33) | type ExpressionId = i32; type FeatureFlags (line 34) | type FeatureFlags = u32; type Op (line 35) | type Op = i32; type ExternalKind (line 36) | type ExternalKind = u32; type SideEffects (line 37) | type SideEffects = u32; type ExpressionRunnerFlags (line 38) | type ExpressionRunnerFlags = u32; type StringRef (line 40) | type StringRef = Ref; type Pointer (line 41) | type Pointer = Ref; type ArrayRef (line 42) | type ArrayRef = Ref; type TypeRef (line 43) | type TypeRef = Ref; type HeapTypeRef (line 44) | type HeapTypeRef = Ref; type PackedType (line 45) | type PackedType = u32; type ModuleRef (line 46) | type ModuleRef = Ref; type LiteralRef (line 47) | type LiteralRef = Ref; type ExpressionRef (line 48) | type ExpressionRef = Ref; type FunctionRef (line 49) | type FunctionRef = Ref; type ImportRef (line 50) | type ImportRef = Ref; type ExportRef (line 51) | type ExportRef = Ref; type GlobalRef (line 52) | type GlobalRef = Ref; type TagRef (line 53) | type TagRef = Ref; type TableRef (line 54) | type TableRef = Ref; type ElementSegmentRef (line 55) | type ElementSegmentRef = Ref; type RelooperRef (line 56) | type RelooperRef = Ref; type RelooperBlockRef (line 57) | type RelooperBlockRef = Ref; type ExpressionRunnerRef (line 58) | type ExpressionRunnerRef = Ref; type BinaryenModuleAllocateAndWriteResultRef (line 59) | type BinaryenModuleAllocateAndWriteResultRef = Ref; type TypeBuilderRef (line 60) | type TypeBuilderRef = Ref; type TypeBuilderErrorReason (line 61) | type TypeBuilderErrorReason = u32; type TypeSystem (line 62) | type TypeSystem = u32; FILE: src/backend/binaryen/glue/transform.ts function arrayToPtr (line 47) | function arrayToPtr(array: binaryen.ExpressionRef[]): ptrInfo { function ptrToArray (line 63) | function ptrToArray(ptrInfo: ptrInfo): binaryen.ExpressionRef[] { function allocU32Array (line 77) | function allocU32Array(u32Array: binaryenCAPI.u32[]): binaryenCAPI.usize { function allocU8Array (line 88) | function allocU8Array(u8Array: boolean[]): binaryenCAPI.usize { function initArrayType (line 98) | function initArrayType( function initStructType (line 188) | function initStructType( function generateArrayStructTypeInfo (line 277) | function generateArrayStructTypeInfo(arrayTypeInfo: typeInfo): typeInfo { function generateArrayStructTypeForRec (line 296) | function generateArrayStructTypeForRec( function genarateI8ArrayTypeInfo (line 314) | function genarateI8ArrayTypeInfo(): typeInfo { function generateStringTypeInfo (line 327) | function generateStringTypeInfo(): typeInfo { function genarateNumberArrayTypeInfo (line 348) | function genarateNumberArrayTypeInfo(): typeInfo { function genarateI32ArrayTypeInfo (line 361) | function genarateI32ArrayTypeInfo(): typeInfo { function genarateStringArrayTypeInfo (line 374) | function genarateStringArrayTypeInfo(struct_wrap: boolean): typeInfo { function genarateStringrefArrayTypeInfo (line 392) | function genarateStringrefArrayTypeInfo(struct_wrap: boolean): typeInfo { function generateInfcTypeInfo (line 409) | function generateInfcTypeInfo(): typeInfo { function genarateBoolArrayTypeInfo (line 414) | function genarateBoolArrayTypeInfo(): typeInfo { function genarateAnyArrayTypeInfo (line 427) | function genarateAnyArrayTypeInfo(): typeInfo { function generateDataViewTypeInfo (line 439) | function generateDataViewTypeInfo(): typeInfo { function createSignatureTypeRefAndHeapTypeRef (line 459) | function createSignatureTypeRefAndHeapTypeRef( FILE: src/backend/binaryen/glue/utils.ts constant GLOBAL_INIT_FUNC (line 8) | const GLOBAL_INIT_FUNC = 'global_init'; type ptrInfo (line 10) | interface ptrInfo { type typeInfo (line 15) | interface typeInfo { FILE: src/backend/binaryen/index.ts class WASMFunctionContext (line 86) | class WASMFunctionContext { method constructor (line 99) | constructor(binaryenCtx: WASMGen, func: FunctionDeclareNode) { method i32Local (line 107) | i32Local() { method insert (line 111) | insert(insn: binaryen.ExpressionRef) { method setReturnOpcode (line 115) | setReturnOpcode(returnOpcode: binaryen.ExpressionRef) { method returnOp (line 119) | get returnOp() { method sourceMapLocs (line 123) | get sourceMapLocs() { method enterScope (line 127) | enterScope() { method exitScope (line 131) | exitScope() { method getBody (line 136) | getBody() { method returnIdx (line 140) | get returnIdx() { method insertReturnVar (line 144) | insertReturnVar(returnVarType: binaryenCAPI.TypeRef) { method insertTmpVar (line 154) | insertTmpVar(tmpVarType: binaryenCAPI.TypeRef) { method generateFuncVarsTypeRefs (line 164) | private generateFuncVarsTypeRefs(varNode: SemanticsNode) { method getFuncVarsTypeRefs (line 234) | getFuncVarsTypeRefs(varNode: SemanticsNode) { method allocateTmpVarIdx (line 242) | allocateTmpVarIdx() { method getAllFuncVarsTypeRefs (line 253) | getAllFuncVarsTypeRefs() { method setLocalVarName (line 263) | setLocalVarName(name: string, index: number) { class WASMGen (line 272) | class WASMGen extends Ts2wasmBackend { method constructor (line 292) | constructor(parserContext: ParserContext) { method module (line 311) | get module(): binaryen.Module { method wasmTypeComp (line 315) | get wasmTypeComp(): WASMTypeGen { method wasmExprComp (line 319) | get wasmExprComp(): WASMExpressionGen { method semanticModule (line 323) | get semanticModule() { method hasFuncName (line 327) | public hasFuncName(funcName: string) { method codegen (line 333) | public codegen(options?: any): void { method emitBinary (line 370) | public emitBinary(options?: any): Uint8Array { method emitText (line 381) | public emitText(options?: any): string { method emitSourceMap (line 388) | public emitSourceMap(name: string): string { method dispose (line 407) | public dispose(): void { method wasmGenerate (line 411) | private wasmGenerate() { method addGlobalVars (line 473) | private addGlobalVars() { method parseFuncs (line 497) | private parseFuncs() { method parseFunc (line 504) | public parseFunc(func: FunctionDeclareNode) { method assignCtxVar (line 937) | public assignCtxVar(context: VarDeclareNode, freeVars: VarDeclareNode[... method assignThisVar (line 996) | public assignThisVar(thisVar: VarDeclareNode) { method parseBody (line 1011) | private parseBody(body: BlockNode) { method initEnv (line 1032) | private initEnv() { method generateRawString (line 1049) | public generateRawString(str: string): number { method generateMetaInfo (line 1054) | public generateMetaInfo(objType: ObjectType): number { method findMethodImplementClass (line 1125) | public findMethodImplementClass( method getMethodMangledName (line 1146) | public getMethodMangledName( method genrateInitJSGlobalObject (line 1185) | public genrateInitJSGlobalObject(name: string) { method setDebugLocation (line 1206) | private setDebugLocation( FILE: src/backend/binaryen/lib/array_utils.ts function array_get_length_i32 (line 9) | function array_get_length_i32( function array_get_data (line 22) | function array_get_data( FILE: src/backend/binaryen/lib/dyntype/utils.ts type ExtObjKind (line 39) | const enum ExtObjKind { function updateValueByConfig (line 100) | function updateValueByConfig() { type StructDyn (line 109) | const enum StructDyn { FILE: src/backend/binaryen/lib/env_init.ts function importAnyLibAPI (line 17) | function importAnyLibAPI(module: binaryen.Module) { function importInfcLibAPI (line 368) | function importInfcLibAPI(module: binaryen.Module) { function importMemoryAPI (line 466) | function importMemoryAPI(module: binaryen.Module) { function generateGlobalContext (line 484) | function generateGlobalContext(module: binaryen.Module) { function generateGlobalJSObject (line 493) | function generateGlobalJSObject(module: binaryen.Module, name: string) { function generateExtRefTableMaskArr (line 502) | function generateExtRefTableMaskArr(module: binaryen.Module) { function generateDynContext (line 512) | function generateDynContext(module: binaryen.Module) { function addItableFunc (line 521) | function addItableFunc(module: binaryen.Module) { FILE: src/backend/binaryen/lib/init_builtin_api.ts function anyrefCond (line 54) | function anyrefCond(module: binaryen.Module) { function getPropNameThroughMeta (line 98) | function getPropNameThroughMeta(module: binaryen.Module) { function string_concat (line 312) | function string_concat(module: binaryen.Module) { function string_concat_stringref (line 503) | function string_concat_stringref(module: binaryen.Module) { function string_eq (line 589) | function string_eq(module: binaryen.Module) { function string_eq_stringref (line 684) | function string_eq_stringref(module: binaryen.Module) { function string_slice (line 704) | function string_slice(module: binaryen.Module) { function string_slice_stringref (line 844) | function string_slice_stringref(module: binaryen.Module) { function string_replace (line 931) | function string_replace(module: binaryen.Module) { function string_replace_stringref (line 1108) | function string_replace_stringref(module: binaryen.Module) { function string_split (line 1197) | function string_split(module: binaryen.Module) { function string_split_stringref (line 1446) | function string_split_stringref(module: binaryen.Module) { function string_indexOf_internal (line 1624) | function string_indexOf_internal(module: binaryen.Module) { function string_indexOf (line 1803) | function string_indexOf(module: binaryen.Module) { function string_indexOf_internal_stringref (line 1831) | function string_indexOf_internal_stringref(module: binaryen.Module) { function string_indexOf_stringref (line 1957) | function string_indexOf_stringref(module: binaryen.Module) { function string_lastIndexOf_stringref (line 1980) | function string_lastIndexOf_stringref(module: binaryen.Module) { function string_match (line 2003) | function string_match(module: binaryen.Module) { function string_match_stringref (line 2177) | function string_match_stringref(module: binaryen.Module) { function string_search (line 2276) | function string_search(module: binaryen.Module) { function string_search_stringref (line 2315) | function string_search_stringref(module: binaryen.Module) { function string_charAt (line 2338) | function string_charAt(module: binaryen.Module) { function string_charAt_stringref (line 2462) | function string_charAt_stringref(module: binaryen.Module) { function string_substring_stringref (line 2525) | function string_substring_stringref(module: binaryen.Module) { function string_charCodeAt_stringref (line 2625) | function string_charCodeAt_stringref(module: binaryen.Module) { function string_toLowerCase (line 2682) | function string_toLowerCase(module: binaryen.Module) { function string_toLowerCase_stringref (line 2686) | function string_toLowerCase_stringref(module: binaryen.Module) { function string_toUpperCase (line 2690) | function string_toUpperCase(module: binaryen.Module) { function string_toUpperCase_stringref (line 2694) | function string_toUpperCase_stringref(module: binaryen.Module) { function string_toLowerOrUpperCase_internal (line 2698) | function string_toLowerOrUpperCase_internal( function string_trim (line 2903) | function string_trim(module: binaryen.Module) { function string_trim_stringref (line 3095) | function string_trim_stringref(module: binaryen.Module) { function Array_isArray (line 3201) | function Array_isArray(module: binaryen.Module) { function allocExtRefTableSlot (line 3248) | function allocExtRefTableSlot(module: binaryen.Module) { function newExtRef (line 3392) | function newExtRef(module: binaryen.Module) { function getPropertyIfTypeIdMismatch (line 3422) | function getPropertyIfTypeIdMismatch(module: binaryen.Module) { function setPropertyIfTypeIdMismatch (line 3511) | function setPropertyIfTypeIdMismatch(module: binaryen.Module) { function arrayBufferConstructor (line 3689) | function arrayBufferConstructor(module: binaryen.Module) { function dataViewConstructor (line 3714) | function dataViewConstructor(module: binaryen.Module) { function dataView_basicOps (line 3793) | function dataView_basicOps( function load_i8 (line 3951) | function load_i8( function convertI32ToUnsignedValue (line 3976) | function convertI32ToUnsignedValue( function dataView_setInt8 (line 4013) | function dataView_setInt8(module: binaryen.Module) { function dataView_setInt16 (line 4056) | function dataView_setInt16(module: binaryen.Module) { function dataView_setInt32 (line 4120) | function dataView_setInt32(module: binaryen.Module) { function dataView_setFloat32 (line 4188) | function dataView_setFloat32(module: binaryen.Module) { function dataView_setFloat64 (line 4264) | function dataView_setFloat64(module: binaryen.Module) { function store_i8 (line 4346) | function store_i8( function convertI32ToSignedValue (line 4373) | function convertI32ToSignedValue( function dataView_getInt8 (line 4417) | function dataView_getInt8(module: binaryen.Module, isSigned: boolean) { function dataView_getInt16 (line 4474) | function dataView_getInt16(module: binaryen.Module, isSigned: boolean) { function dataView_getInt32 (line 4556) | function dataView_getInt32(module: binaryen.Module, isSigned: boolean) { function dataView_getFloat32 (line 4636) | function dataView_getFloat32(module: binaryen.Module) { function dataView_getFloat64 (line 4714) | function dataView_getFloat64(module: binaryen.Module) { function string_fromCharCode (line 4796) | function string_fromCharCode(module: binaryen.Module) { function generateSwitchBlock (line 4883) | function generateSwitchBlock( function WASMStruct_get_field (line 5090) | function WASMStruct_get_field(module: binaryen.Module) { function callBuiltInAPIs (line 5173) | function callBuiltInAPIs(module: binaryen.Module) { function addArrayMethod (line 6417) | function addArrayMethod( FILE: src/backend/binaryen/lib/interface/meta.c type MetaProperty (line 17) | typedef struct MetaProperty { type Meta (line 29) | typedef struct Meta { type propertyFlag (line 37) | enum propertyFlag { function find_property_flag_and_index (line 49) | int find_property_flag_and_index(Meta *meta, char *prop_name, enum prope... function find_property_type (line 69) | int find_property_type(Meta *meta, char *prop_name, enum propertyFlag fl... FILE: src/backend/binaryen/memory.ts function i64New (line 11) | function i64New(lowBits: number, highBits: number) { function i64Add (line 15) | function i64Add(leftI64: Long, rightI64: Long) { function i64Align (line 19) | function i64Align(i64Value: Long, alignment: number) { function initGlobalOffset (line 26) | function initGlobalOffset(module: binaryen.Module, usedMemory: number) { function initDefaultMemory (line 60) | function initDefaultMemory( function initDefaultTable (line 72) | function initDefaultTable(module: binaryen.Module): void { FILE: src/backend/binaryen/utils.ts type DynType (line 60) | const enum DynType { type FlattenLoop (line 77) | interface FlattenLoop { type IfStatementInfo (line 85) | interface IfStatementInfo { type BackendLocalVar (line 91) | interface BackendLocalVar { type ItableFlag (line 96) | enum ItableFlag { type StructFieldIndex (line 104) | const enum StructFieldIndex { type VtableFieldIndex (line 108) | const enum VtableFieldIndex { constant SIZE_OF_META_FIELD (line 112) | const SIZE_OF_META_FIELD = 12; type MetaDataOffset (line 114) | const enum MetaDataOffset { type MetaPropertyOffset (line 121) | const enum MetaPropertyOffset { type SourceMapLoc (line 127) | interface SourceMapLoc { type NativeSignatureConversion (line 132) | const enum NativeSignatureConversion { constant META_FLAG_MASK (line 141) | const META_FLAG_MASK = 0x0000000f; constant META_INDEX_MASK (line 142) | const META_INDEX_MASK = 0xfffffff0; function getFuncName (line 145) | function getFuncName( function getBuiltinClassCtorName (line 153) | function getBuiltinClassCtorName(className: string) { function getBuiltinClassMethodName (line 161) | function getBuiltinClassMethodName( function getLastElemOfBuiltinName (line 172) | function getLastElemOfBuiltinName(builtinName: string) { function addWatFuncs (line 177) | function addWatFuncs( function isSupportedStringOP (line 193) | function isSupportedStringOP(opKind: ts.SyntaxKind) { function getCString (line 209) | function getCString(str: string) { function clearWasmStringMap (line 224) | function clearWasmStringMap() { function utf16ToUtf8 (line 228) | function utf16ToUtf8(utf16String: string): string { function getEmptyRef (line 261) | function getEmptyRef(module: binaryen.Module) { function resetDynContextRef (line 268) | function resetDynContextRef() { function getDynContextRef (line 272) | function getDynContextRef(module: binaryen.Module) { function flattenLoopStatement (line 286) | function flattenLoopStatement( function getVarDefaultValue (line 331) | function getVarDefaultValue( function getStaticType (line 360) | function getStaticType(type: ValueType) { function isUnionWithUndefined (line 373) | function isUnionWithUndefined(type: ValueType) { function generateStringForStructArrayStr (line 381) | function generateStringForStructArrayStr( function generateStringForStringref (line 411) | function generateStringForStringref( function generateDynNumber (line 427) | function generateDynNumber( function generateDynBoolean (line 438) | function generateDynBoolean( function generateDynString (line 449) | function generateDynString( function generateDynNull (line 460) | function generateDynNull(module: binaryen.Module) { function isDynUndefined (line 468) | function isDynUndefined( function generateDynUndefined (line 479) | function generateDynUndefined(module: binaryen.Module) { function generateDynArray (line 487) | function generateDynArray( function generateDynObj (line 498) | function generateDynObj(module: binaryen.Module) { function setDynArrElem (line 506) | function setDynArrElem( function getDynArrElem (line 519) | function getDynArrElem( function setDynObjProp (line 531) | function setDynObjProp( function getDynObjProp (line 544) | function getDynObjProp( function getObjKeys (line 556) | function getObjKeys( function generateDynExtref (line 567) | function generateDynExtref( function getExtTagRefByTypeKind (line 587) | function getExtTagRefByTypeKind( function getExtTagRefByTypeIdRef (line 610) | function getExtTagRefByTypeIdRef( function generateDynExtrefByTypeKind (line 631) | function generateDynExtrefByTypeKind( function generateCondition (line 651) | function generateCondition( function unboxAny (line 720) | function unboxAny( function unboxAnyToBase (line 750) | function unboxAnyToBase( function isBaseType (line 817) | function isBaseType( function convertTypeToI32 (line 829) | function convertTypeToI32( function convertTypeToI64 (line 865) | function convertTypeToI64( function convertTypeToF32 (line 897) | function convertTypeToF32( function convertTypeToF64 (line 928) | function convertTypeToF64( function unboxAnyToExtrefWithoutCast (line 958) | function unboxAnyToExtrefWithoutCast( function unboxAnyToExtref (line 977) | function unboxAnyToExtref( function boxToAny (line 996) | function boxToAny( function boxBaseTypeToAny (line 1055) | function boxBaseTypeToAny( function boxLiteralToAny (line 1086) | function boxLiteralToAny( function boxNonLiteralToAny (line 1102) | function boxNonLiteralToAny( function operateF64F64 (line 1137) | function operateF64F64( function operateStringString (line 1266) | function operateStringString( function operateRefRef (line 1354) | function operateRefRef( function operateF64I32 (line 1400) | function operateF64I32( function operateI32F64 (line 1437) | function operateI32F64( function operateI32I32 (line 1478) | function operateI32I32( function operateI64I64 (line 1561) | function operateI64I64( function operateF32F32 (line 1686) | function operateF32F32( function treatAsAny (line 1816) | function treatAsAny(typeKind: ValueTypeKind) { function operateAnyAny (line 1827) | function operateAnyAny( function operateStaticNullUndefined (line 1869) | function operateStaticNullUndefined( function operatorAnyStatic (line 1902) | function operatorAnyStatic( function judgeRealType (line 2034) | function judgeRealType( function operateStaticToDyn (line 2062) | function operateStaticToDyn( function operateF64F64ToDyn (line 2091) | function operateF64F64ToDyn( function operateStrStrToDyn (line 2126) | function operateStrStrToDyn( function oprateF64F64ToDyn (line 2155) | function oprateF64F64ToDyn( function getArrayRefLen (line 2184) | function getArrayRefLen( function getStringRefLen (line 2226) | function getStringRefLen( function setArrayElemByIdx (line 2255) | function setArrayElemByIdx( function getArrayElemByIdx (line 2283) | function getArrayElemByIdx( function getFieldFromMetaByOffset (line 2312) | function getFieldFromMetaByOffset( function getWasmStructFieldByIndex (line 2320) | function getWasmStructFieldByIndex( function getWASMObjectVtable (line 2335) | function getWASMObjectVtable( function getWASMObjectMeta (line 2347) | function getWASMObjectMeta( function getPropFlagFromObj (line 2360) | function getPropFlagFromObj( function getPropIndexFromObj (line 2368) | function getPropIndexFromObj( function isPropertyUnExist (line 2376) | function isPropertyUnExist( function isFieldFlag (line 2383) | function isFieldFlag( function isMethodFlag (line 2390) | function isMethodFlag( function isShapeCompatible (line 2397) | function isShapeCompatible( function getPredefinedTypeId (line 2421) | function getPredefinedTypeId(type: ValueType): PredefinedTypeId { function isPropTypeIdEqual (line 2469) | function isPropTypeIdEqual( function isPropTypeIdIsObject (line 2477) | function isPropTypeIdIsObject( function isPropTypeIdIsFunction (line 2487) | function isPropTypeIdIsFunction( function isPropTypeIdIsNullable (line 2497) | function isPropTypeIdIsNullable( function isPropTypeIdCompatible (line 2507) | function isPropTypeIdCompatible( function copyStringToLinearMemory (line 2534) | function copyStringToLinearMemory( function copyArrayBufferToLinearMemory (line 2586) | function copyArrayBufferToLinearMemory( function copyLinearMemoryToArrayBuffer (line 2670) | function copyLinearMemoryToArrayBuffer( function generateConvertRule (line 2747) | function generateConvertRule( function parseNativeSignatureConversion (line 2777) | function parseNativeSignatureConversion( function parseNativeSignature (line 2794) | function parseNativeSignature( FILE: src/backend/binaryen/wasm_expr_gen.ts class WASMExpressionGen (line 126) | class WASMExpressionGen { method constructor (line 130) | constructor(private wasmCompiler: WASMGen) { method wasmExprGen (line 135) | wasmExprGen(value: SemanticsValue): binaryen.ExpressionRef { method wasmSuper (line 267) | private wasmSuper(value: SuperValue): binaryen.ExpressionRef { method wasmLiteral (line 291) | private wasmLiteral(value: LiteralValue): binaryen.ExpressionRef { method createStringRef (line 343) | private createStringRef(value: string): binaryen.ExpressionRef { method encodeStringrefToLinearMemory (line 353) | private encodeStringrefToLinearMemory(stringref: binaryen.ExpressionRe... method getStringOffset (line 394) | private getStringOffset(value: string): binaryen.ExpressionRef { method wasmGetValue (line 400) | private wasmGetValue(value: VarValue): binaryen.ExpressionRef { method wasmGetClosure (line 507) | private wasmGetClosure(value: NewClosureFunction): binaryen.Expression... method createClosureStruct (line 511) | private createClosureStruct(funcNode: FunctionDeclareNode) { method wasmSetValue (line 535) | private wasmSetValue( method wasmBinaryExpr (line 596) | private wasmBinaryExpr(value: BinaryExprValue): binaryen.ExpressionRef { method wasmCommaExpr (line 613) | private wasmCommaExpr(value: CommaExprValue): binaryen.ExpressionRef { method wasmAnyGen (line 622) | private wasmAnyGen(expr: SemanticsValue): binaryen.ExpressionRef { method operateBinaryExpr (line 627) | operateBinaryExpr( method assignBinaryExpr (line 803) | private assignBinaryExpr( method wasmPostUnaryExpr (line 821) | private wasmPostUnaryExpr( method wasmPreUnaryExpr (line 887) | private wasmPreUnaryExpr( method wasmConditionalExpr (line 943) | private wasmConditionalExpr( method wasmInstanceOf (line 963) | private wasmInstanceOf( method setThisRefToClosure (line 1048) | private setThisRefToClosure( method getFuncRefFromClosure (line 1060) | private getFuncRefFromClosure( method callClosureInternal (line 1074) | private callClosureInternal( method callBuiltinOrStaticMethod (line 1115) | private callBuiltinOrStaticMethod( method wasmOffsetCall (line 1147) | private wasmOffsetCall(value: OffsetCallValue) { method wasmDirectCall (line 1196) | private wasmDirectCall(value: DirectCallValue) { method wasmFunctionCall (line 1245) | private wasmFunctionCall(value: FunctionCallValue): binaryen.Expressio... method wasmEnumerateKeysGet (line 1279) | private wasmEnumerateKeysGet(value: EnumerateKeysGetValue) { method wasmClosureCall (line 1308) | private wasmClosureCall(value: ClosureCallValue): binaryen.ExpressionR... method callClassMethod (line 1314) | private callClassMethod( method callClassStaticMethod (line 1371) | private callClassStaticMethod( method wasmAnyCall (line 1391) | private wasmAnyCall(value: AnyCallValue) { method wasmVtableCall (line 1407) | private wasmVtableCall(value: VTableCallValue) { method wasmDynamicCall (line 1501) | private wasmDynamicCall(value: DynamicCallValue): binaryen.ExpressionR... method wasmShapeCall (line 1560) | private wasmShapeCall(value: ShapeCallValue): binaryen.ExpressionRef { method wasmAnyCast (line 1666) | private wasmAnyCast(value: CastValue): binaryen.ExpressionRef { method wasmValueCast (line 1738) | private wasmValueCast(value: CastValue) { method parseArguments (line 1863) | private parseArguments( method initArray (line 1962) | private initArray(arrType: ArrayType, elements: SemanticsValue[]) { method fixVtableIndex (line 1970) | private fixVtableIndex( method fixFieldIndex (line 2000) | private fixFieldIndex( method setObjField (line 2025) | private setObjField( method setObjMethod (line 2038) | private setObjMethod( method getBuiltinObjField (line 2060) | private getBuiltinObjField( method getObjField (line 2074) | private getObjField( method getObjMethod (line 2088) | private getObjMethod( method getObjMethodAsClosure (line 2110) | private getObjMethodAsClosure( method callFuncRef (line 2120) | private callFuncRef( method callFunc (line 2155) | private callFunc( method wasmObjFieldSet (line 2180) | private wasmObjFieldSet( method setInstProperty (line 2205) | private setInstProperty( method setInfcProperty (line 2249) | private setInfcProperty( method setObjProperty (line 2325) | private setObjProperty( method getInstProperty (line 2349) | private getInstProperty( method getInfcProperty (line 2382) | private getInfcProperty( method getObjProperty (line 2478) | private getObjProperty( method getPropFlagAndIdxRefFromObj (line 2555) | private getPropFlagAndIdxRefFromObj( method getPropTypeIdRefFromObj (line 2567) | private getPropTypeIdRefFromObj( method getClosureOfFunc (line 2580) | private getClosureOfFunc( method wasmNewLiteralObj (line 2595) | private wasmNewLiteralObj(value: NewLiteralObjectValue) { method wasmObjCast (line 2631) | private wasmObjCast(value: CastValue) { method infcCastToObj (line 2682) | private infcCastToObj(ref: binaryen.ExpressionRef, toType: ObjectType) { method wasmNewClass (line 2704) | private wasmNewClass(value: NewConstructorObjectValue) { method getClassStaticField (line 2749) | private getClassStaticField( method wasmObjFieldGet (line 2777) | private wasmObjFieldGet( method getIndirectValueRef (line 2862) | getIndirectValueRef( method dynGetInfcProperty (line 2984) | private dynGetInfcProperty( method dynGetInfcUnionProperty (line 3070) | private dynGetInfcUnionProperty( method dynGetInfcUnionPropertyHelper (line 3140) | private dynGetInfcUnionPropertyHelper( method setIndirectValueRef (line 3183) | setIndirectValueRef( method dynSetInfcProperty (line 3289) | private dynSetInfcProperty( method dynSetInfcUnionProperty (line 3375) | private dynSetInfcUnionProperty( method dynSetInfcUnionPropertyHelper (line 3440) | private dynSetInfcUnionPropertyHelper( method wasmDirectGetter (line 3487) | private wasmDirectGetter(value: DirectGetterValue) { method wasmDirectSetter (line 3501) | private wasmDirectSetter(value: DirectSetterValue) { method getTruthIdx (line 3519) | private getTruthIdx( method getMemberByName (line 3534) | private getMemberByName(meta: ObjectDescription, propName: string) { method wasmDynamicGet (line 3548) | private wasmDynamicGet(value: DynamicGetValue) { method wasmDynamicSet (line 3711) | private wasmDynamicSet(value: DynamicSetValue) { method wasmNewLiteralArray (line 3751) | private wasmNewLiteralArray(value: NewLiteralArrayValue) { method wasmNewArray (line 3781) | private wasmNewArray(value: NewArrayValue | NewArrayLenValue) { method elemOp (line 3833) | private elemOp(value: ElementGetValue | ElementSetValue) { method wasmElemGet (line 3880) | private wasmElemGet(value: ElementGetValue) { method wasmElemSet (line 4051) | private wasmElemSet(value: ElementSetValue) { method wasmBlockValue (line 4138) | private wasmBlockValue(value: BlockValue) { method wasmBlockIFValue (line 4151) | private wasmBlockIFValue(value: BlockBranchIfValue) { method wasmBlockBranchValue (line 4164) | private wasmBlockBranchValue(value: BlockBranchValue) { method getArrayInitFromArrayType (line 4169) | private getArrayInitFromArrayType( method generateDynamicArg (line 4213) | private generateDynamicArg(args?: Array) { method dyntypeInvoke (line 4253) | private dyntypeInvoke( method wasmTypeof (line 4284) | private wasmTypeof(value: TypeofValue): binaryen.ExpressionRef { method wasmTemplateExpr (line 4300) | private wasmTemplateExpr(value: TemplateExprValue): binaryen.Expressio... method wasmToString (line 4342) | private wasmToString(value: ToStringValue): binaryen.ExpressionRef { method wasmObjTypeCastToAny (line 4365) | private wasmObjTypeCastToAny(value: CastValue) { method createTmpVarOfSpecifiedType (line 4651) | private createTmpVarOfSpecifiedType( method wasmReBinding (line 4661) | private wasmReBinding(value: ReBindingValue) { method wasmSpread (line 4696) | private wasmSpread(value: SpreadValue) { method wasmElemsToArr (line 4717) | private wasmElemsToArr(values: SemanticsValue[], arrType: ValueType) { method wasmArrayConcat (line 5079) | private wasmArrayConcat( FILE: src/backend/binaryen/wasm_stmt_gen.ts class WASMStatementGen (line 38) | class WASMStatementGen { method constructor (line 41) | constructor(private wasmCompiler: WASMGen) { method WASMStmtGen (line 45) | WASMStmtGen(stmt: SemanticsNode): binaryen.ExpressionRef { method wasmIf (line 106) | wasmIf(stmt: IfNode): binaryen.ExpressionRef { method wasmBlock (line 138) | wasmBlock(stmt: BlockNode): binaryen.ExpressionRef { method wasmReturn (line 162) | wasmReturn(stmt: ReturnNode): binaryen.ExpressionRef { method wasmEmpty (line 185) | wasmEmpty(): binaryen.ExpressionRef { method wasmLoop (line 189) | wasmLoop(stmt: WhileNode): binaryen.ExpressionRef { method wasmFor (line 232) | wasmFor(stmt: ForNode): binaryen.ExpressionRef { method wasmSwitch (line 281) | wasmSwitch(stmt: SwitchNode): binaryen.ExpressionRef { method wasmBreakOrContinue (line 330) | wasmBreakOrContinue( method wasmBasicExpr (line 336) | wasmBasicExpr(stmt: BasicBlockNode): binaryen.ExpressionRef { method wasmTry (line 348) | wasmTry(stmt: TryNode): binaryen.ExpressionRef { method wasmThrow (line 434) | wasmThrow(stmt: ThrowNode): binaryen.ExpressionRef { method addDebugInfoRef (line 444) | addDebugInfoRef( FILE: src/backend/binaryen/wasm_type_gen.ts class WASMTypeGen (line 64) | class WASMTypeGen { method constructor (line 108) | constructor(private wasmComp: WASMGen) { method parseCircularRecType (line 112) | parseCircularRecType(): void { method createWASMType (line 131) | createWASMType(type: ValueType): void { method createWASMBaseType (line 183) | createWASMBaseType(type: ValueType): void { method createWASMEmptyType (line 237) | createWASMEmptyType(type: EmptyType) { method createWASMContextType (line 242) | createWASMContextType(type: ClosureContextType) { method createWASMFuncType (line 296) | createWASMFuncType(funcType: FunctionType) { method createWASMArrayType (line 395) | createWASMArrayType(arrayType: ArrayType) { method createWASMArrayBufferType (line 458) | createWASMArrayBufferType(type: ObjectType) { method createWASMDataViewType (line 463) | createWASMDataViewType(type: ObjectType) { method createWASMBuiltinType (line 468) | createWASMBuiltinType(type: ObjectType) { method createWASMObjectType (line 487) | createWASMObjectType(type: ObjectType) { method createWASMInfcType (line 511) | createWASMInfcType(type: ObjectType) { method createWASMEnumType (line 516) | createWASMEnumType(type: EnumType) { method createWASMTupleType (line 520) | createWASMTupleType(type: TupleType) { method createWASMRawType (line 548) | createWASMRawType(type: ValueType) { method createWASMArrayRawType (line 567) | createWASMArrayRawType(type: WASMArrayType) { method createWASMStructRawType (line 619) | createWASMStructRawType(type: WASMStructType) { method getObjSpecialSuffix (line 701) | getObjSpecialSuffix(type: ArrayType) { method createWASMClassType (line 732) | createWASMClassType(type: ObjectType, isInfc = false) { method createWASMSpecializeType (line 911) | createWASMSpecializeType(type: TypeParameterType) { method createWASMGenericType (line 926) | createWASMGenericType(type: ValueType, typeArg: ValueType | null = nul... method hasHeapType (line 938) | hasHeapType(type: ValueType): boolean { method heapType (line 952) | get heapType() { method getWASMType (line 956) | getWASMType(type: ValueType): binaryenCAPI.TypeRef { method getWASMHeapType (line 963) | getWASMHeapType(type: ValueType): binaryenCAPI.HeapTypeRef { method getWASMValueType (line 971) | getWASMValueType(type: ValueType): binaryenCAPI.TypeRef { method getWASMValueHeapType (line 982) | getWASMValueHeapType(type: ValueType): binaryenCAPI.HeapTypeRef { method getWASMFuncParamTypes (line 995) | getWASMFuncParamTypes(type: ValueType): binaryenCAPI.TypeRef[] { method getWASMFuncOriParamTypes (line 1002) | getWASMFuncOriParamTypes(type: ValueType): binaryenCAPI.TypeRef[] { method getWASMArrayOriType (line 1009) | getWASMArrayOriType(type: ValueType): binaryenCAPI.TypeRef { method getWASMArrayOriHeapType (line 1017) | getWASMArrayOriHeapType(type: ValueType): binaryenCAPI.HeapTypeRef { method getWASMObjOriType (line 1024) | getWASMObjOriType(type: ValueType): binaryenCAPI.TypeRef { method getWASMObjOriHeapType (line 1031) | getWASMObjOriHeapType(type: ValueType): binaryenCAPI.HeapTypeRef { method getWASMVtableType (line 1038) | getWASMVtableType(type: ValueType): binaryenCAPI.TypeRef { method getWASMVtableHeapType (line 1045) | getWASMVtableHeapType(type: ValueType): binaryenCAPI.HeapTypeRef { method getWASMStaticFieldsType (line 1052) | getWASMStaticFieldsType(type: ValueType): binaryenCAPI.TypeRef { method getWASMStaticFieldsHeapType (line 1059) | getWASMStaticFieldsHeapType(type: ValueType): binaryenCAPI.HeapTypeRef { method getWASMVtableInst (line 1068) | getWASMVtableInst(type: ValueType): binaryen.ExpressionRef { method getWASMThisInst (line 1075) | getWASMThisInst(type: ValueType): binaryen.ExpressionRef { method updateStaticFields (line 1082) | updateStaticFields(type: ObjectType) { method createCustomTypeName (line 1162) | private createCustomTypeName( method createRecObjectType (line 1173) | private createRecObjectType() { method isInRecGroup (line 1334) | private isInRecGroup(type: ValueType) { method createTbIndexForType (line 1356) | private createTbIndexForType(type: ValueType) { method getExistWasmArrType (line 1370) | private getExistWasmArrType(arrayType: ArrayType) { method parseObjectMembers (line 1397) | private parseObjectMembers( method createTypeForStaticFields (line 1535) | private createTypeForStaticFields( method createStaticFields (line 1575) | private createStaticFields(type: ObjectType) { method createVtableInst (line 1588) | private createVtableInst( FILE: src/backend/index.ts method constructor (line 11) | constructor(protected parserContext: ParserContext) {} type SegmentInfo (line 20) | interface SegmentInfo { class DataSegmentContext (line 25) | class DataSegmentContext { method constructor (line 33) | constructor() { method addData (line 40) | addData(data: Uint8Array, alignment = 4) { method addString (line 60) | addString(str: string, alignment = 4) { method generateSegment (line 93) | generateSegment(): SegmentInfo | null { method getDataEnd (line 116) | getDataEnd(): number { FILE: src/dump_ast.ts function operatorString (line 8) | function operatorString(kind: ts.BinaryOperator) { function nodeToString (line 92) | function nodeToString(node: ts.Node): string { function visit (line 836) | function visit(node: ts.Node, prefix: string) { function dumpASTNode (line 841) | function dumpASTNode(sourceFile: ts.SourceFile) { function DumpAST (line 845) | function DumpAST(fileNames: string[]) { function ObjectMemberToString (line 898) | function ObjectMemberToString(v: any, objvalues: Set): string { function ObjectToString (line 915) | function ObjectToString(obj: any): string { FILE: src/error.ts class SyntaxError (line 6) | class SyntaxError extends Error { method constructor (line 7) | constructor(message: string) { class UnimplementError (line 12) | class UnimplementError extends Error { method constructor (line 13) | constructor(message: string) { class ValidateError (line 18) | class ValidateError extends Error { method constructor (line 19) | constructor(message: string) { class TypeError (line 24) | class TypeError extends Error { method constructor (line 25) | constructor(message: string) { class ExpressionError (line 30) | class ExpressionError extends Error { method constructor (line 31) | constructor(message: string) { class ScopeError (line 36) | class ScopeError extends Error { method constructor (line 37) | constructor(message: string) { class SemanticCheckError (line 42) | class SemanticCheckError extends Error { method constructor (line 43) | constructor(message: string) { class StatementError (line 48) | class StatementError extends Error { method constructor (line 49) | constructor(message: string) { class CommentError (line 54) | class CommentError extends Error { method constructor (line 55) | constructor(message: string) { FILE: src/expression.ts type OperatorKind (line 38) | type OperatorKind = ts.SyntaxKind; type ExpressionKind (line 39) | type ExpressionKind = ts.SyntaxKind; class Expression (line 41) | class Expression { method constructor (line 48) | constructor(kind: ExpressionKind) { method expressionKind (line 52) | get expressionKind() { method setExprType (line 56) | setExprType(type: Type) { method exprType (line 60) | get exprType(): Type { class NullKeywordExpression (line 65) | class NullKeywordExpression extends Expression { method constructor (line 66) | constructor() { class UndefinedKeywordExpression (line 71) | class UndefinedKeywordExpression extends Expression { method constructor (line 72) | constructor() { class NumberLiteralExpression (line 77) | class NumberLiteralExpression extends Expression { method constructor (line 80) | constructor(value: number) { method expressionValue (line 85) | get expressionValue(): number { class StringLiteralExpression (line 90) | class StringLiteralExpression extends Expression { method constructor (line 93) | constructor(value: string) { method expressionValue (line 98) | get expressionValue(): string { class ObjectLiteralExpression (line 103) | class ObjectLiteralExpression extends Expression { method constructor (line 104) | constructor( method objectFields (line 111) | get objectFields(): IdentifierExpression[] { method objectValues (line 115) | get objectValues(): Expression[] { class ArrayLiteralExpression (line 120) | class ArrayLiteralExpression extends Expression { method constructor (line 121) | constructor(private elements: Expression[]) { method arrayValues (line 125) | get arrayValues(): Expression[] { class FalseLiteralExpression (line 130) | class FalseLiteralExpression extends Expression { method constructor (line 131) | constructor() { class TrueLiteralExpression (line 136) | class TrueLiteralExpression extends Expression { method constructor (line 137) | constructor() { class IdentifierExpression (line 142) | class IdentifierExpression extends Expression { method constructor (line 145) | constructor(identifier: string) { method identifierName (line 150) | get identifierName(): string { class BinaryExpression (line 155) | class BinaryExpression extends Expression { method constructor (line 160) | constructor(operator: OperatorKind, left: Expression, right: Expressio... method operatorKind (line 167) | get operatorKind(): OperatorKind { method leftOperand (line 171) | get leftOperand(): Expression { method rightOperand (line 175) | get rightOperand(): Expression { class EnumerateKeysExpression (line 183) | class EnumerateKeysExpression extends Expression { method constructor (line 186) | constructor(obj: Expression) { method targetObj (line 191) | get targetObj(): Expression { class CommaExpression (line 200) | class CommaExpression extends Expression { method constructor (line 202) | constructor(exprs: Expression[]) { method exprs (line 206) | get exprs() { class UnaryExpression (line 211) | class UnaryExpression extends Expression { method constructor (line 215) | constructor( method operatorKind (line 225) | get operatorKind(): OperatorKind { method operand (line 229) | get operand(): Expression { class ConditionalExpression (line 234) | class ConditionalExpression extends Expression { method constructor (line 235) | constructor( method condtion (line 243) | get condtion(): Expression { method whenTrue (line 247) | get whenTrue(): Expression { method whenFalse (line 251) | get whenFalse(): Expression { class CallExpression (line 256) | class CallExpression extends Expression { method constructor (line 260) | constructor( method callExpr (line 270) | get callExpr(): Expression { method callArgs (line 274) | get callArgs(): Expression[] { method typeArguments (line 278) | get typeArguments(): Type[] | undefined { class SuperExpression (line 283) | class SuperExpression extends Expression { method constructor (line 286) | constructor(args?: Expression[]) { method callArgs (line 291) | get callArgs(): Expression[] | undefined { class PropertyAccessExpression (line 296) | class PropertyAccessExpression extends Expression { method constructor (line 302) | constructor(expr: Expression, property: Expression) { method propertyAccessExpr (line 308) | get propertyAccessExpr(): Expression { method propertyExpr (line 312) | get propertyExpr(): Expression { class NewExpression (line 317) | class NewExpression extends Expression { method constructor (line 323) | constructor( method newExpr (line 333) | get newExpr(): Expression { method setArgs (line 337) | setArgs(args: Array) { method newArgs (line 341) | get newArgs(): Array | undefined { method setArrayLen (line 345) | setArrayLen(arrayLen: number) { method arrayLen (line 349) | get arrayLen(): number { method setLenExpr (line 353) | setLenExpr(len: Expression) { method lenExpr (line 357) | get lenExpr(): Expression | null { method setTypeArguments (line 361) | setTypeArguments(typeArgs: Type[]) { method typeArguments (line 364) | get typeArguments(): Type[] | undefined { class ParenthesizedExpression (line 369) | class ParenthesizedExpression extends Expression { method constructor (line 372) | constructor(expr: Expression) { method parentesizedExpr (line 377) | get parentesizedExpr(): Expression { class ElementAccessExpression (line 382) | class ElementAccessExpression extends Expression { method constructor (line 386) | constructor(expr: Expression, argExpr: Expression) { method accessExpr (line 392) | get accessExpr(): Expression { method argExpr (line 396) | get argExpr(): Expression { class AsExpression (line 401) | class AsExpression extends Expression { method constructor (line 404) | constructor(expr: Expression) { method expression (line 409) | get expression(): Expression { class FunctionExpression (line 414) | class FunctionExpression extends Expression { method constructor (line 417) | constructor(func: FunctionScope) { method funcScope (line 422) | get funcScope(): FunctionScope { class TypeOfExpression (line 427) | class TypeOfExpression extends Expression { method constructor (line 428) | constructor(private _expr: Expression) { method expr (line 431) | get expr() { class SpreadExpression (line 436) | class SpreadExpression extends Expression { method constructor (line 437) | constructor(private _target: Expression) { method target (line 440) | get target() { class TemplateExpression (line 445) | class TemplateExpression extends Expression { method constructor (line 446) | constructor( method head (line 453) | get head() { method spans (line 457) | get spans() { class TmplSpanExpression (line 462) | class TmplSpanExpression extends Expression { method constructor (line 463) | constructor( method expr (line 470) | get expr() { method literal (line 474) | get literal() { class ExpressionProcessor (line 478) | class ExpressionProcessor { method constructor (line 483) | constructor(private parserCtx: ParserContext) { method visitNode (line 489) | visitNode(node: ts.Node): Expression { method visitNodeInternal (line 495) | private visitNodeInternal(node: ts.Node): Expression { method buildTypeArguments (line 1177) | buildTypeArguments( method specializeExpression (line 1191) | specializeExpression( FILE: src/frontend.ts constant COMPILER_OPTIONS (line 30) | const COMPILER_OPTIONS: ts.CompilerOptions = { class ParserContext (line 42) | class ParserContext { method constructor (line 77) | constructor() { method parse (line 91) | parse(fileNames: string[]): void { method getScopeByNode (line 149) | getScopeByNode(node: ts.Node): Scope | undefined { method typeResolver (line 163) | get typeResolver() { method expressionProcessor (line 167) | get expressionProcessor(): ExpressionProcessor { method statementProcessor (line 171) | get statementProcessor(): StatementProcessor { method statementSpecializationProcessor (line 175) | get statementSpecializationProcessor(): StatementSpecializationProcess... method semanticChecker (line 179) | get semanticChecker(): SemanticChecker { method errorMessage (line 183) | get errorMessage() { method recGroupTypes (line 187) | set recGroupTypes(recs: TSClass[][]) { method recGroupTypes (line 191) | get recGroupTypes() { method dumpScopes (line 195) | dumpScopes( method generateScopeInfos (line 217) | generateScopeInfos() { method getCompilerOptions (line 289) | private getCompilerOptions() { FILE: src/import_resolve.ts class ImportResolver (line 21) | class ImportResolver { method constructor (line 26) | constructor(private parserCtx: ParserContext) { method visit (line 31) | visit() { method visitNode (line 60) | visitNode(node: ts.Node): void { FILE: src/log.ts type LoggerLevel (line 11) | enum LoggerLevel { class Logger (line 30) | class Logger { method trace (line 31) | static trace(...args: any[]) { method debug (line 35) | static debug(...args: any[]) { method info (line 39) | static info(...args: any[]) { method warn (line 43) | static warn(...args: any[]) { method error (line 47) | static error(...args: any[]) { method getLocation (line 51) | static getLocation(depth = 3): string { method collectLogs (line 61) | static collectLogs(args: any[], logLevel: LoggerLevel) { FILE: src/scope.ts type ScopeKind (line 41) | enum ScopeKind { type importSearchTypes (line 50) | enum importSearchTypes { class Scope (line 59) | class Scope { method constructor (line 82) | constructor(parent: Scope | null) { method getName (line 91) | public getName() { method setName (line 95) | public setName(name: string) { method addStatement (line 99) | addStatement(statement: Statement) { method statements (line 103) | get statements(): Statement[] { method addVariable (line 107) | addVariable(variableObj: Variable) { method addType (line 112) | addType(name: string, type: Type) { method resetLocalIndex (line 125) | resetLocalIndex() { method allocateLocalIndex (line 129) | allocateLocalIndex() { method assignVariableIndex (line 133) | assignVariableIndex(scope: Scope) { method initVariableIndex (line 147) | initVariableIndex() { method initParamIndex (line 162) | initParamIndex() { method addTempVar (line 170) | addTempVar(variableObj: Variable) { method getTempVars (line 179) | getTempVars() { method varArray (line 183) | get varArray(): Variable[] { method addChild (line 187) | addChild(child: Scope) { method addModifier (line 191) | addModifier(modifier: ts.Node) { method setGenericOwner (line 195) | setGenericOwner(genericOwner: Scope | undefined) { method genericOwner (line 199) | get genericOwner(): Scope | undefined { method addSpecializedScope (line 203) | addSpecializedScope(typeSignature: string, s: Scope) { method specializedScopes (line 208) | get specializedScopes() { method _nestFindScopeItem (line 212) | protected _nestFindScopeItem( method _findInImportScope (line 229) | private _findInImportScope( method findVariable (line 286) | public findVariable( method findFunctionScope (line 309) | public findFunctionScope( method findClassScope (line 328) | public findClassScope( method findNamespaceScope (line 345) | public findNamespaceScope( method findType (line 363) | public findType(typeName: string, nested = true): Type | undefined { method findIdentifier (line 397) | findIdentifier( method _getScopeByType (line 454) | private _getScopeByType(type: ScopeKind): T | null { method getNearestFunctionScope (line 465) | getNearestFunctionScope() { method getNearestClosureEnvironment (line 469) | getNearestClosureEnvironment() { method getRootGloablScope (line 480) | getRootGloablScope() { method getRootFunctionScope (line 484) | getRootFunctionScope(): FunctionScope | null { method addDeclareName (line 500) | public addDeclareName(name: string) { method isDeclare (line 514) | public isDeclare(): boolean { method isAbstract (line 525) | public isAbstract(): boolean { method isDefault (line 536) | public isDefault(): boolean { method isExport (line 542) | public isExport(): boolean { method isStatic (line 558) | public isStatic(): boolean { method isDecorator (line 564) | public isDecorator(): boolean { method hasDecorator (line 572) | hasDecorator(name: string): boolean { method traverseScopTree (line 580) | traverseScopTree(traverseMethod: (scope: Scope) => void) { method specialize (line 588) | specialize(scope: Scope) { class ClosureEnvironment (line 603) | class ClosureEnvironment extends Scope { method constructor (line 607) | constructor(parent: Scope | null = null) { method specialize (line 620) | specialize(scope: ClosureEnvironment) { class GlobalScope (line 627) | class GlobalScope extends Scope { method constructor (line 652) | constructor(parent: Scope | null = null) { method addVariable (line 656) | addVariable(variableObj: Variable) { method moduleName (line 661) | set moduleName(moduleName: string) { method moduleName (line 665) | get moduleName(): string { method startFuncName (line 669) | get startFuncName(): string { method startFuncName (line 673) | set startFuncName(name: string) { method startFuncType (line 677) | get startFuncType(): TSFunction { method addImportIdentifier (line 681) | addImportIdentifier(identifier: string, moduleScope: GlobalScope) { method addImportDefaultName (line 689) | addImportDefaultName(defaultImportName: string, moduleScope: GlobalSco... method addImportNameScope (line 693) | addImportNameScope(nameScope: string, moduleScope: GlobalScope) { method setImportNameAlias (line 697) | setImportNameAlias(nameAliasImportMap: Map) { method setExportNameAlias (line 703) | setExportNameAlias(nameAliasExportMap: Map) { method setExportIdentifierList (line 709) | setExportIdentifierList(exportIdentifierList: Expression[]) { class FunctionScope (line 714) | class FunctionScope extends ClosureEnvironment { method constructor (line 726) | constructor(parent: Scope) { method getThisIndex (line 731) | getThisIndex() { method addParameter (line 737) | addParameter(parameter: Parameter) { method paramArray (line 742) | get paramArray(): Parameter[] { method setFuncName (line 746) | setFuncName(name: string) { method funcName (line 750) | get funcName(): string { method isAnonymose (line 754) | get isAnonymose(): boolean { method setFuncType (line 758) | setFuncType(type: TSFunction) { method funcType (line 762) | get funcType(): TSFunction { method setClassName (line 766) | setClassName(name: string) { method className (line 770) | get className(): string { method isMethod (line 774) | isMethod(): boolean { method specialize (line 778) | specialize(funcScope: FunctionScope) { class BlockScope (line 791) | class BlockScope extends ClosureEnvironment { method constructor (line 797) | constructor( class ClassScope (line 809) | class ClassScope extends Scope { method constructor (line 813) | constructor(parent: Scope, name = '') { method className (line 819) | get className(): string { method setClassType (line 823) | setClassType(type: TSClass) { method classType (line 827) | get classType(): TSClass { method specialize (line 831) | specialize(classScope: ClassScope) { class NamespaceScope (line 839) | class NamespaceScope extends Scope { method constructor (line 842) | constructor(parent: Scope) { method addVariable (line 847) | addVariable(variableObj: Variable) { class ScopeScanner (line 853) | class ScopeScanner { method constructor (line 864) | constructor(private parserCtx: ParserContext) { method _generateClassFuncScope (line 869) | _generateClassFuncScope( method visit (line 912) | visit(nodes: Array) { method visitNode (line 918) | visitNode(node: ts.Node): void { method setCurrentScope (line 1180) | setCurrentScope(currentScope: Scope | null) { method createBlockScope (line 1184) | createBlockScope(node: ts.BlockLike) { method createLoopBlockScope (line 1213) | createLoopBlockScope(node: ts.IterationStatement) { method _generateFuncScope (line 1230) | private _generateFuncScope(node: ts.FunctionLikeDeclaration) { FILE: src/semantic_check.ts type ErrorKind (line 44) | const enum ErrorKind { type ErrorFlag (line 51) | const enum ErrorFlag { type SematicError (line 60) | interface SematicError { class SemanticChecker (line 67) | class SemanticChecker { method constructor (line 72) | constructor(private parserCtx: ParserContext) { method sematicCheck (line 76) | sematicCheck() { method stmtAccept (line 113) | private stmtAccept(stmt: Statement) { method exprAccept (line 141) | private exprAccept(expr: Expression | null) { method varInitAccept (line 164) | private varInitAccept(expr: Variable | Parameter) { method checkCallExpr (line 178) | private checkCallExpr(expr: CallExpression) { method returnTypeCheck (line 223) | private returnTypeCheck(expr: Expression) { method binaryOperateCheck (line 241) | private binaryOperateCheck(left: Type, right: Type) { method defaultParamAccept (line 250) | private defaultParamAccept() { method nominalClassCheck (line 264) | private nominalClassCheck( method invokeAnyObjCheck (line 308) | private invokeAnyObjCheck(left: Type, exprType: Type) { method voidTypeCheck (line 319) | private voidTypeCheck(typeKind: TypeKind) { method logErrors (line 330) | private logErrors() { method getScopeName (line 338) | private getScopeName(scope: Scope): string { FILE: src/semantics/builder_context.ts type SymbolKey (line 42) | type SymbolKey = Variable | Scope | Type | Expression; type SymbolValue (line 43) | type SymbolValue = SemanticsValue | ValueType | SemanticsNode; type BuildEnv (line 45) | interface BuildEnv { type ValueReferenceKind (line 55) | enum ValueReferenceKind { function SymbolKeyToString (line 60) | function SymbolKeyToString(key?: SymbolKey): string { type Task (line 81) | interface Task { class BuildContext (line 85) | class BuildContext { method addFunctionValue (line 99) | addFunctionValue(var_func: VarValue) { method addClassValue (line 103) | addClassValue(var_class: VarValue) { method addGlobalValue (line 107) | addGlobalValue(name: string, v: VarValue) { method getGlobalValue (line 111) | getGlobalValue(name: string): SemanticsValue | undefined { method pushTask (line 115) | pushTask(task: Task) { method runAllTasks (line 119) | runAllTasks() { method constructor (line 129) | constructor(private typeIdx: number, public module: ModuleNode) {} method nextTypeId (line 131) | nextTypeId(): number { method currentReference (line 137) | currentReference(): ValueReferenceKind { method pushReference (line 144) | pushReference(type: ValueReferenceKind) { method popReference (line 147) | popReference() { method push (line 151) | push( method pop (line 167) | pop() { method top (line 171) | top(): BuildEnv { method updateNamedSymbolByScope (line 175) | updateNamedSymbolByScope( method updateNamedSymbol (line 190) | updateNamedSymbol(env: BuildEnv) { method getOwnerFunctionEnv (line 205) | private getOwnerFunctionEnv(idx: number): BuildEnv | undefined { method currentFunction (line 213) | currentFunction(): FunctionDeclareNode | undefined { method getScopeNamespace (line 218) | getScopeNamespace(): string { method getSymbolKeyByName (line 231) | private getSymbolKeyByName( method findSymbol (line 239) | findSymbol( method findVariable (line 251) | findVariable(id: string): SymbolValue | undefined { method findType (line 255) | findType(id: string): SymbolValue | undefined { method findFunction (line 259) | findFunction(id: string): SymbolValue | undefined { method findClass (line 263) | findClass(id: string): SymbolValue | undefined { method findNamespace (line 267) | findNamespace(id: string): SymbolValue | undefined { method findSymbolKey (line 271) | findSymbolKey(name: SymbolKey): SymbolValue | undefined { method buildClosure (line 322) | private buildClosure( method findValueTypeByKey (line 365) | findValueTypeByKey(name: SymbolKey): ValueType | undefined { method findValueType (line 376) | findValueType(type: Type): ValueType | undefined { method setNamedValueType (line 386) | setNamedValueType(name: string, vt: ValueType) { method getNamedValueType (line 390) | getNamedValueType(name: string): ValueType | undefined { method buildClosureInitList (line 394) | buildClosureInitList(func: FunctionDeclareNode): VarValue[] | undefined { method finishBuild (line 427) | finishBuild() { FILE: src/semantics/builtin.ts function IsBuiltInObjectType (line 21) | function IsBuiltInObjectType(kind: ValueTypeKind): boolean { function IsBuiltInType (line 32) | function IsBuiltInType(kind: ValueTypeKind): boolean { function IsBuiltInTypeButAny (line 40) | function IsBuiltInTypeButAny(kind: ValueTypeKind): boolean { type ObjectInfo (line 44) | interface ObjectInfo { type SpecializeInfo (line 52) | interface SpecializeInfo { function IsBuiltinObject (line 174) | function IsBuiltinObject(name: string): boolean { function clearBuiltinTypes (line 181) | function clearBuiltinTypes() { function clearSpecializeList (line 185) | function clearSpecializeList() { function getObjectAndConstructorInfos (line 189) | function getObjectAndConstructorInfos(name: string): [ObjectInfo, Object... function ObjectDescriptionFlagToObjectTypeFlag (line 197) | function ObjectDescriptionFlagToObjectTypeFlag( function init_generic (line 207) | function init_generic(info: ObjectInfo, type: ObjectType) { function createObjectTypes (line 213) | function createObjectTypes( function GetBuiltinObjectType (line 240) | function GetBuiltinObjectType(name: string): ObjectType { function GetAndRemoveObjectSpecializeList (line 283) | function GetAndRemoveObjectSpecializeList( function ProcessBuiltinObjectSpecializeList (line 291) | function ProcessBuiltinObjectSpecializeList() { function AddSpecializeObjectType (line 298) | function AddSpecializeObjectType( function ForEachBuiltinObject (line 309) | function ForEachBuiltinObject(cb: (obj_type: ObjectType) => void) { function GetShapeFromType (line 314) | function GetShapeFromType( FILE: src/semantics/dump.ts type DumpWriter (line 6) | interface DumpWriter { function CreateDefaultDumpWriter (line 12) | function CreateDefaultDumpWriter(): DumpWriter { FILE: src/semantics/expression_builder.ts function isInt (line 190) | function isInt(expr: Expression): boolean { function toInt (line 200) | function toInt(n: number): number { function flattenOperator (line 204) | function flattenOperator(opKind: ts.SyntaxKind) { function getValueFromNamespace (line 265) | function getValueFromNamespace( function buildPropertyAccessExpression (line 311) | function buildPropertyAccessExpression( function createDynamicAccess (line 535) | function createDynamicAccess( function createShapeAccess (line 562) | function createShapeAccess( function createVTableAccess (line 579) | function createVTableAccess( function createDirectAccess (line 597) | function createDirectAccess( function createDirectGet (line 626) | function createDirectGet( function createDirectSet (line 712) | function createDirectSet( function SymbolValueToSemanticsValue (line 756) | function SymbolValueToSemanticsValue( function buildIdentiferExpression (line 809) | function buildIdentiferExpression( function buildTypeOfExpression (line 853) | function buildTypeOfExpression( function buildTemplateExpression (line 896) | function buildTemplateExpression( function findObjectLiteralType (line 912) | function findObjectLiteralType( function buildObjectLiteralExpression (line 925) | function buildObjectLiteralExpression( function buildArrayLiteralExpression (line 957) | function buildArrayLiteralExpression( function isEqualOperator (line 1068) | function isEqualOperator(kind: ts.SyntaxKind): boolean { function isCompareOperator (line 1085) | function isCompareOperator(kind: ts.SyntaxKind): boolean { function wrapObjToAny (line 1098) | function wrapObjToAny(value: SemanticsValue, type: ValueType) { function checkSigned (line 1120) | function checkSigned(tmpValue: BinaryExprValue): boolean { function judgeIsInt (line 1137) | function judgeIsInt(value: number) { function judgeIsF32 (line 1145) | function judgeIsF32(value: number) { function checkOverflow (line 1153) | function checkOverflow(value: LiteralValue, type: ValueType) { function newCastValue (line 1162) | function newCastValue( function typeUp (line 1515) | function typeUp(upValue: SemanticsValue, downValue: SemanticsValue): boo... function needTranslated (line 1586) | function needTranslated(value1: SemanticsValue, value2: SemanticsValue) { function typeTranslate (line 1598) | function typeTranslate( function shapeAssignCheck (line 1614) | function shapeAssignCheck(left: ValueType, right: ValueType): boolean { function newBinaryExprValue (line 1706) | function newBinaryExprValue( function isMemberSetValue (line 1843) | function isMemberSetValue(v: SemanticsValue): boolean { function isMemberCallValue (line 1860) | function isMemberCallValue(kind: SemanticsValueKind): boolean { function isMemberGetValue (line 1870) | function isMemberGetValue(kind: SemanticsValueKind): boolean { function updateSetValue (line 1881) | function updateSetValue( function buildBinaryExpression (line 1898) | function buildBinaryExpression( function buildCommaExpression (line 1975) | function buildCommaExpression( function buildConditionalExpression (line 1989) | function buildConditionalExpression( function getClassContructorType (line 2027) | function getClassContructorType(obj_type: ObjectType): SemanticsValue { function createMemberCallValue (line 2050) | function createMemberCallValue( function buildParameters (line 2083) | function buildParameters( function buildTypeArguments (line 2105) | function buildTypeArguments(context: BuildContext, types: Type[]): Value... function updateValueTypeByTypeArguments (line 2121) | function updateValueTypeByTypeArguments( class GuessTypeArguments (line 2132) | class GuessTypeArguments { method constructor (line 2134) | constructor(public typeArguments: TypeParameterType[]) { method guessType (line 2138) | guessType(templateType: ValueType, valueType: ValueType) { method updateTypeMap (line 2178) | updateTypeMap(typeType: TypeParameterType, valueType: ValueType) { method guessObjectType (line 2183) | guessObjectType(templateObjType: ObjectType, objType: ObjectType) { method guessFunctionType (line 2203) | guessFunctionType(templateFuncType: FunctionType, valueType: FunctionT... function specializeFuncTypeArgumentsByArgs (line 2236) | function specializeFuncTypeArgumentsByArgs( function buildCallExpression (line 2277) | function buildCallExpression( function buildEnumerateKeysExpr (line 2395) | function buildEnumerateKeysExpr( function buildNewExpression2 (line 2407) | function buildNewExpression2( function buildNewClass (line 2499) | function buildNewClass( function buildNewArrayParameters (line 2536) | function buildNewArrayParameters( function buildNewInterface (line 2597) | function buildNewInterface( function buildAsExpression (line 2640) | function buildAsExpression( function buildElementAccessExpression (line 2658) | function buildElementAccessExpression( function getCurrentClassType (line 2762) | function getCurrentClassType(context: BuildContext): TSClass | undefined { function buildThisValue2 (line 2774) | function buildThisValue2(context: BuildContext): SemanticsValue { function buildSuperValue (line 2787) | function buildSuperValue( function buildSuperExpression (line 2843) | function buildSuperExpression( function buildUnaryExpression (line 2850) | function buildUnaryExpression( function buildFunctionExpression (line 2909) | function buildFunctionExpression( function buildExpression (line 2956) | function buildExpression( FILE: src/semantics/flatten.ts function flattenConditionValue (line 104) | function flattenConditionValue( class FlattenContext (line 146) | class FlattenContext { method push (line 151) | push(block: BlockValue) { method pop (line 154) | pop() { method addValue (line 158) | addValue(value: SemanticsValue) { method pushAdd (line 164) | pushAdd(block: BlockValue) { method makeLabel (line 169) | makeLabel(hint: string): string { method findNearestLoop (line 174) | findNearestLoop(): BlockValue | undefined { method findNearestBreakTarget (line 184) | findNearestBreakTarget(): BlockValue | undefined { function buildVarReferenceList (line 194) | function buildVarReferenceList( function flatternStatement (line 204) | function flatternStatement( function flattenFunction (line 535) | function flattenFunction(func: FunctionDeclareNode) { FILE: src/semantics/index.ts function processTypes (line 71) | function processTypes(context: BuildContext, globalScopes: Array(map: Map): T[] { type ExternItemInfo (line 79) | interface ExternItemInfo { class GlobalContext (line 84) | class GlobalContext { method constructor (line 108) | constructor(public readonly module: IRModule) { method processVars (line 116) | processVars() { method processFunctions (line 124) | processFunctions() { method processClasses (line 132) | processClasses() { method processMetaShapes (line 143) | processMetaShapes() { method processImportsExports (line 163) | processImportsExports() { method getVarIndex (line 174) | getVarIndex(decl: VarDeclareNode, s: S = S.LOAD): number { method getFunctionIndex (line 184) | getFunctionIndex(func: FunctionDeclareNode, s: S = S.CALL): number { method getClassIndex (line 193) | getClassIndex(clazz: ObjectType, s: S = S.NEW): number { method getMetaIndex (line 200) | getMetaIndex(meta: ObjectDescription): number { method getShapeIndex (line 207) | getShapeIndex(shape: Shape): number { method getImportInfo (line 214) | getImportInfo(type: ExternType): ExternItemInfo | undefined { method updateStatistics (line 218) | updateStatistics(key: StatisticsObject, s: S) { method finishBuild (line 241) | finishBuild() { method buildRuntimeData (line 245) | private buildRuntimeData() { method buildExternModules (line 260) | private buildExternModules( method findExternItemIndex (line 289) | private findExternItemIndex( FILE: src/semantics/ir/ircode.ts type IRCodeKind (line 30) | enum IRCodeKind { type IRCodeValueType (line 157) | enum IRCodeValueType { function isObjectIRValue (line 184) | function isObjectIRValue(type: IRCodeValueType): boolean { function isIntIRValue (line 192) | function isIntIRValue(type: IRCodeValueType): boolean { function isStringIRValue (line 196) | function isStringIRValue(type: IRCodeValueType): boolean { function isNumberIRValue (line 200) | function isNumberIRValue(type: IRCodeValueType): boolean { function GetIRCodeValueType (line 204) | function GetIRCodeValueType(value: SemanticsValue): IRCodeValueType { function GetElementKind (line 208) | function GetElementKind(start: IRCodeKind, type: ValueTypeKind): IRCodeK... function GetIRCodeValueTypeFromType (line 215) | function GetIRCodeValueTypeFromType(type: ValueType): IRCodeValueType { class IRCode (line 254) | class IRCode { method constructor (line 255) | constructor( method index (line 264) | get index(): number { method offset (line 268) | get offset(): number { method vtableIndex (line 272) | get vtableIndex(): number { method shapeIndex (line 276) | get shapeIndex(): number { method dynamicIndex (line 280) | get dynamicIndex(): number { method paramCount (line 284) | get paramCount(): number { method member (line 288) | get member(): string { method value (line 291) | get value(): any { method labelId (line 294) | get labelId(): number { method fromType (line 298) | get fromType(): IRCodeValueType { method block (line 302) | get block(): IRBlock { method setTypeArguments (line 306) | setTypeArguments(typeArgs: ValueType[]) { method typeArguments (line 310) | get typeArguments(): ValueType[] | undefined { method toString (line 314) | toString(): string { method LoadConst (line 319) | static LoadConst(value: LiteralValue): IRCode { method LoadString (line 328) | static LoadString(offset: number): IRCode { method NewUndefined (line 337) | static NewUndefined(): IRCode { method NewReturn (line 345) | static NewReturn(vt?: ValueType): IRCode { method LoadThis (line 353) | static LoadThis(clazz_type: ObjectType): IRCode { method LoadLocal (line 362) | static LoadLocal(index: number, v: ValueType): IRCode { method LoadGlobal (line 371) | static LoadGlobal(index: number, v: ValueType): IRCode { method LoadFunction (line 380) | static LoadFunction(index: number, vt: ValueType): IRCode { method LoadClass (line 389) | static LoadClass(index: number, obj_type: ObjectType): IRCode { method LoadParam (line 398) | static LoadParam(idx: number, v: ValueType): IRCode { method LoadClosure (line 407) | static LoadClosure(index: number, v: ValueType): IRCode { method NewRef (line 416) | static NewRef(vt?: ValueType): IRCode { method ReadRef (line 423) | static ReadRef(vt: ValueType): IRCode { method WriteRef (line 430) | static WriteRef(vt: ValueType): IRCode { method NewSave (line 438) | static NewSave(v: VarValue): IRCode { method SaveParam (line 464) | static SaveParam(index: number, type: ValueType): IRCode { method SaveLocal (line 473) | static SaveLocal(index: number, type: ValueType): IRCode { method SaveGlobal (line 482) | static SaveGlobal(index: number, type: ValueType): IRCode { method SaveClosure (line 491) | static SaveClosure(index: number, type: ValueType): IRCode { method NewBinaryOp (line 500) | static NewBinaryOp(opKind: ValueBinaryOperator, type: ValueType): IRCo... method NewCall (line 559) | static NewCall( method NewMethodCall (line 574) | static NewMethodCall( method NewConstructorCall (line 590) | static NewConstructorCall( method NewDupStackValue (line 606) | static NewDupStackValue(index: number, vt: ValueType): IRCode { method NewSwap (line 614) | static NewSwap(): IRCode { method NewObject (line 618) | static NewObject(idx: number, t: ObjectType): IRCode { method NewDynamic (line 626) | static NewDynamic(vt: ValueType): IRCode { method NewArrayLength (line 630) | static NewArrayLength(vt: ValueType): IRCode { method NewArrayParameters (line 638) | static NewArrayParameters(argc: number, vt: ValueType): IRCode { method NewClosure (line 647) | static NewClosure(func_idx: number, vt: ValueType): IRCode { method InitClosureValue (line 656) | static InitClosureValue(idx: number, vt: ValueType): IRCode { method NewStringIndexGet (line 665) | static NewStringIndexGet(): IRCode { method NewStringIndexSet (line 673) | static NewStringIndexSet(): IRCode { method NewArrayIndexGet (line 681) | static NewArrayIndexGet(vt: ValueType): IRCode { method NewArrayIndexSet (line 689) | static NewArrayIndexSet(vt: ValueType): IRCode { method NewObjectIndexGet (line 697) | static NewObjectIndexGet(vt: ValueType): IRCode { method NewObjectIndexSet (line 705) | static NewObjectIndexSet(vt: ValueType): IRCode { method NewObjectKeyGet (line 713) | static NewObjectKeyGet(vt: ValueType): IRCode { method NewObjectKeySet (line 721) | static NewObjectKeySet(vt: ValueType): IRCode { method NewGetOffset (line 729) | static NewGetOffset(offset: number, vt: ValueType): IRCode { method NewSetOffset (line 738) | static NewSetOffset(offset: number, vt: ValueType): IRCode { method NewGetVTable (line 747) | static NewGetVTable(index: number, vt: ValueType): IRCode { method NewSetVTable (line 756) | static NewSetVTable(index: number, vt: ValueType): IRCode { method NewVTableCall (line 765) | static NewVTableCall( method NewGetShape (line 778) | static NewGetShape(index: number, vt: ValueType): IRCode { method NewSetShape (line 787) | static NewSetShape(index: number, vt: ValueType): IRCode { method NewShapeCall (line 796) | static NewShapeCall( method NewGetDynamic (line 809) | static NewGetDynamic(index: number): IRCode { method NewSetDynamic (line 818) | static NewSetDynamic(index: number): IRCode { method NewDynamicCall (line 827) | static NewDynamicCall(index: number, param_count: number): IRCode { method NewBlock (line 836) | static NewBlock(block: BlockValue): IRCode { method NewBindShape (line 846) | static NewBindShape(shape_idx: number, vt: ValueType): IRCode { method NewBuildShape (line 855) | static NewBuildShape(meta_idx: number, vt: ValueType): IRCode { method NewBranch (line 864) | static NewBranch(target: IRBlock): IRCode { method NewBranchIf (line 873) | static NewBranchIf(target: IRBlock, isTrue: boolean): IRCode { method NewImportFunction (line 882) | static NewImportFunction(moduleIndex: number, funcIndex: number): IRCo... class IRBlock (line 892) | class IRBlock { method constructor (line 895) | constructor( method add (line 900) | add(code: IRCode) { FILE: src/semantics/ir/irmodule.ts class MemberDescriptionInfo (line 63) | class MemberDescriptionInfo { class ObjectDescriptionInfo (line 69) | class ObjectDescriptionInfo { type ShapeMemberType (line 78) | enum ShapeMemberType { type ShapeMemberParam (line 85) | interface ShapeMemberParam { class ShapeMemberInfo (line 92) | class ShapeMemberInfo { method constructor (line 95) | constructor(type: ShapeMemberType, param?: ShapeMemberParam) { method type (line 120) | get type(): ShapeMemberType { method offset (line 124) | get offset(): number { method method (line 128) | get method(): number { method getter (line 132) | get getter(): number { method setter (line 136) | get setter(): number { method value (line 140) | get value(): number { class ShapeInfo (line 145) | class ShapeInfo { function createObjectDescriptionName (line 152) | function createObjectDescriptionName(od: ObjectDescription): string { class RuntimeExternItem (line 165) | class RuntimeExternItem { method constructor (line 166) | constructor( class RuntimeExternModule (line 174) | class RuntimeExternModule { method constructor (line 175) | constructor( class RuntimeExternModules (line 182) | class RuntimeExternModules { method constructor (line 184) | constructor(public readonly modules: RuntimeExternModule[]) {} type BlockHeaderType (line 187) | enum BlockHeaderType { class BlockHeader (line 195) | class BlockHeader { method constructor (line 199) | constructor(public readonly type: BlockHeaderType) {} method write (line 201) | write(dataPool: DataPool) { method update (line 208) | update(dataPool: DataPool, start: number) { class RuntimeData (line 217) | class RuntimeData { method constructor (line 224) | constructor( method build (line 236) | build(context: GlobalContext) { method buildObjectDescriptions (line 249) | buildObjectDescriptions() { method buildObjectDescription (line 261) | buildObjectDescription(od: ObjectDescription): ObjectDescriptionInfo { method buildShapes (line 304) | buildShapes(context: GlobalContext) { method buildShape (line 328) | buildShape(shape: Shape, suffix: string, context: GlobalContext) { method saveShape (line 376) | saveShape(info: ShapeInfo) { method buildExterns (line 386) | buildExterns( function createAccessorInfo (line 413) | function createAccessorInfo( function getShapeValueIndex (line 427) | function getShapeValueIndex( class IRModule (line 442) | class IRModule { method constructor (line 447) | constructor(public module: ModuleNode) { method build (line 454) | private build() { method buildFunctions (line 465) | private buildFunctions(context: GlobalContext) { method buildFunction (line 471) | private buildFunction(f: FunctionDeclareNode, context: GlobalContext) { function processValueString (line 478) | function processValueString(value: SemanticsValue, dataPool: DataPool) { function collectionStrings (line 488) | function collectionStrings(module: ModuleNode, dataPool: DataPool) { FILE: src/semantics/predefined_types.ts function GetPredefinedType (line 24) | function GetPredefinedType(typeId: number): ValueType | undefined { function createPredefinedType (line 60) | function createPredefinedType(typeId: number): ValueType | undefined { FILE: src/semantics/runtime.ts type MemberType (line 13) | enum MemberType { type MemberOrAccessor (line 20) | interface MemberOrAccessor { type MemberModifier (line 26) | enum MemberModifier { class MemberDescription (line 30) | class MemberDescription { method constructor (line 36) | constructor( method isOverrid (line 49) | get isOverrid(): boolean { method setOverrid (line 52) | setOverrid() { method offset (line 56) | set offset(off: number) { method offset (line 59) | get offset(): number { method getterOffset (line 63) | set getterOffset(off: number) { method getterOffset (line 66) | get getterOffset(): number { method setterOffset (line 69) | set setterOffset(off: number) { method setterOffset (line 72) | get setterOffset(): number { method getterType (line 76) | set getterType(v: ValueType | undefined) { method getterType (line 79) | get getterType(): ValueType | undefined { method setterType (line 83) | set setterType(v: ValueType | undefined) { method setterType (line 86) | get setterType(): ValueType | undefined { method toString (line 90) | toString(): string { method setAccessorFunction (line 102) | setAccessorFunction(func: Value, is_setter: boolean) { method hasGetter (line 114) | get hasGetter(): boolean { method hasSetter (line 121) | get hasSetter(): boolean { method getter (line 129) | get getter(): Value | undefined { method setter (line 133) | get setter(): Value | undefined { method method (line 137) | get method(): Value | undefined { type ObjectDescriptionType (line 144) | enum ObjectDescriptionType { class ObjectDescription (line 151) | class ObjectDescription { method isInited (line 164) | get isInited(): boolean { method setInited (line 167) | setInited() { method isBuiltin (line 171) | get isBuiltin(): boolean { method setBuiltin (line 174) | setBuiltin() { method base (line 178) | get base(): ObjectDescription | undefined { method base (line 181) | set base(b: ObjectDescription | undefined) { method generic (line 186) | get generic(): ObjectDescription { method hasGeneric (line 190) | get hasGeneric(): boolean { method constructor (line 194) | constructor( method isLiteral (line 200) | get isLiteral(): boolean { method isInterface (line 203) | get isInterface(): boolean { method isObjectInstance (line 206) | get isObjectInstance(): boolean { method isObjectClass (line 209) | get isObjectClass(): boolean { method instance (line 213) | get instance(): ObjectDescription | undefined { method instance (line 217) | set instance(inst: ObjectDescription | undefined) { method clazz (line 221) | get clazz(): ObjectDescription | undefined { method clazz (line 227) | set clazz(c: ObjectDescription | undefined) { method findMember (line 231) | findMember(name: string): MemberDescription | undefined { method findConstructor (line 235) | findConstructor(): MemberDescription | undefined { method updateMember (line 240) | updateMember( method findFreeSlot (line 287) | findFreeSlot(start: number): number { method buildShape (line 299) | buildShape(from: Shape): Shape { method dump (line 341) | dump(writer: DumpWriter) { type Value (line 394) | interface Value { type ShapeMemberStorage (line 398) | enum ShapeMemberStorage { class ShapeMember (line 403) | class ShapeMember { method constructor (line 404) | constructor( method isOffset (line 409) | get isOffset(): boolean { method isValue (line 412) | get isValue(): boolean { method isEmpty (line 416) | get isEmpty(): boolean { method dump (line 420) | dump(writer: DumpWriter) { class ShapeField (line 425) | class ShapeField extends ShapeMember { method constructor (line 426) | constructor(public readonly offset?: number) { method isEmpty (line 430) | get isEmpty(): boolean { method toString (line 434) | toString(): string { class ShapeAccessor (line 441) | class ShapeAccessor extends ShapeMember { method constructor (line 442) | constructor( method getterOffset (line 450) | get getterOffset(): number | undefined { method getterValue (line 456) | get getterValue(): Value | undefined { method getter (line 462) | get getter(): Value | number | undefined { method setter (line 465) | get setter(): Value | number | undefined { method setterOffset (line 469) | get setterOffset(): number | undefined { method setterValue (line 475) | get setterValue(): Value | undefined { method isEmpty (line 481) | get isEmpty(): boolean { method toString (line 485) | toString(): string { class ShapeMethod (line 492) | class ShapeMethod extends ShapeMember { method constructor (line 493) | constructor(storage: ShapeMemberStorage, private _func?: Value | numbe... method methodOffset (line 497) | get methodOffset(): number | undefined { method methodValue (line 503) | get methodValue(): Value | undefined { method method (line 509) | get method(): Value | number | undefined { method isEmpty (line 513) | get isEmpty(): boolean { method toString (line 517) | toString(): string { class Shape (line 524) | class Shape { method constructor (line 527) | constructor( method genericShape (line 532) | get genericShape(): Shape { method hasGeneric (line 536) | get hasGeneric(): boolean { method getMember (line 540) | getMember(idx: number): ShapeMember | undefined { method isStaticShape (line 545) | isStaticShape(): boolean { method dump (line 555) | dump(writer: DumpWriter) { FILE: src/semantics/semantics_nodes.ts type SemanticsKind (line 50) | enum SemanticsKind { type SemanticsNodeVisitor (line 74) | interface SemanticsNodeVisitor { class SemanticsNode (line 78) | class SemanticsNode { method constructor (line 79) | constructor(public kind: SemanticsKind) {} method dump (line 81) | dump(writer: DumpWriter) { method forEachChild (line 85) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 89) | forEachValue(visitor: SemanticsValueVisitor) { class EmptyNode (line 94) | class EmptyNode extends SemanticsNode { method constructor (line 95) | constructor() { class ReturnNode (line 100) | class ReturnNode extends SemanticsNode { method constructor (line 101) | constructor(public expr: SemanticsValue | undefined) { method dump (line 105) | dump(writer: DumpWriter) { method forEachValue (line 112) | forEachValue(visitor: SemanticsValueVisitor) { type VarStorageType (line 118) | type VarStorageType = type ParameterNodeFlag (line 127) | enum ParameterNodeFlag { type VarDeclareNodeFlag (line 131) | enum VarDeclareNodeFlag { class VarDeclareNode (line 138) | class VarDeclareNode extends SemanticsNode { method constructor (line 141) | constructor( method copy (line 157) | copy() { method setUsedByClosureFunction (line 173) | setUsedByClosureFunction() { method isUsedInClosureFunction (line 189) | isUsedInClosureFunction() { method isUsedInClosureByRef (line 193) | isUsedInClosureByRef(): boolean { method isUsedInClosureByValue (line 197) | isUsedInClosureByValue(): boolean { method setImportAsRef (line 201) | setImportAsRef() { method isImportAsRef (line 205) | isImportAsRef(): boolean { method isRef (line 212) | isRef(): boolean { method toString (line 216) | toString(): string { method dump (line 221) | dump(writer: DumpWriter) { type FunctionOwnKind (line 226) | enum FunctionOwnKind { type NativeSignature (line 236) | interface NativeSignature { class FunctionDeclareNode (line 241) | class FunctionDeclareNode extends SemanticsNode { method constructor (line 248) | constructor( method toString (line 261) | toString(): string { method pushClosureVarDeclare (line 267) | pushClosureVarDeclare(val: VarDeclareNode) { method thisClassType (line 272) | get thisClassType(): ObjectType | undefined { method closureVars (line 276) | get closureVars(): VarDeclareNode[] | undefined { method findClosureIndex (line 280) | findClosureIndex(v: VarDeclareNode): number { method findParameterIndex (line 289) | findParameterIndex(v: VarDeclareNode): number { method dump (line 298) | dump(writer: DumpWriter) { method dumpCode (line 302) | dumpCode(writer: DumpWriter) { method forEachChild (line 315) | forEachChild(visitor: SemanticsNodeVisitor) { class BlockNode (line 322) | class BlockNode extends SemanticsNode { method constructor (line 323) | constructor( method dump (line 330) | dump(writer: DumpWriter) { method forEachChild (line 339) | forEachChild(visitor: SemanticsNodeVisitor) { class BasicBlockNode (line 345) | class BasicBlockNode extends SemanticsNode { method constructor (line 347) | constructor() { method pushSemanticsValue (line 353) | pushSemanticsValue(valueNode: SemanticsValue) { method dump (line 357) | dump(writer: DumpWriter) { method forEachValue (line 367) | forEachValue(visitor: SemanticsValueVisitor) { class IfNode (line 372) | class IfNode extends SemanticsNode { method constructor (line 373) | constructor( method dump (line 381) | dump(writer: DumpWriter) { method forEachChild (line 395) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 400) | forEachValue(visitor: SemanticsValueVisitor) { class ForNode (line 406) | class ForNode extends SemanticsNode { method constructor (line 407) | constructor( method forEachChild (line 420) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 426) | forEachValue(visitor: SemanticsValueVisitor) { method dump (line 431) | dump(writer: DumpWriter) { class ForInNode (line 446) | class ForInNode extends SemanticsNode { method constructor (line 447) | constructor( method forEachChild (line 455) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 460) | forEachValue(visitor: SemanticsValueVisitor) { class ForOfNode (line 466) | class ForOfNode extends SemanticsNode { method constructor (line 467) | constructor( method forEachChild (line 475) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 479) | forEachValue(visitor: SemanticsValueVisitor) { type ForInOrOfNode (line 485) | type ForInOrOfNode = ForInNode | ForOfNode; class WhileNode (line 487) | class WhileNode extends SemanticsNode { method constructor (line 488) | constructor( method isDoWhile (line 499) | isDoWhile(): boolean { method dump (line 503) | dump(writer: DumpWriter) { method forEachChild (line 512) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 516) | forEachValue(visitor: SemanticsValueVisitor) { class SwitchNode (line 522) | class SwitchNode extends SemanticsNode { method constructor (line 523) | constructor( method dump (line 533) | dump(writer: DumpWriter) { method forEachChild (line 541) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 546) | forEachValue(visitor: SemanticsValueVisitor) { class CaseClauseNode (line 552) | class CaseClauseNode extends SemanticsNode { method constructor (line 553) | constructor(public caseVar: SemanticsValue, public body?: SemanticsNod... method dump (line 557) | dump(writer: DumpWriter) { method forEachChild (line 563) | forEachChild(visitor: SemanticsNodeVisitor) { method forEachValue (line 567) | forEachValue(visitor: SemanticsValueVisitor) { class DefaultClauseNode (line 573) | class DefaultClauseNode extends SemanticsNode { method constructor (line 574) | constructor(public body?: SemanticsNode) { method dump (line 577) | dump(writer: DumpWriter) { method forEachChild (line 582) | forEachChild(visitor: SemanticsNodeVisitor) { class BreakNode (line 587) | class BreakNode extends SemanticsNode { method constructor (line 588) | constructor(public label: string) { class ContinueNode (line 593) | class ContinueNode extends SemanticsNode { method constructor (line 594) | constructor(public label: string) { class ThrowNode (line 599) | class ThrowNode extends SemanticsNode { method constructor (line 600) | constructor(public throwExpr: SemanticsValue) { method dump (line 604) | dump(writer: DumpWriter) { class CatchClauseNode (line 610) | class CatchClauseNode extends SemanticsNode { method constructor (line 612) | constructor(public body: SemanticsNode) { method dump (line 616) | dump(writer: DumpWriter) { method forEachChild (line 624) | forEachChild(visitor: SemanticsNodeVisitor) { class TryNode (line 629) | class TryNode extends SemanticsNode { method constructor (line 630) | constructor( method dump (line 639) | dump(writer: DumpWriter) { method forEachChild (line 651) | forEachChild(visitor: SemanticsNodeVisitor) { type ExternType (line 658) | type ExternType = type ExternTypeKind (line 663) | enum ExternTypeKind { type ExternItem (line 670) | interface ExternItem { class ExternModule (line 676) | class ExternModule { method constructor (line 678) | constructor( method addItem (line 683) | addItem(kind: ExternTypeKind, name: string, type: ExternType) { class ExternModuleManager (line 688) | class ExternModuleManager { method constructor (line 691) | constructor(public readonly isImport = true) {} method add (line 693) | add(m: ExternModule) { class ModuleNode (line 698) | class ModuleNode extends SemanticsNode { method constructor (line 713) | constructor() { method dumpGlobalVars (line 717) | dumpGlobalVars(writer: DumpWriter) { method dumpFunctions (line 721) | dumpFunctions(writer: DumpWriter) { method dumpTypes (line 725) | dumpTypes(writer: DumpWriter) { method dumpEnums (line 737) | dumpEnums(writer: DumpWriter) { method dump (line 745) | dump(writer: DumpWriter) { method dumpObjectDescriptions (line 762) | dumpObjectDescriptions(writer: DumpWriter) { method dumpCodeTrees (line 768) | dumpCodeTrees(writer: DumpWriter) { method findValueTypeByType (line 775) | findValueTypeByType(type: Type): ValueType | undefined { method findArrayValueType (line 927) | findArrayValueType(elementType: ValueType): ValueType | undefined { method findTupleElementTypes (line 950) | findTupleElementTypes(elementTypes: ValueType[]): ValueType | undefined { method findObjectValueType (line 965) | findObjectValueType(tsclass: TSClass): ValueType | undefined { FILE: src/semantics/statement_builder.ts function createFromVariable (line 85) | function createFromVariable( function createLocalSymbols (line 130) | function createLocalSymbols( function buildBlock (line 180) | function buildBlock( function buildStatementsWithScope (line 194) | function buildStatementsWithScope( function buildCaseClauseStatements (line 238) | function buildCaseClauseStatements( function buildVariableStatement (line 252) | function buildVariableStatement( function buildStatementAsNode (line 302) | function buildStatementAsNode( function buildIfStatement (line 315) | function buildIfStatement( function buildReturnStatement (line 333) | function buildReturnStatement( function buildBaseLoopStatement (line 359) | function buildBaseLoopStatement( function buildForStatement (line 382) | function buildForStatement( function buildSwitchStatement (line 447) | function buildSwitchStatement( function buildBreakStatement (line 492) | function buildBreakStatement(statement: BreakStatement): SemanticsNode { function buildContinueStatement (line 496) | function buildContinueStatement(statement: ContinueStatement): Semantics... function buildThrowStatement (line 500) | function buildThrowStatement( function buildCatchClauseStatement (line 508) | function buildCatchClauseStatement( function buildTryStatement (line 521) | function buildTryStatement( function buildStatement (line 558) | function buildStatement( FILE: src/semantics/type_creator.ts function isObjectType (line 80) | function isObjectType(kind: ValueTypeKind): boolean { function isNullValueType (line 91) | function isNullValueType(kind: ValueTypeKind): boolean { function createArrayType (line 99) | function createArrayType( function createTupleType (line 109) | function createTupleType( function createTypeScores (line 120) | function createTypeScores(): Map { function collectWideTypes (line 140) | function collectWideTypes(types: Set): ValueType[] { function createUnionInterfaceType (line 237) | function createUnionInterfaceType( function createUnionType (line 289) | function createUnionType( function CreateWideTypeFromTypes (line 298) | function CreateWideTypeFromTypes( function initTypeArguments (line 317) | function initTypeArguments( function createType (line 330) | function createType( function handleRecType (line 496) | function handleRecType( function createObjectType (line 513) | function createObjectType( function createBuiltinObjectType (line 645) | function createBuiltinObjectType( type ClassMemberCount (line 684) | interface ClassMemberCount { function getClassMemberCount (line 689) | function getClassMemberCount(clazz: TSClass): ClassMemberCount { function getGlobalFunction (line 725) | function getGlobalFunction( function updateMemberDescriptions (line 737) | function updateMemberDescriptions( function getAccessorType (line 1025) | function getAccessorType( function createObjectDescriptionShapes (line 1060) | function createObjectDescriptionShapes( function CreateShapeMember (line 1110) | function CreateShapeMember(member: MemberDescription): ShapeMember | und... function CreateShapeMemberValue (line 1126) | function CreateShapeMemberValue( function specializeValue (line 1144) | function specializeValue( function specializeMemberDescription (line 1163) | function specializeMemberDescription( function simpleCopyShape (line 1195) | function simpleCopyShape( function initSpecializeObjectDescription (line 1207) | function initSpecializeObjectDescription( function specializeObjectDescription (line 1236) | function specializeObjectDescription( function specializeIndexType (line 1252) | function specializeIndexType( function initIndexType (line 1267) | function initIndexType( class SpecializeTypeMapper (line 1285) | class SpecializeTypeMapper { method constructor (line 1291) | constructor(owner: ValueTypeWithArguments, typeArgs: ValueType[]) { method initTypeArguments (line 1296) | initTypeArguments(typeArgs: ValueType[]) { method getValueType (line 1313) | getValueType(valueType: ValueType): ValueType { method updateObjectSpecialTypeArguments (line 1327) | updateObjectSpecialTypeArguments(obj_type: ObjectType) { method updateObjectTypeArguments (line 1340) | updateObjectTypeArguments(obj_type: ObjectType, special_type: ObjectTy... method specializeValueType (line 1350) | specializeValueType(valueType: ValueType): ValueType { function initBuiltinObjectTypeDescriptions (line 1492) | function initBuiltinObjectTypeDescriptions( function specializeBuiltinObjectType (line 1516) | function specializeBuiltinObjectType( function needSpecialized (line 1561) | function needSpecialized(type: ValueType) { FILE: src/semantics/value.ts type SemanticsValueKind (line 30) | enum SemanticsValueKind { type ValueBinaryOperator (line 140) | type ValueBinaryOperator = ts.BinaryOperator; type SemanticsValueVisitor (line 142) | interface SemanticsValueVisitor { class SemanticsValue (line 146) | class SemanticsValue implements Value { method constructor (line 147) | constructor(public kind: SemanticsValueKind, public type: ValueType) {} method toString (line 149) | toString(): string { method dump (line 153) | dump(writer: DumpWriter) { method effectType (line 160) | get effectType(): ValueType { method forEachChild (line 166) | forEachChild(visitor: SemanticsValueVisitor) { method shape (line 171) | get shape(): Shape | undefined { method shape (line 176) | set shape(s: Shape | undefined) { method valueAccessCount (line 180) | get valueAccessCount(): number { method incAccessCount (line 184) | incAccessCount() { class ThisValue2 (line 189) | class ThisValue2 extends SemanticsValue { method constructor (line 190) | constructor(type: ObjectType) { type SuperUsageFlag (line 214) | enum SuperUsageFlag { class SuperValue (line 219) | class SuperValue extends SemanticsValue { method constructor (line 223) | constructor( method parameters (line 234) | get parameters(): SemanticsValue[] | undefined { method usageFlag (line 238) | get usageFlag(): SuperUsageFlag { class NopValue (line 243) | class NopValue extends SemanticsValue { method constructor (line 244) | constructor() { class LiteralValue (line 249) | class LiteralValue extends SemanticsValue { method constructor (line 250) | constructor( method toString (line 257) | toString(): string { type LocalVarValueKind (line 262) | type LocalVarValueKind = type GlobalVarValueKind (line 265) | type GlobalVarValueKind = type ClosureVarValueKind (line 268) | type ClosureVarValueKind = type VarValueKind (line 271) | type VarValueKind = function VarRefToString (line 277) | function VarRefToString(ref: any): string { class VarValue (line 288) | class VarValue extends SemanticsValue { method constructor (line 289) | constructor( method copy (line 301) | copy() { method isConst (line 312) | get isConst(): boolean { method toString (line 320) | toString(): string { method valueAccessCount (line 327) | get valueAccessCount(): number { method incAccessCount (line 330) | incAccessCount() { class BinaryExprValue (line 335) | class BinaryExprValue extends SemanticsValue { method constructor (line 336) | constructor( method toString (line 345) | toString(): string { method dump (line 349) | dump(writer: DumpWriter) { method forEachChild (line 357) | forEachChild(visitor: SemanticsValueVisitor) { class PrefixUnaryExprValue (line 363) | class PrefixUnaryExprValue extends SemanticsValue { method constructor (line 364) | constructor( method setFlattenExprValue (line 378) | setFlattenExprValue(flattenExprValue: SemanticsValue) { method flattenExprValue (line 382) | get flattenExprValue(): SemanticsValue | undefined { method forEachChild (line 386) | forEachChild(visitor: SemanticsValueVisitor) { class PostUnaryExprValue (line 391) | class PostUnaryExprValue extends SemanticsValue { method constructor (line 392) | constructor( method setFlattenExprValue (line 406) | setFlattenExprValue(flattenExprValue: SemanticsValue) { method flattenExprValue (line 410) | get flattenExprValue(): SemanticsValue | undefined { method forEachChild (line 414) | forEachChild(visitor: SemanticsValueVisitor) { class ConditionExprValue (line 419) | class ConditionExprValue extends SemanticsValue { method constructor (line 420) | constructor( method dump (line 429) | dump(writer: DumpWriter) { method forEachChild (line 438) | forEachChild(visitor: SemanticsValueVisitor) { class CommaExprValue (line 445) | class CommaExprValue extends SemanticsValue { method constructor (line 446) | constructor(type: ValueType, public exprs: SemanticsValue[]) { method dump (line 449) | dump(writer: DumpWriter) { method forEachChild (line 459) | forEachChild(visitor: SemanticsValueVisitor) { class FunctionCallBaseValue (line 464) | class FunctionCallBaseValue extends SemanticsValue { method constructor (line 465) | constructor( method setTypeArguments (line 476) | setTypeArguments(typeArgs: ValueType[]) { method typeArguments (line 480) | get typeArguments(): ValueType[] | undefined { method forEachChild (line 484) | forEachChild(visitor: SemanticsValueVisitor) { class FunctionCallValue (line 491) | class FunctionCallValue extends FunctionCallBaseValue { method constructor (line 492) | constructor( method dump (line 506) | dump(writer: DumpWriter) { method forEachChild (line 516) | forEachChild(visitor: SemanticsValueVisitor) { class EnumerateKeysGetValue (line 522) | class EnumerateKeysGetValue extends SemanticsValue { method constructor (line 523) | constructor(public type: ValueType, public obj: SemanticsValue) { method dump (line 527) | dump(writer: DumpWriter) { method forEachChild (line 534) | forEachChild(visitor: SemanticsValueVisitor) { class NewClosureFunction (line 539) | class NewClosureFunction extends SemanticsValue { method constructor (line 540) | constructor( method toString (line 547) | toString(): string { method forEachChild (line 551) | forEachChild(visitor: SemanticsValueVisitor) { class ClosureCallValue (line 560) | class ClosureCallValue extends FunctionCallBaseValue { method constructor (line 561) | constructor( method forEachChild (line 575) | forEachChild(visitor: SemanticsValueVisitor) { class ConstructorCallValue (line 581) | class ConstructorCallValue extends FunctionCallBaseValue { method constructor (line 582) | constructor( method forEachChild (line 596) | forEachChild(visitor: SemanticsValueVisitor) { class AnyCallValue (line 602) | class AnyCallValue extends SemanticsValue { method constructor (line 603) | constructor( method forEachChild (line 611) | forEachChild(visitor: SemanticsValueVisitor) { type ElementGetValueKind (line 617) | type ElementGetValueKind = class ElementGetValue (line 626) | class ElementGetValue extends SemanticsValue { method constructor (line 627) | constructor( method dump (line 636) | dump(writer: DumpWriter) { method forEachChild (line 646) | forEachChild(visitor: SemanticsValueVisitor) { type ElementSetValueKind (line 652) | type ElementSetValueKind = class ElementSetValue (line 660) | class ElementSetValue extends SemanticsValue { method constructor (line 661) | constructor( method dump (line 672) | dump(writer: DumpWriter) { method forEachChild (line 685) | forEachChild(visitor: SemanticsValueVisitor) { type CastValueKind (line 692) | type CastValueKind = class CastValue (line 707) | class CastValue extends SemanticsValue { method constructor (line 710) | constructor( method dump (line 718) | dump(writer: DumpWriter) { method forEachChild (line 730) | forEachChild(visitor: SemanticsValueVisitor) { class InstanceOfValue (line 735) | class InstanceOfValue extends SemanticsValue { method constructor (line 736) | constructor( method forEachChild (line 743) | forEachChild(visitor: SemanticsValueVisitor) { class NewClassValue (line 748) | class NewClassValue extends SemanticsValue { method constructor (line 749) | constructor(type: ValueType) { type ToStringValueKind (line 754) | type ToStringValueKind = class ToStringValue (line 758) | class ToStringValue extends SemanticsValue { method constructor (line 759) | constructor(kind: ToStringValueKind, public value: SemanticsValue) { method dump (line 763) | dump(writer: DumpWriter) { method forEachChild (line 770) | forEachChild(visitor: SemanticsValueVisitor) { class TypeofValue (line 778) | class TypeofValue extends SemanticsValue { method constructor (line 779) | constructor(public value: SemanticsValue) { method forEachChild (line 783) | forEachChild(visitor: SemanticsValueVisitor) { class TemplateExprValue (line 788) | class TemplateExprValue extends SemanticsValue { method constructor (line 789) | constructor(public head: SemanticsValue, public follows: SemanticsValu... method forEachChild (line 793) | forEachChild(visitor: SemanticsValueVisitor): void { class UnimplementValue (line 799) | class UnimplementValue extends SemanticsValue { method constructor (line 800) | constructor(public tsNode: ts.Node) { method toString (line 804) | toString(): string { class DynamicGetValue (line 819) | class DynamicGetValue extends SemanticsValue { method constructor (line 824) | constructor( method toString (line 833) | toString(): string { method forEachChild (line 837) | forEachChild(visitor: SemanticsValueVisitor) { class DynamicSetValue (line 843) | class DynamicSetValue extends SemanticsValue { method constructor (line 844) | constructor( method toString (line 853) | toString(): string { method forEachChild (line 857) | forEachChild(visitor: SemanticsValueVisitor) { class DynamicCallValue (line 863) | class DynamicCallValue extends FunctionCallBaseValue { method constructor (line 864) | constructor(public owner: SemanticsValue, public name: string) { method toString (line 875) | toString(): string { method forEachChild (line 879) | forEachChild(visitor: SemanticsValueVisitor) { class ShapeGetValue (line 885) | class ShapeGetValue extends SemanticsValue { method constructor (line 886) | constructor( method toString (line 894) | toString(): string { method forEachChild (line 898) | forEachChild(visitor: SemanticsValueVisitor) { class ShapeSetValue (line 904) | class ShapeSetValue extends SemanticsValue { method constructor (line 905) | constructor( method toString (line 915) | toString(): string { method forEachChild (line 919) | forEachChild(visitor: SemanticsValueVisitor) { class ShapeCallValue (line 925) | class ShapeCallValue extends FunctionCallBaseValue { method constructor (line 926) | constructor( method forEachChild (line 934) | forEachChild(visitor: SemanticsValueVisitor) { method toString (line 939) | toString(): string { class OffsetGetValue (line 944) | class OffsetGetValue extends SemanticsValue { method constructor (line 945) | constructor( method forEachChild (line 953) | forEachChild(visitor: SemanticsValueVisitor) { class OffsetSetValue (line 959) | class OffsetSetValue extends SemanticsValue { method constructor (line 960) | constructor( method forEachChild (line 970) | forEachChild(visitor: SemanticsValueVisitor) { class OffsetGetterValue (line 976) | class OffsetGetterValue extends SemanticsValue { method constructor (line 977) | constructor( method forEachChild (line 985) | forEachChild(visitor: SemanticsValueVisitor) { class OffsetSetterValue (line 991) | class OffsetSetterValue extends SemanticsValue { method constructor (line 992) | constructor( method forEachChild (line 1003) | forEachChild(visitor: SemanticsValueVisitor) { class OffsetCallValue (line 1009) | class OffsetCallValue extends FunctionCallBaseValue { method constructor (line 1010) | constructor( method forEachChild (line 1018) | forEachChild(visitor: SemanticsValueVisitor) { method toString (line 1023) | toString(): string { class VTableGetValue (line 1028) | class VTableGetValue extends SemanticsValue { method constructor (line 1029) | constructor( method forEachChild (line 1037) | forEachChild(visitor: SemanticsValueVisitor) { class VTableSetValue (line 1043) | class VTableSetValue extends SemanticsValue { method constructor (line 1044) | constructor( method forEachChild (line 1054) | forEachChild(visitor: SemanticsValueVisitor) { class VTableCallValue (line 1060) | class VTableCallValue extends FunctionCallBaseValue { method constructor (line 1061) | constructor( method forEachChild (line 1069) | forEachChild(visitor: SemanticsValueVisitor) { class DirectGetterValue (line 1075) | class DirectGetterValue extends SemanticsValue { method constructor (line 1076) | constructor( method forEachChild (line 1084) | forEachChild(visitor: SemanticsValueVisitor) { class DirectCallValue (line 1090) | class DirectCallValue extends FunctionCallBaseValue { method constructor (line 1091) | constructor( method forEachChild (line 1103) | forEachChild(visitor: SemanticsValueVisitor) { class DirectSetterValue (line 1109) | class DirectSetterValue extends SemanticsValue { method constructor (line 1110) | constructor( method forEachChild (line 1121) | forEachChild(visitor: SemanticsValueVisitor) { class DirectGetValue (line 1127) | class DirectGetValue extends SemanticsValue { method constructor (line 1128) | constructor( method toString (line 1136) | toString(): string { method forEachChild (line 1140) | forEachChild(visitor: SemanticsValueVisitor) { type MemberGetValue (line 1146) | type MemberGetValue = type MemberSetValue (line 1154) | type MemberSetValue = type MemberCallValue (line 1162) | type MemberCallValue = class NewLiteralObjectValue (line 1169) | class NewLiteralObjectValue extends SemanticsValue { method constructor (line 1171) | constructor(type: ObjectType) { method objectType (line 1177) | get objectType(): ObjectType { method setField (line 1181) | setField(index: number, value: SemanticsValue) { class NewLiteralArrayValue (line 1186) | class NewLiteralArrayValue extends SemanticsValue { method constructor (line 1187) | constructor(type: ValueType, public initValues: SemanticsValue[]) { class NewConstructorObjectValue (line 1195) | class NewConstructorObjectValue extends SemanticsValue { method constructor (line 1196) | constructor( method objectType (line 1214) | get objectType(): ObjectType { method setTypeArguments (line 1220) | setTypeArguments(typeArgs: ValueType[]) { method typeArguments (line 1224) | get typeArguments(): ValueType[] | undefined { method forEachChild (line 1228) | forEachChild(visitor: SemanticsValueVisitor) { class NewArrayValue (line 1235) | class NewArrayValue extends NewConstructorObjectValue { method constructor (line 1236) | constructor(type: ArrayType | WASMArrayType, parameters: SemanticsValu... class NewArrayLenValue (line 1241) | class NewArrayLenValue extends SemanticsValue { method constructor (line 1242) | constructor( method setTypeArguments (line 1254) | setTypeArguments(typeArgs: ValueType[]) { method typeArguments (line 1258) | get typeArguments(): ValueType[] | undefined { class NewFromClassObjectValue (line 1263) | class NewFromClassObjectValue extends NewConstructorObjectValue { method constructor (line 1264) | constructor( class BlockValue (line 1275) | class BlockValue extends SemanticsValue { method constructor (line 1280) | constructor( method addHead (line 1289) | addHead(value: SemanticsValue) { method addValue (line 1295) | addValue(value: SemanticsValue) { class BlockBranchValue (line 1302) | class BlockBranchValue extends SemanticsValue { method constructor (line 1303) | constructor(public readonly target: BlockValue) { class BlockBranchIfValue (line 1308) | class BlockBranchIfValue extends SemanticsValue { method constructor (line 1309) | constructor( class ReturnValue (line 1318) | class ReturnValue extends SemanticsValue { method constructor (line 1319) | constructor(public expr: SemanticsValue | undefined) { class ReBindingValue (line 1324) | class ReBindingValue extends SemanticsValue { method constructor (line 1325) | constructor(public contextVar: VarDeclareNode) { class SpreadValue (line 1330) | class SpreadValue extends SemanticsValue { method constructor (line 1331) | constructor(type: ValueType, public target: SemanticsValue) { function operatorString (line 1337) | function operatorString(kind: ts.BinaryOperator): string { FILE: src/semantics/value_types.ts type ValueTypeKind (line 16) | enum ValueTypeKind { class ValueType (line 50) | class ValueType { method constructor (line 51) | constructor(public kind: ValueTypeKind, public typeId: number) {} method equals (line 53) | equals(other: ValueType): boolean { method toString (line 70) | toString(): string { method isBuiltin (line 80) | get isBuiltin(): boolean { method setBuiltin (line 84) | setBuiltin() { method isPrimitive (line 88) | get isPrimitive(): boolean { method setPrimitive (line 92) | setPrimitive() { method isWASM (line 96) | get isWASM(): boolean { method setWASM (line 100) | setWASM() { method setGenericOwner (line 104) | setGenericOwner(vt: ValueType) { method genericOwner (line 108) | get genericOwner(): ValueType | undefined { method isSpecialized (line 112) | isSpecialized(): boolean { method genericType (line 116) | get genericType(): ValueType { type PrimitiveValueType (line 121) | type PrimitiveValueType = class PrimitiveType (line 129) | class PrimitiveType extends ValueType { method constructor (line 130) | constructor(kind: ValueTypeKind, typeId: number) { method toString (line 135) | toString(): string { class WASMType (line 164) | class WASMType extends ValueType { method constructor (line 165) | constructor(kind: ValueTypeKind, typeId: number) { method toString (line 170) | toString(): string { constant WASM (line 175) | const WASM = { class WASMArrayType (line 183) | class WASMArrayType extends WASMType { method constructor (line 189) | constructor( class WASMStructType (line 209) | class WASMStructType extends WASMType { method constructor (line 216) | constructor( class EmptyType (line 248) | class EmptyType extends ValueType { method constructor (line 249) | constructor() { class ClosureContextType (line 254) | class ClosureContextType extends ValueType { method constructor (line 255) | constructor( class ValueTypeWithArguments (line 263) | class ValueTypeWithArguments extends ValueType { method constructor (line 264) | constructor(kind: ValueTypeKind, typeId: number) { method hasUninitedTypeArguments (line 271) | get hasUninitedTypeArguments(): boolean { method addTypeParameter (line 277) | addTypeParameter(type: TypeParameterType) { method setTypeArguments (line 288) | setTypeArguments(types: TypeParameterType[]) { method typeArguments (line 292) | get typeArguments(): TypeParameterType[] | undefined { method inTypeArguments (line 296) | inTypeArguments(valueType: ValueType): boolean { method setSpecialTypeArguments (line 301) | setSpecialTypeArguments(types: ValueType[]) { method specialTypeArguments (line 305) | get specialTypeArguments(): ValueType[] | undefined { method getSpecialTypeArg (line 309) | getSpecialTypeArg(type: TypeParameterType) { method getSpecialTypeArgs (line 322) | getSpecialTypeArgs(types: TypeParameterType[]) { class SetType (line 331) | class SetType extends ValueTypeWithArguments { method constructor (line 332) | constructor( method equals (line 340) | equals(other: ValueType): boolean { method toString (line 349) | toString(): string { class MapType (line 354) | class MapType extends ValueTypeWithArguments { method constructor (line 355) | constructor( method equals (line 364) | equals(other: ValueType): boolean { method toString (line 374) | toString(): string { type ObjectTypeFlag (line 381) | enum ObjectTypeFlag { class ObjectType (line 388) | class ObjectType extends ValueTypeWithArguments { method constructor (line 396) | constructor( method isClassObject (line 405) | public isClassObject(): boolean { method isLiteralObject (line 408) | public isLiteralObject(): boolean { method isObject (line 411) | public isObject(): boolean { method classType (line 415) | public get classType(): ObjectType | undefined { method classType (line 421) | public set classType(c: ObjectType | undefined) { method instanceType (line 425) | public get instanceType(): ObjectType | undefined { method instanceType (line 429) | public set instanceType(inst: ObjectType | undefined) { method numberIndexType (line 433) | public get numberIndexType(): ValueType | undefined { method setNumberIndexType (line 437) | public setNumberIndexType(type: ValueType) { method stringIndexType (line 441) | public get stringIndexType(): ValueType | undefined { method setStringIndexType (line 444) | public setStringIndexType(type: ValueType) { method implId (line 448) | public get implId() { method implId (line 452) | public set implId(id: number) { method clone (line 456) | public clone( method equals (line 467) | equals(other: ValueType): boolean { method toString (line 486) | toString(): string { class ArrayType (line 493) | class ArrayType extends ObjectType { method constructor (line 494) | constructor(typeId: number, meta: ObjectDescription, flags: number) { method setElement (line 501) | setElement(element: ValueType) { method element (line 505) | get element(): ValueType { method numberIndexType (line 510) | public get numberIndexType(): ValueType | undefined { method equals (line 519) | equals(other: ValueType): boolean { method clone (line 526) | public clone( method toString (line 534) | toString(): string { class UnionType (line 546) | class UnionType extends ValueType { method constructor (line 547) | constructor( method toString (line 555) | toString(): string { method equals (line 565) | equals(other: ValueType): boolean { class FunctionType (line 589) | class FunctionType extends ValueTypeWithArguments { method constructor (line 590) | constructor( method getRestParam (line 601) | getRestParam(): ValueType | undefined { method hasParamType (line 611) | hasParamType() { method getParamType (line 615) | getParamType(idx: number): ValueType | undefined { method equals (line 625) | equals(other: ValueType): boolean { method toString (line 640) | toString(): string { type TypeParameterOwnerType (line 649) | enum TypeParameterOwnerType { class TypeParameterType (line 655) | class TypeParameterType extends ValueType { method constructor (line 660) | constructor( method setSpecialTypeArgument (line 670) | setSpecialTypeArgument(type: ValueType) { method specialTypeArgument (line 674) | get specialTypeArgument(): ValueType | undefined { method setOwnedByFunction (line 678) | setOwnedByFunction() { method ownedByFunction (line 681) | get ownedByFunction(): boolean { method setOwnedByClass (line 685) | setOwnedByClass() { method ownedByClass (line 688) | get ownedByClass(): boolean { method setOwnedByClosure (line 692) | setOwnedByClosure() { method ownedByClosure (line 695) | get ownedByClosure(): boolean { method toString (line 699) | toString(): string { method equals (line 703) | equals(other: ValueType) { class EnumType (line 714) | class EnumType extends ValueType { method constructor (line 715) | constructor( method toString (line 724) | toString(): string { class TupleType (line 739) | class TupleType extends ValueType { method constructor (line 740) | constructor(typeId: number, public elements: ValueType[]) { method toString (line 744) | toString(): string { FILE: src/statement.ts type StatementKind (line 48) | type StatementKind = ts.SyntaxKind; class Statement (line 50) | class Statement { method constructor (line 55) | constructor(private kind: StatementKind) {} method statementKind (line 57) | get statementKind(): StatementKind { method setScope (line 61) | setScope(scope: Scope) { method getScope (line 65) | getScope(): Scope | null { method clone (line 69) | clone() { class ModDeclStatement (line 78) | class ModDeclStatement extends Statement { method constructor (line 79) | constructor(public scope: Scope) { method clone (line 83) | clone(): ModDeclStatement { class IfStatement (line 89) | class IfStatement extends Statement { method constructor (line 90) | constructor( method ifCondition (line 98) | get ifCondition(): Expression { method ifIfTrue (line 102) | get ifIfTrue(): Statement { method ifIfFalse (line 106) | get ifIfFalse(): Statement | null { method clone (line 110) | clone(): IfStatement { class BlockStatement (line 120) | class BlockStatement extends Statement { method constructor (line 121) | constructor() { method clone (line 125) | clone(): BlockStatement { class ReturnStatement (line 133) | class ReturnStatement extends Statement { method constructor (line 134) | constructor(private expr: Expression | null) { method returnExpression (line 138) | get returnExpression(): Expression | null { method clone (line 142) | clone(): ReturnStatement { class BaseLoopStatement (line 149) | class BaseLoopStatement extends Statement { method constructor (line 150) | constructor( method loopLabel (line 161) | get loopLabel(): string { method loopBlockLabel (line 165) | get loopBlockLabel(): string { method loopContinueLable (line 169) | get loopContinueLable(): string | null { method loopCondtion (line 173) | get loopCondtion(): Expression { method loopBody (line 177) | get loopBody(): Statement { method clone (line 181) | clone(): BaseLoopStatement { class ForStatement (line 194) | class ForStatement extends Statement { method constructor (line 195) | constructor( method forLoopLabel (line 208) | get forLoopLabel(): string { method forLoopBlockLabel (line 212) | get forLoopBlockLabel(): string { method forContinueLable (line 216) | get forContinueLable(): string | null { method forLoopCondtion (line 220) | get forLoopCondtion(): Expression | null { method forLoopBody (line 224) | get forLoopBody(): Statement { method forLoopInitializer (line 228) | get forLoopInitializer(): Statement | null { method forLoopIncrementor (line 232) | get forLoopIncrementor(): Expression | null { method clone (line 236) | clone(): ForStatement { class ExpressionStatement (line 250) | class ExpressionStatement extends Statement { method constructor (line 251) | constructor(private expr: Expression) { method expression (line 255) | get expression(): Expression { method clone (line 259) | clone(): ExpressionStatement { class EmptyStatement (line 265) | class EmptyStatement extends Statement { method constructor (line 266) | constructor() { method clone (line 270) | clone(): EmptyStatement { class CaseClause (line 276) | class CaseClause extends Statement { method constructor (line 277) | constructor(private expr: Expression, private statements: Statement[]) { method caseExpr (line 281) | get caseExpr(): Expression { method caseStatements (line 285) | get caseStatements(): Statement[] { method clone (line 289) | clone(): CaseClause { class DefaultClause (line 295) | class DefaultClause extends Statement { method constructor (line 296) | constructor(private statements: Statement[]) { method caseStatements (line 300) | get caseStatements(): Statement[] { method clone (line 304) | clone(): DefaultClause { class CaseBlock (line 310) | class CaseBlock extends Statement { method constructor (line 311) | constructor( method switchLabel (line 319) | get switchLabel(): string { method breakLabel (line 323) | get breakLabel(): string { method caseCauses (line 327) | get caseCauses(): Statement[] { method clone (line 331) | clone(): CaseBlock { class SwitchStatement (line 340) | class SwitchStatement extends Statement { method constructor (line 341) | constructor(private cond: Expression, private caseBlock: Statement) { method switchCondition (line 345) | get switchCondition(): Expression { method switchCaseBlock (line 349) | get switchCaseBlock(): Statement { method clone (line 353) | clone(): SwitchStatement { class BreakStatement (line 362) | class BreakStatement extends Statement { method constructor (line 363) | constructor(private label: string) { method breakLabel (line 367) | get breakLabel(): string { method clone (line 371) | clone(): BreakStatement { class ContinueStatement (line 377) | class ContinueStatement extends Statement { method constructor (line 378) | constructor(private label: string) { method continueLabel (line 382) | get continueLabel(): string { method clone (line 386) | clone(): ContinueStatement { class FunctionDeclarationStatement (line 392) | class FunctionDeclarationStatement extends Statement { method constructor (line 395) | constructor(private _funcScope: FunctionScope) { method funcScope (line 399) | get funcScope(): FunctionScope { method clone (line 403) | clone(): FunctionDeclarationStatement { class VariableStatement (line 409) | class VariableStatement extends Statement { method constructor (line 412) | constructor() { method addVariable (line 416) | addVariable(variable: Variable) { method varArray (line 420) | get varArray(): Variable[] { method clone (line 424) | clone(): VariableStatement { class ImportDeclaration (line 433) | class ImportDeclaration extends Statement { method constructor (line 436) | constructor() { method clone (line 440) | clone(): ImportDeclaration { class ThrowStatement (line 446) | class ThrowStatement extends Statement { method constructor (line 449) | constructor(expr: Expression) { method clone (line 454) | clone(): ThrowStatement { class CatchClauseStatement (line 460) | class CatchClauseStatement extends Statement { method constructor (line 464) | constructor(catchBlock: BlockStatement) { method clone (line 469) | clone(): CatchClauseStatement { class TryStatement (line 476) | class TryStatement extends Statement { method constructor (line 482) | constructor(tryLable: string, tryBlock: BlockStatement) { method clone (line 488) | clone(): TryStatement { class StatementProcessor (line 496) | class StatementProcessor { method constructor (line 506) | constructor(private parserCtx: ParserContext) {} method visit (line 508) | visit() { method visitNode (line 541) | visitNode(node: ts.Node): Statement | null { method visitNodeInternal (line 547) | visitNodeInternal(node: ts.Node): Statement | null { method addVariableInVarStmt (line 1083) | addVariableInVarStmt( method createFieldAssignStmt (line 1123) | createFieldAssignStmt( method convertForOfToForLoop (line 1149) | private convertForOfToForLoop( method convertForInToForLoop (line 1376) | private convertForInToForLoop( method getClassIterPropNames (line 1525) | private getClassIterPropNames(classType: TSClass): Expression[] { method getLoopContinueLabel (line 1534) | private getLoopContinueLabel(loopLabel: string): string { class StatementSpecializationProcessor (line 1539) | class StatementSpecializationProcessor { method constructor (line 1541) | constructor(private parserCtx: ParserContext) {} method visit (line 1543) | visit() { method visitScope (line 1550) | visitScope(scope: Scope) { method foreachScopeChildren (line 1660) | foreachScopeChildren(scope: Scope) { method processStatement (line 1667) | processStatement( FILE: src/type.ts type TypeKind (line 36) | const enum TypeKind { class Type (line 67) | class Type { method kind (line 72) | get kind(): TypeKind { method toString (line 76) | toString(): string { method isDeclare (line 80) | get isDeclare(): boolean { class WasmType (line 85) | class WasmType extends Type { method constructor (line 88) | constructor(private type: string) { method getName (line 128) | public getName(): string { class WasmArrayType (line 133) | class WasmArrayType extends WasmType { method constructor (line 139) | constructor( class WasmStructType (line 159) | class WasmStructType extends WasmType { method constructor (line 166) | constructor( class GenericType (line 198) | class GenericType extends Type { method constructor (line 199) | constructor() { class Primitive (line 205) | class Primitive extends Type { method constructor (line 206) | constructor(private type: string) { method toString (line 243) | toString(): string { class TSContext (line 248) | class TSContext extends Type { method constructor (line 249) | constructor( method toString (line 257) | toString(): string { class TSTypeParameter (line 292) | class TSTypeParameter extends Type { method constructor (line 299) | constructor(name: string, wide: Type, index: number, def?: Type) { method name (line 307) | get name(): string { method wideType (line 311) | get wideType(): Type { method index (line 315) | get index(): number { method defaultType (line 319) | get defaultType(): Type | undefined { method toString (line 323) | toString(): string { type TsClassField (line 328) | interface TsClassField { type FunctionKind (line 337) | const enum FunctionKind { function getMethodPrefix (line 346) | function getMethodPrefix(kind: FunctionKind): string { type TsClassFunc (line 359) | interface TsClassFunc { type ClassMethod (line 365) | interface ClassMethod { class TSTypeWithArguments (line 370) | class TSTypeWithArguments extends Type { method constructor (line 376) | constructor() { method typeArguments (line 380) | get typeArguments(): TSTypeParameter[] | undefined { method addTypeParameter (line 384) | addTypeParameter(type: TSTypeParameter) { method setTypeParameters (line 396) | setTypeParameters(types: TSTypeParameter[] | undefined) { method getTypeParameter (line 400) | getTypeParameter(name: string): TSTypeParameter | undefined { method genericOwner (line 408) | get genericOwner(): TSTypeWithArguments | undefined { method setGenericOwner (line 412) | setGenericOwner(owner: TSTypeWithArguments | undefined) { method belongedScope (line 416) | get belongedScope(): Scope | undefined { method setBelongedScope (line 420) | setBelongedScope(scope: Scope | undefined) { method specializedArguments (line 424) | get specializedArguments(): Type[] | undefined { method setSpecializedArguments (line 428) | setSpecializedArguments(types: Type[] | undefined) { type TraverseStatus (line 433) | const enum TraverseStatus { class TSClass (line 439) | class TSClass extends TSTypeWithArguments { method constructor (line 462) | constructor() { method toString (line 467) | toString(): string { method fields (line 473) | get fields(): Array { method staticFields (line 477) | get staticFields(): TsClassField[] { method memberFuncs (line 481) | get memberFuncs(): Array { method ctorType (line 485) | set ctorType(ctor: TSFunction) { method ctorType (line 489) | get ctorType(): TSFunction { method isDeclare (line 493) | get isDeclare(): boolean { method isDeclare (line 497) | set isDeclare(value: boolean) { method numberIndexType (line 501) | get numberIndexType(): Type | undefined { method setNumberIndexType (line 505) | setNumberIndexType(type: Type) { method stringIndexType (line 509) | get stringIndexType(): Type | undefined { method setStringIndexType (line 513) | setStringIndexType(type: Type) { method setBase (line 517) | setBase(base: TSClass): void { method getBase (line 521) | getBase(): TSClass | null { method setDrivedClass (line 525) | setDrivedClass(drived: TSClass): void { method getDrivedClasses (line 530) | getDrivedClasses(): TSClass[] | null { method setImplInfc (line 534) | setImplInfc(infc: TSInterface | null): void { method getImplInfc (line 538) | getImplInfc(): TSInterface | null { method addMemberField (line 542) | addMemberField(memberField: TsClassField): void { method getMemberField (line 546) | getMemberField(name: string): TsClassField | null { method getMemberFieldIndex (line 554) | getMemberFieldIndex(name: string): number { method addStaticMemberField (line 560) | addStaticMemberField(memberField: TsClassField): void { method getStaticMemberField (line 564) | getStaticMemberField(name: string): TsClassField | null { method getStaticFieldIndex (line 572) | getStaticFieldIndex(name: string): number { method addMethod (line 578) | addMethod(classMethod: TsClassFunc): void { method getMethod (line 586) | getMethod( method updateMethod (line 599) | updateMethod( method setClassName (line 614) | setClassName(name: string) { method className (line 618) | get className(): string { method mangledName (line 622) | get mangledName(): string { method mangledName (line 626) | set mangledName(name: string) { method typeId (line 630) | set typeId(id: number) { method typeId (line 634) | get typeId() { method isLiteral (line 638) | set isLiteral(b: boolean) { method isLiteral (line 642) | get isLiteral(): boolean { class TSInterface (line 647) | class TSInterface extends TSClass { method constructor (line 648) | constructor() { class TSArray (line 654) | class TSArray extends Type { method constructor (line 655) | constructor(private _elemType: Type) { method elementType (line 660) | set elementType(type: Type) { method elementType (line 664) | get elementType(): Type { method toString (line 668) | toString(): string { class TSFunction (line 673) | class TSFunction extends TSTypeWithArguments { method toString (line 688) | toString(): string { method constructor (line 694) | constructor(public funcKind: FunctionKind = FunctionKind.DEFAULT) { method returnType (line 699) | set returnType(type: Type) { method returnType (line 703) | get returnType(): Type { method addParamType (line 707) | addParamType(paramType: Type) { method setParamTypes (line 711) | setParamTypes(paramTypes: Type[]) { method getParamTypes (line 715) | getParamTypes(): Type[] { method addIsOptionalParam (line 719) | addIsOptionalParam(isOptional: boolean) { method isOptionalParams (line 723) | get isOptionalParams() { method restParamIdx (line 727) | set restParamIdx(idx: number) { method restParamIdx (line 731) | get restParamIdx() { method hasRest (line 735) | hasRest() { method isMethod (line 739) | get isMethod() { method isMethod (line 743) | set isMethod(value: boolean) { method isDeclare (line 747) | get isDeclare(): boolean { method isDeclare (line 751) | set isDeclare(value: boolean) { method isBinaryenImpl (line 755) | get isBinaryenImpl() { method isBinaryenImpl (line 759) | set isBinaryenImpl(value: boolean) { method isStatic (line 763) | get isStatic() { method isStatic (line 767) | set isStatic(value: boolean) { method isExport (line 771) | get isExport() { method isExport (line 775) | set isExport(value: boolean) { method belongedClass (line 779) | set belongedClass(clazz: TSClass | undefined) { method belongedClass (line 783) | get belongedClass() { method clone (line 788) | public clone(): TSFunction { class TSUnion (line 808) | class TSUnion extends Type { method constructor (line 812) | constructor() { method types (line 816) | get types(): Array { method addType (line 820) | addType(type: Type) { method toString (line 824) | toString(): string { class TSEnum (line 838) | class TSEnum extends Type { method constructor (line 844) | constructor(name: string) { method name (line 849) | get name(): string { method memberType (line 853) | get memberType(): Type { method addMember (line 857) | addMember(name: string, value: number | string) { method getMember (line 878) | getMember(name: string): number | string | undefined { method members (line 882) | get members(): Map { method toString (line 886) | toString(): string { class TSTuple (line 902) | class TSTuple extends Type { method constructor (line 906) | constructor() { method elements (line 910) | get elements(): Array { method addType (line 914) | addType(type: Type) { method toString (line 918) | toString(): string { type TsCustomType (line 925) | interface TsCustomType { class TypeResolver (line 930) | class TypeResolver { method constructor (line 947) | constructor(private parserCtx: ParserContext) { method visitSymbolNode (line 952) | visitSymbolNode(fileList: ts.SourceFile[]) { method visit (line 961) | visit() { method visitObjectSymbolNode (line 983) | private visitObjectSymbolNode(node: ts.Node) { method visitNode (line 1014) | private visitNode(node: ts.Node) { method getTypeFromTSTypeMap (line 1239) | private getTypeFromTSTypeMap(tsType: ts.Type, customName: string) { method addTypeToTSTypeMap (line 1251) | private addTypeToTSTypeMap( method addTypeToScopeTypeMap (line 1273) | private addTypeToScopeTypeMap(type: Type, node: ts.Node) { method getTsTypeRawName (line 1301) | getTsTypeRawName(node: ts.Node, isReturnType = false): string | undefi... method getTsTypeName (line 1316) | getTsTypeName(node: ts.Node) { method getTypeByInitializer (line 1332) | getTypeByInitializer(node: ts.Node): Type | undefined { method generateNodeType (line 1346) | generateNodeType(node: ts.Node): Type { method tsTypeToType (line 1455) | public tsTypeToType( method parseTupleType (line 1649) | private parseTupleType( method parseUnionType (line 1670) | private parseUnionType( method parseEnumType (line 1712) | private parseEnumType(node: ts.EnumDeclaration): Type { method parseEnumMemberValue (line 1734) | private parseEnumMemberValue( method isObject (line 1775) | private isObject(type: ts.Type): type is ts.ObjectType { method isTypeReference (line 1779) | private isTypeReference(type: ts.Type): type is ts.TypeReference { method isInterface (line 1786) | private isInterface(type: ts.Type): type is ts.InterfaceType { method isObjectLiteral (line 1793) | private isObjectLiteral(type: ts.Type) { method isObjectType (line 1802) | private isObjectType(type: ts.Type) { method isTupleType (line 1811) | private isTupleType(tsType: ts.Type) { method isArray (line 1820) | private isArray(type: ts.Type): type is ts.TypeReference { method isFunction (line 1828) | private isFunction(type: ts.Type): type is ts.ObjectType { method parseObjectType (line 1835) | private parseObjectType(node: ts.Node, tsClass: TSClass) { method parseSignature (line 1881) | private parseSignature(signature: ts.Signature | undefined) { method parseNestDeclare (line 1996) | private parseNestDeclare( method parseIndexSignature (line 2022) | private parseIndexSignature( method parseInfcType (line 2051) | private parseInfcType(node: ts.InterfaceDeclaration, infc: TSInterface) { method parseClassType (line 2237) | private parseClassType(node: ts.ClassDeclaration, classType: TSClass) { method setMethod (line 2594) | private setMethod( method parseTypeParameters (line 2689) | parseTypeParameters( method parseStatic (line 2737) | private parseStatic(node: ts.FunctionLikeDeclaration): boolean { method parseConstructor (line 2750) | private parseConstructor(ctor: ts.ConstructorDeclaration) { method parseTypeRefRelationship (line 2757) | private parseTypeRefRelationship(type: TSClass) { method parseTypeRefRelationship2 (line 2774) | private parseTypeRefRelationship2(type: Type, refsSet: Set) { method typeIdAllocate (line 2790) | private typeIdAllocate(type: TSClass) { method generateTypeId (line 2832) | private generateTypeId(typeString: string): number { method getShapeDesc (line 2842) | private getShapeDesc(tsClass: TSClass) { method noTypeParmeters (line 2871) | private noTypeParmeters(type: readonly ts.Type[]) { method getTypeString (line 2880) | private getTypeString(type: Type): string { method maybeBuiltinWasmType (line 2915) | public static maybeBuiltinWasmType(node: ts.Node) { method arrayTypeCheck (line 2924) | public arrayTypeCheck(node: ts.Node): boolean { method findTypeInSpecialiezedTypeCache (line 2939) | public static findTypeInSpecialiezedTypeCache( method updateSpecializedTypeCache (line 2963) | public static updateSpecializedTypeCache( class CustomTypeResolver (line 2980) | class CustomTypeResolver { method constructor (line 2983) | constructor(private parserCtx: ParserContext) { method visit (line 2987) | visit() { method parseThis (line 3004) | private parseThis(scope: Scope) { method parseContext (line 3026) | private parseContext(scope: Scope) { method parseParamContextType (line 3085) | private parseParamContextType( method parseVarContextType (line 3100) | private parseVarContextType( FILE: src/utils.ts type importGlobalInfo (line 45) | interface importGlobalInfo { type importFunctionInfo (line 52) | interface importFunctionInfo { type MatchKind (line 59) | enum MatchKind { type CommentKind (line 71) | enum CommentKind { type NativeSignature (line 79) | interface NativeSignature { type Import (line 84) | interface Import { type Export (line 89) | interface Export { type PackedTypeKind (line 93) | enum PackedTypeKind { type MutabilityKind (line 99) | enum MutabilityKind { type NullabilityKind (line 104) | enum NullabilityKind { type WASMArray (line 109) | interface WASMArray { type WASMStruct (line 116) | interface WASMStruct { class Stack (line 124) | class Stack { method push (line 126) | push(item: T) { method pop (line 129) | pop() { method peek (line 135) | peek() { method isEmpty (line 141) | isEmpty() { method clear (line 144) | clear() { method size (line 147) | size() { method getItemAtIdx (line 150) | getItemAtIdx(index: number) { function getCurScope (line 158) | function getCurScope( function getNearestFunctionScopeFromCurrent (line 168) | function getNearestFunctionScopeFromCurrent(currentScope: Scope | null) { function generateNodeExpression (line 179) | function generateNodeExpression( function parentIsFunctionLike (line 186) | function parentIsFunctionLike(node: ts.Node) { function isScopeNode (line 202) | function isScopeNode(node: ts.Node) { function mangling (line 229) | function mangling( function getModulePath (line 285) | function getModulePath( function getGlobalScopeByModuleName (line 302) | function getGlobalScopeByModuleName( function getImportIdentifierName (line 314) | function getImportIdentifierName( function getExportIdentifierName (line 388) | function getExportIdentifierName( function getBuiltInFuncName (line 435) | function getBuiltInFuncName(oriFuncName: string) { function getUtilsFuncName (line 441) | function getUtilsFuncName(name: string) { type SourceLocation (line 447) | interface SourceLocation { function getNodeLoc (line 452) | function getNodeLoc(node: ts.Node) { function addSourceMapLoc (line 461) | function addSourceMapLoc(irNode: Statement | Expression, node: ts.Node) { function processEscape (line 473) | function processEscape(str: string) { function decimalizationInternal (line 502) | function decimalizationInternal(value: string, systemNumeration: number) { function genericFunctionProcessor (line 516) | function genericFunctionProcessor( function genericClassProcessor (line 626) | function genericClassProcessor( function methodSpecialize (line 911) | function methodSpecialize( function genericCoreProcessor (line 990) | function genericCoreProcessor( function processGenericType (line 1107) | function processGenericType( function createScopeBySpecializedType (line 1206) | function createScopeBySpecializedType( function createClassScope (line 1243) | function createClassScope( function createFunctionScope (line 1339) | function createFunctionScope( function isTypeGeneric (line 1451) | function isTypeGeneric(type: Type): boolean { function calculateTypeArguments (line 1546) | function calculateTypeArguments( function getTypeSignature (line 1652) | function getTypeSignature( type PredefinedTypeId (line 1678) | enum PredefinedTypeId { function getBuiltinType (line 1746) | function getBuiltinType(typeStr: string): Type | undefined { function isImportComment (line 1756) | function isImportComment(obj: any): obj is Import { function isNativeSignatureComment (line 1760) | function isNativeSignatureComment(obj: any): obj is NativeSignature { function isExportComment (line 1764) | function isExportComment(obj: any): obj is Export { function isWASMArrayComment (line 1768) | function isWASMArrayComment(obj: any): obj is WASMArray { function isWASMStructComment (line 1772) | function isWASMStructComment(obj: any): obj is WASMStruct { function isPackedTypeKind (line 1776) | function isPackedTypeKind(packedType: string) { function isMutabilityKind (line 1780) | function isMutabilityKind(mutability: string) { function isNullabilityKind (line 1784) | function isNullabilityKind(nullability: string) { function parseComment (line 1790) | function parseComment(commentStr: string) { function parseCommentBasedNode (line 1954) | function parseCommentBasedNode(node: ts.Node) { function parseCommentBasedTypeAliasNode (line 1968) | function parseCommentBasedTypeAliasNode(node: ts.TypeAliasDeclaration) { function parseCommentBasedFuncNode (line 1981) | function parseCommentBasedFuncNode( function convertWindowsPath (line 2013) | function convertWindowsPath(path: string) { FILE: src/variable.ts type ModifierKind (line 18) | enum ModifierKind { class Variable (line 24) | class Variable { method constructor (line 36) | constructor( method varName (line 45) | get varName(): string { method varType (line 49) | set varType(type: Type) { method varType (line 53) | get varType(): Type { method varModifiers (line 57) | get varModifiers(): (ModifierKind | ts.SyntaxKind)[] { method isConst (line 61) | public isConst(): boolean { method isReadOnly (line 65) | public isReadOnly(): boolean { method isDeclare (line 69) | public isDeclare(): boolean { method isExport (line 78) | public isExport(): boolean { method isDefault (line 82) | public isDefault(): boolean { method isFuncScopedVar (line 86) | public isFuncScopedVar(): boolean { method setInitExpr (line 90) | public setInitExpr(expr: Expression) { method initExpression (line 94) | get initExpression(): Expression | null { method varIsClosure (line 98) | get varIsClosure(): boolean { method setVarIndex (line 102) | public setVarIndex(varIndex: number) { method varIndex (line 106) | get varIndex(): number { method isLocalVar (line 110) | public isLocalVar(): boolean { method setIsLocalVar (line 114) | public setIsLocalVar(isLocal: boolean): void { method setVarIsClosure (line 118) | public setVarIsClosure(): void { class Parameter (line 123) | class Parameter extends Variable { method constructor (line 127) | constructor( method isOptional (line 142) | get isOptional(): boolean { method destructuring (line 146) | get destructuring(): boolean { class VariableScanner (line 151) | class VariableScanner { method constructor (line 158) | constructor(private parserCtx: ParserContext) { method visit (line 164) | visit() { method visitNode (line 172) | visitNode(node: ts.Node): void { class VariableInit (line 304) | class VariableInit { method constructor (line 310) | constructor(private parserCtx: ParserContext) { method visit (line 315) | visit() { method visitNode (line 323) | visitNode(node: ts.Node): void { FILE: tests/benchmark/any_basic_type_access.js function main (line 7) | function main() { FILE: tests/benchmark/any_basic_type_access.ts function main (line 6) | function main() { FILE: tests/benchmark/any_complex_type_access.js function Foo (line 8) | function Foo() { function main (line 14) | function main() { FILE: tests/benchmark/any_complex_type_access.ts class Foo (line 6) | class Foo { function main (line 11) | function main() { FILE: tests/benchmark/array_access.js function main (line 7) | function main() { FILE: tests/benchmark/array_access.ts function main (line 6) | function main() { FILE: tests/benchmark/array_access_i32.js function main (line 7) | function main() { FILE: tests/benchmark/array_access_i32.ts type i32 (line 6) | type i32 = number; function main (line 8) | function main() { FILE: tests/benchmark/binarytrees_class.js function Tree (line 7) | function Tree(left, right) { function main (line 15) | function main() { function checksum (line 32) | function checksum(node) { function createTree (line 41) | function createTree(depth) { FILE: tests/benchmark/binarytrees_class.ts type ITreeNode (line 5) | interface ITreeNode { class Tree (line 10) | class Tree implements ITreeNode { method constructor (line 14) | constructor(left: ITreeNode | null, right: ITreeNode | null) { function main (line 20) | function main() { function checksum (line 38) | function checksum(node: ITreeNode | null): number { function createTree (line 48) | function createTree(depth: number): ITreeNode { FILE: tests/benchmark/binarytrees_interface.js function main (line 6) | function main() { function checksum (line 23) | function checksum(node) { function createTree (line 32) | function createTree(depth) { FILE: tests/benchmark/binarytrees_interface.ts type ITreeNode (line 5) | interface ITreeNode { function main (line 10) | function main() { function checksum (line 28) | function checksum(node: ITreeNode | null): number { function createTree (line 38) | function createTree(depth: number): ITreeNode { FILE: tests/benchmark/class_access.js function Foo (line 8) | function Foo(x) { function main (line 16) | function main() { FILE: tests/benchmark/class_access.ts class Foo (line 6) | class Foo { method bar (line 8) | bar() { method constructor (line 11) | constructor(x: number) { function main (line 16) | function main() { FILE: tests/benchmark/class_allocation.js function Foo (line 8) | function Foo(x) { function main (line 16) | function main() { FILE: tests/benchmark/class_allocation.ts class Foo (line 6) | class Foo { method bar (line 8) | bar() { method constructor (line 11) | constructor(x: number) { function main (line 16) | function main() { FILE: tests/benchmark/fibonacci.js function fibonacci (line 7) | function fibonacci(num) { function main (line 15) | function main() { FILE: tests/benchmark/fibonacci.ts function fibonacci (line 6) | function fibonacci(num: number): number { function main (line 14) | function main() { FILE: tests/benchmark/interface_access_field_fastpath.js function Bar (line 8) | function Bar() { function main (line 14) | function main() { FILE: tests/benchmark/interface_access_field_fastpath.ts type Foo (line 6) | interface Foo { class Bar (line 12) | class Bar { function main (line 18) | function main() { FILE: tests/benchmark/interface_access_field_slowpath.js function Bar (line 8) | function Bar() { function main (line 14) | function main() { FILE: tests/benchmark/interface_access_field_slowpath.ts type Foo (line 6) | interface Foo { class Bar (line 12) | class Bar { function main (line 17) | function main() { FILE: tests/benchmark/interface_access_method_fastpath.js function Bar (line 8) | function Bar(x) { function main (line 17) | function main() { FILE: tests/benchmark/interface_access_method_fastpath.ts type Foo (line 6) | interface Foo { class Bar (line 12) | class Bar { method bar (line 15) | bar(val: number) { method constructor (line 19) | constructor(x: number) { function main (line 24) | function main() { FILE: tests/benchmark/interface_access_method_slowpath.js function Bar (line 8) | function Bar(x) { function main (line 22) | function main() { FILE: tests/benchmark/interface_access_method_slowpath.ts type Foo (line 6) | interface Foo { class Bar (line 14) | class Bar { method baz (line 18) | baz() { method bar (line 21) | bar(val: number) { method constructor (line 25) | constructor(x: number) { function main (line 30) | function main() { FILE: tests/benchmark/mandelbrot.js function colour (line 7) | function colour(iteration, offset, scale) { function iterateEquation (line 17) | function iterateEquation(x0, y0, maxiterations) { function scale (line 30) | function scale(domainStart, domainLength, screenLength, step) { function mandelbrot (line 33) | function mandelbrot(data, HEIGHT, WIDTH, maxIterations, cx, cy, diameter) { function main (line 50) | function main() { FILE: tests/benchmark/mandelbrot.ts function colour (line 8) | function colour(iteration: number, offset: number, scale: number): number { function iterateEquation (line 18) | function iterateEquation( function scale (line 40) | function scale( function mandelbrot (line 49) | function mandelbrot( function main (line 75) | function main() { FILE: tests/benchmark/mandelbrot_i32.js function colour (line 6) | function colour(iteration, offset, scale) { function iterateEquation (line 16) | function iterateEquation(x0, y0, maxiterations) { function scale (line 29) | function scale(domainStart, domainLength, screenLength, step) { function mandelbrot (line 32) | function mandelbrot(data, HEIGHT, WIDTH, maxIterations, cx, cy, diameter) { function main (line 56) | function main() { FILE: tests/benchmark/mandelbrot_i32.ts type i32 (line 8) | type i32 = number; function colour (line 10) | function colour(iteration: i32, offset: i32, scale: i32): i32 { function iterateEquation (line 20) | function iterateEquation(x0: number, y0: number, maxiterations: i32): i32 { function scale (line 38) | function scale( function mandelbrot (line 47) | function mandelbrot( function main (line 80) | function main() { FILE: tests/benchmark/merkletrees.js function TreeNode (line 7) | function TreeNode(value, left, right) { function main (line 53) | function main() { FILE: tests/benchmark/merkletrees.ts class TreeNode (line 5) | class TreeNode { method constructor (line 11) | constructor( method create (line 21) | static create(depth: number): TreeNode { method check (line 29) | check(): boolean { method calHash (line 40) | calHash(): void { method getHash (line 52) | getHash(): number { function main (line 61) | function main() { FILE: tests/benchmark/nbody_class.js function NBody (line 18) | function NBody() { function Jupiter (line 29) | function Jupiter() { function Saturn (line 40) | function Saturn() { function Uranus (line 51) | function Uranus() { function Neptune (line 62) | function Neptune() { function Sun (line 73) | function Sun() { function offsetMomentum (line 85) | function offsetMomentum() { function advance (line 102) | function advance(dt) { function energy (line 133) | function energy() { function main (line 153) | function main() { FILE: tests/benchmark/nbody_class.ts constant SOLAR_MASS (line 15) | const SOLAR_MASS = 4 * PI * PI; constant DAYS_PER_YEAR (line 16) | const DAYS_PER_YEAR = 365.24; class NBody (line 18) | class NBody { function Jupiter (line 28) | function Jupiter(): NBody { function Saturn (line 40) | function Saturn(): NBody { function Uranus (line 52) | function Uranus(): NBody { function Neptune (line 64) | function Neptune(): NBody { function Sun (line 76) | function Sun(): NBody { function offsetMomentum (line 90) | function offsetMomentum(): void { function advance (line 109) | function advance(dt: number): void { function energy (line 146) | function energy(): number { function main (line 171) | function main() { FILE: tests/benchmark/nbody_interface.js function Jupiter (line 17) | function Jupiter() { function Saturn (line 28) | function Saturn() { function Uranus (line 39) | function Uranus() { function Neptune (line 50) | function Neptune() { function Sun (line 61) | function Sun() { function offsetMomentum (line 73) | function offsetMomentum() { function advance (line 90) | function advance(dt) { function energy (line 121) | function energy() { function main (line 141) | function main() { FILE: tests/benchmark/nbody_interface.ts constant SOLAR_MASS (line 15) | const SOLAR_MASS = 4 * PI * PI; constant DAYS_PER_YEAR (line 16) | const DAYS_PER_YEAR = 365.24; type NBody (line 18) | interface NBody { function Jupiter (line 28) | function Jupiter(): NBody { function Saturn (line 40) | function Saturn(): NBody { function Uranus (line 52) | function Uranus(): NBody { function Neptune (line 64) | function Neptune(): NBody { function Sun (line 76) | function Sun(): NBody { function offsetMomentum (line 90) | function offsetMomentum(): void { function advance (line 109) | function advance(dt: number): void { function energy (line 146) | function energy(): number { function main (line 171) | function main() { FILE: tests/benchmark/quicksort.js function rand (line 8) | function rand(seed) { function initArr (line 12) | function initArr(sortList) { function quickSort (line 24) | function quickSort(a, l, r) { function main (line 47) | function main() { FILE: tests/benchmark/quicksort.ts constant SORTELEMENTS (line 4) | const SORTELEMENTS = 1e5; function rand (line 8) | function rand(seed: number) { function initArr (line 13) | function initArr(sortList: number[]) { function quickSort (line 26) | function quickSort(a: number[], l: number, r: number) { function main (line 48) | function main() { FILE: tests/benchmark/quicksort_float.js function rand (line 9) | function rand(seed) { function initArr (line 13) | function initArr(sortList) { function quickSort (line 26) | function quickSort(a, l, r) { function main (line 49) | function main() { FILE: tests/benchmark/quicksort_float.ts constant SORTELEMENTS (line 4) | const SORTELEMENTS = 1e5; function rand (line 8) | function rand(seed: number) { function initArr (line 13) | function initArr(sortList: number[]) { function quickSort (line 27) | function quickSort(a: number[], l: number, r: number) { function main (line 49) | function main() { FILE: tests/benchmark/run_benchmark.js function print_help (line 23) | function print_help() { function parseArguments (line 37) | function parseArguments(rawArgs) { function collect_benchmark_options (line 131) | function collect_benchmark_options(options) { function run_multiple_times (line 145) | function run_multiple_times(cmd) { FILE: tests/benchmark/run_benchmark_on_chrome.js function run_wasm_file (line 10) | async function run_wasm_file(fileName, warmupTimes, runTimes) { FILE: tests/benchmark/spectral_norm.js function approximate (line 9) | function approximate(n) { function a (line 25) | function a(i, j) { function multiplyAv (line 28) | function multiplyAv(n, v, av) { function multiplyAtv (line 36) | function multiplyAtv(n, v, atv) { function multiplyAtAv (line 44) | function multiplyAtAv(n, v, atAv) { function main (line 49) | function main() { FILE: tests/benchmark/spectral_norm.ts function approximate (line 10) | function approximate(n: number): number { function a (line 29) | function a(i: number, j: number): number { function multiplyAv (line 33) | function multiplyAv(n: number, v: number[], av: number[]) { function multiplyAtv (line 42) | function multiplyAtv(n: number, v: number[], atv: number[]) { function multiplyAtAv (line 51) | function multiplyAtAv(n: number, v: number[], atAv: number[]) { function main (line 57) | function main() { FILE: tests/benchmark/spectral_norm_i32.js function approximate (line 7) | function approximate(n) { function a (line 23) | function a(i, j) { function multiplyAv (line 26) | function multiplyAv(n, v, av) { function multiplyAtv (line 34) | function multiplyAtv(n, v, atv) { function multiplyAtAv (line 42) | function multiplyAtAv(n, v, atAv) { function main (line 47) | function main() { FILE: tests/benchmark/spectral_norm_i32.ts type i32 (line 10) | type i32 = number; function approximate (line 12) | function approximate(n: i32): number { function a (line 31) | function a(i: number, j: number): number { function multiplyAv (line 35) | function multiplyAv(n: i32, v: number[], av: number[]) { function multiplyAtv (line 44) | function multiplyAtv(n: i32, v: number[], atv: number[]) { function multiplyAtAv (line 53) | function multiplyAtAv(n: i32, v: number[], atAv: number[]) { function main (line 59) | function main() { FILE: tests/samples/add_shorthand_prop.ts type AttrValue (line 6) | type AttrValue = string | number | boolean type AttrObject (line 8) | interface AttrObject { [key: string]: AttrValue } type StringObject (line 10) | interface StringObject { type NodeInfo (line 14) | interface NodeInfo { function buildNode (line 25) | function buildNode(): NodeInfo { FILE: tests/samples/any_as_string.ts function test (line 6) | function test(a?: string) { function any_as_string (line 13) | function any_as_string() { FILE: tests/samples/any_binary_operation.ts function addAnyAny (line 6) | function addAnyAny() { function addNumberAnyInBinaryExpr (line 13) | function addNumberAnyInBinaryExpr() { function addNumberAnyInMulExpr (line 21) | function addNumberAnyInMulExpr() { function anyCmp (line 28) | function anyCmp() { function anyNullUndefinedCmp (line 53) | function anyNullUndefinedCmp() { function anyMinusAny (line 69) | function anyMinusAny() { function anyDivideAny (line 76) | function anyDivideAny() { function anyMultiplyAny (line 83) | function anyMultiplyAny() { function anyModAny (line 90) | function anyModAny() { function addAnyInBinaryExpr (line 97) | function addAnyInBinaryExpr() { function anyCmpNum (line 105) | function anyCmpNum() { FILE: tests/samples/any_box_any.ts function boxAny (line 6) | function boxAny() { FILE: tests/samples/any_box_array.ts function boxEmptyArr (line 6) | function boxEmptyArr() { function setArrElem (line 11) | function setArrElem() { function getArrElem (line 17) | function getArrElem() { function boxNestedArr (line 23) | function boxNestedArr() { FILE: tests/samples/any_box_boolean.ts function boxBooleanWithVarStmt (line 6) | function boxBooleanWithVarStmt() { function boxBooleanWithBinaryExpr (line 11) | function boxBooleanWithBinaryExpr() { FILE: tests/samples/any_box_interface.ts type I (line 6) | interface I { function boxInterface (line 11) | function boxInterface() { FILE: tests/samples/any_box_null.ts function boxNull (line 6) | function boxNull() { FILE: tests/samples/any_box_number.ts function boxNumberWithVarStmt (line 6) | function boxNumberWithVarStmt() { function boxNumberWithBinaryExpr (line 11) | function boxNumberWithBinaryExpr() { FILE: tests/samples/any_box_obj.ts function boxEmptyObj (line 6) | function boxEmptyObj() { function boxObjWithNumberProp (line 11) | function boxObjWithNumberProp() { function boxObjWithBooleanProp (line 18) | function boxObjWithBooleanProp() { function boxNestedObj (line 26) | function boxNestedObj() { class A (line 38) | class A { method constructor (line 40) | constructor(xx: string) { function test (line 45) | function test(str: string) { function anyPointToObj (line 50) | function anyPointToObj() { function foo (line 58) | function foo(param: any) { function boxObjWithProps (line 67) | function boxObjWithProps() { FILE: tests/samples/any_box_obj_as_return_value.ts function getAnyObj (line 6) | function getAnyObj(): any { function getObjPropFromReturnValue (line 10) | function getObjPropFromReturnValue() { FILE: tests/samples/any_box_string.ts function boxStringWithVarStmt (line 6) | function boxStringWithVarStmt() { function boxStringWithBinaryExpr (line 11) | function boxStringWithBinaryExpr() { function stringPlusAnyString (line 17) | function stringPlusAnyString(){ FILE: tests/samples/any_box_undefind.ts function boxUndefined (line 6) | function boxUndefined() { FILE: tests/samples/any_cast_class.ts class A (line 6) | class A { method constructor (line 8) | constructor(xx: number) { function helper (line 13) | function helper(a: any) { FILE: tests/samples/any_func_call.ts function anyFuncCallWithNumber (line 6) | function anyFuncCallWithNumber() { function funcWithBoolean (line 19) | function funcWithBoolean(a: boolean) { function anyFuncCallWithBoolean (line 26) | function anyFuncCallWithBoolean() { function anyFuncCallWithString (line 37) | function anyFuncCallWithString() { function anyFuncCallWithAny (line 50) | function anyFuncCallWithAny() { function anyFuncCallWithFunc (line 63) | function anyFuncCallWithFunc() { class A (line 72) | class A { function anyFuncCallWithClass (line 77) | function anyFuncCallWithClass() { function anyFuncCallWithObj_static (line 89) | function anyFuncCallWithObj_static() { type I (line 101) | interface I { function anyFuncCallWithInfc_class (line 106) | function anyFuncCallWithInfc_class() { function anyFuncCallWithInfc_obj (line 118) | function anyFuncCallWithInfc_obj() { function anyFuncCallWithArray_static (line 130) | function anyFuncCallWithArray_static() { function anyFuncCallWithArray_extref (line 144) | function anyFuncCallWithArray_extref() { function anyFuncCallInMap (line 159) | function anyFuncCallInMap() { class Page (line 167) | class Page { method log (line 169) | log(): void { method increase (line 172) | increase() { function anyFuncCallWithCast (line 178) | function anyFuncCallWithCast() { function anyFuncCallWithNoCast (line 190) | function anyFuncCallWithNoCast() { class A1 (line 202) | class A1 { method test (line 203) | test() { class B1 (line 207) | class B1 { method fun (line 209) | fun() { function unionFuncCall (line 216) | function unionFuncCall() { FILE: tests/samples/any_nested_literal_value.ts function arrayLiteralInObjLiteral (line 6) | function arrayLiteralInObjLiteral() { function objLiteralInArrayLiteral (line 27) | function objLiteralInArrayLiteral() { FILE: tests/samples/any_obj_prop_get.ts function getProp (line 6) | function getProp() { FILE: tests/samples/any_obj_prop_get_as_string.ts class Record (line 8) | class Record { method init (line 10) | init(info: any): void { class App (line 17) | class App { method init (line 18) | init(): void { function test (line 27) | function test() { FILE: tests/samples/any_obj_prop_set.ts function setUnExistProp (line 6) | function setUnExistProp() { function setExistProp (line 13) | function setExistProp() { FILE: tests/samples/any_operate_with_static.ts function addAnyAndNumber (line 6) | function addAnyAndNumber() { FILE: tests/samples/array_concat.ts function array_concat_number (line 6) | function array_concat_number() { function array_concat_boolean (line 12) | function array_concat_boolean() { function array_concat_string (line 18) | function array_concat_string() { class A (line 24) | class A { class B (line 28) | class B extends A { function array_concat_class (line 32) | function array_concat_class() { type I (line 39) | interface I { function array_concat_interface (line 43) | function array_concat_interface() { function array_concat_number_array (line 51) | function array_concat_number_array() { function array_concat_string_array (line 57) | function array_concat_string_array() { FILE: tests/samples/array_contain_closure.ts function outer (line 6) | function outer() { function containClosure (line 19) | function containClosure() { FILE: tests/samples/array_contain_func.ts function inner1 (line 8) | function inner1() { function inner2 (line 11) | function inner2() { function outer (line 14) | function outer() { function containFunc (line 18) | function containFunc() { FILE: tests/samples/array_copyWithin.ts class A (line 6) | class A { method constructor (line 8) | constructor(x: string) { type I (line 13) | interface I { function output_number_arr (line 16) | function output_number_arr(arr: number[]) { function output_string_arr (line 21) | function output_string_arr(arr: string[]) { function output_boolean_arr (line 26) | function output_boolean_arr(arr: boolean[]) { function output_interface_arr (line 31) | function output_interface_arr(arr: I[]) { function output_class_arr (line 36) | function output_class_arr(arr: A[]) { function array_copyWithin_number (line 41) | function array_copyWithin_number() { function array_copyWithin_string (line 111) | function array_copyWithin_string() { function array_copyWithin_boolean (line 117) | function array_copyWithin_boolean() { function array_copyWithin_class (line 123) | function array_copyWithin_class() { function array_copyWithin_interface (line 129) | function array_copyWithin_interface() { FILE: tests/samples/array_elem_get.ts function arrayTest6 (line 6) | function arrayTest6() { FILE: tests/samples/array_elem_set.ts function setElem (line 6) | function setElem() { FILE: tests/samples/array_every.ts class A (line 6) | class A { method constructor (line 8) | constructor(x: string) { type I (line 12) | interface I { function array_every_string (line 15) | function array_every_string() { function array_every_number (line 25) | function array_every_number() { function array_every_boolean (line 35) | function array_every_boolean() { function array_every_class (line 46) | function array_every_class() { function array_every_interface (line 56) | function array_every_interface() { FILE: tests/samples/array_fill.ts function array_fill_number (line 6) | function array_fill_number() { function array_fill_string (line 18) | function array_fill_string() { FILE: tests/samples/array_filter.ts function array_filter_number (line 6) | function array_filter_number() { function array_filter_boolean (line 14) | function array_filter_boolean() { function array_filter_string (line 22) | function array_filter_string() { class A (line 30) | class A { class B (line 34) | class B extends A { function array_filter_class (line 38) | function array_filter_class() { type I (line 48) | interface I { function array_filter_interface (line 52) | function array_filter_interface() { function array_filter_number_array (line 62) | function array_filter_number_array() { function array_filter_string_array (line 70) | function array_filter_string_array() { function push_in_callback (line 79) | function push_in_callback() { function modify_in_callback (line 88) | function modify_in_callback() { function nested_filter (line 100) | function nested_filter() { function callback_use_closure_var (line 111) | function callback_use_closure_var() { FILE: tests/samples/array_find.ts function array_find_number (line 6) | function array_find_number() { function array_find_boolean (line 18) | function array_find_boolean() { function array_find_string (line 26) | function array_find_string() { function array_find_obj (line 34) | function array_find_obj() { FILE: tests/samples/array_findIndex.ts function array_findIndex_number (line 6) | function array_findIndex_number() { function array_findIndex_string (line 19) | function array_findIndex_string() { function array_findIndex_boolean (line 28) | function array_findIndex_boolean() { function array_findIndex_class (line 35) | function array_findIndex_class() { function array_findIndex_interface (line 50) | function array_findIndex_interface() { FILE: tests/samples/array_foreach.ts function array_foreach_number (line 6) | function array_foreach_number() { function array_foreach_string (line 15) | function array_foreach_string() { function array_foreach_closure (line 24) | function array_foreach_closure() { FILE: tests/samples/array_includes.ts class A (line 6) | class A { method constructor (line 8) | constructor(x: string) { type I (line 12) | interface I { function array_includes_number (line 15) | function array_includes_number() { function array_includes_string (line 28) | function array_includes_string() { function array_includes_boolean (line 39) | function array_includes_boolean() { function array_includes_class (line 46) | function array_includes_class() { function array_includes_interface (line 59) | function array_includes_interface() { FILE: tests/samples/array_indexOf.ts function array_indexOf_number (line 6) | function array_indexOf_number() { function array_indexOf_boolean (line 12) | function array_indexOf_boolean() { function array_indexOf_string (line 18) | function array_indexOf_string() { class A (line 24) | class A { function array_indexOf_class (line 28) | function array_indexOf_class() { FILE: tests/samples/array_join.ts function array_join_string (line 6) | function array_join_string() { FILE: tests/samples/array_lastIndexOf.ts function array_lastIndexOf_number (line 6) | function array_lastIndexOf_number() { function array_lastIndexOf_boolean (line 12) | function array_lastIndexOf_boolean() { function array_lastIndexOf_string (line 18) | function array_lastIndexOf_string() { class A (line 24) | class A { function array_lastIndexOf_class (line 28) | function array_lastIndexOf_class() { FILE: tests/samples/array_map.ts function array_map_number (line 6) | function array_map_number() { function array_map_boolean (line 14) | function array_map_boolean() { function array_map_string (line 22) | function array_map_string() { class A (line 31) | class A { class B (line 35) | class B extends A { function array_map_class (line 39) | function array_map_class() { type I (line 51) | interface I { function array_map_interface (line 55) | function array_map_interface() { function array_map_number_array (line 71) | function array_map_number_array() { function array_map_string_array (line 80) | function array_map_string_array() { function array_map_func (line 89) | function array_map_func() { FILE: tests/samples/array_nested_array.ts function nestedArray (line 6) | function nestedArray() { FILE: tests/samples/array_nested_literal.ts function nestedLiteral (line 6) | function nestedLiteral() { FILE: tests/samples/array_nested_literal_array.ts function nestedLiteralArrayInOneLayer (line 6) | function nestedLiteralArrayInOneLayer() { function nestedLiteralArrayInMulLayer (line 12) | function nestedLiteralArrayInMulLayer() { FILE: tests/samples/array_new_array.ts function implElemType (line 5) | function implElemType() { FILE: tests/samples/array_new_array_number.ts function newArrayNumber (line 6) | function newArrayNumber() { function newArrayNumberWithParam (line 12) | function newArrayNumberWithParam(n: number) { FILE: tests/samples/array_new_array_string.ts function newArrayString (line 6) | function newArrayString() { FILE: tests/samples/array_new_literal_any.ts function newLiteralExplicitAny (line 6) | function newLiteralExplicitAny() { function newLiteralNonExplicitAny (line 11) | function newLiteralNonExplicitAny() { FILE: tests/samples/array_new_literal_boolean.ts function newLiteralBoolean (line 6) | function newLiteralBoolean() { FILE: tests/samples/array_new_literal_number.ts function newLiteralNumberWithLiteralType (line 6) | function newLiteralNumberWithLiteralType() { function newLiteralNumberWithArrayType (line 11) | function newLiteralNumberWithArrayType() { function newLiteralNumberWithoutInit (line 16) | function newLiteralNumberWithoutInit() { FILE: tests/samples/array_new_literal_string.ts function newLiteralString (line 6) | function newLiteralString() { FILE: tests/samples/array_pop.ts function array_pop_number (line 6) | function array_pop_number() { function array_pop_boolean (line 12) | function array_pop_boolean() { function array_pop_string (line 18) | function array_pop_string() { class A (line 24) | class A { class B (line 28) | class B extends A { function array_pop_class (line 32) | function array_pop_class() { type I (line 38) | interface I { function array_pop_interface (line 42) | function array_pop_interface() { function array_pop_number_array (line 48) | function array_pop_number_array() { function array_pop_string_array (line 54) | function array_pop_string_array() { FILE: tests/samples/array_push.ts function array_push_number (line 6) | function array_push_number() { function array_push_number_with_empty (line 12) | function array_push_number_with_empty() { class ParamsObject (line 18) | class ParamsObject { class RouteInfo (line 23) | class RouteInfo { function array_class2 (line 27) | function array_class2() { function array_push_boolean (line 36) | function array_push_boolean() { function array_push_string (line 42) | function array_push_string() { class A (line 48) | class A { class B (line 52) | class B extends A { function array_push_class (line 56) | function array_push_class() { type I (line 63) | interface I { function array_push_interface (line 67) | function array_push_interface() { function array_push_number_array (line 75) | function array_push_number_array() { function array_push_string_array (line 81) | function array_push_string_array() { FILE: tests/samples/array_reduce.ts class A (line 6) | class A { method constructor (line 8) | constructor(x: string) { type I (line 13) | interface I { function array_reduce_test (line 16) | function array_reduce_test() { function array_reduce_number (line 22) | function array_reduce_number() { function array_reduce_string (line 29) | function array_reduce_string() { function array_reduce_boolean (line 36) | function array_reduce_boolean() { function array_reduce_class (line 43) | function array_reduce_class() { function array_reduce_interface (line 55) | function array_reduce_interface() { FILE: tests/samples/array_reduceRight.ts class A (line 6) | class A { method constructor (line 8) | constructor(x: string) { type I (line 13) | interface I { function array_reduceRight_number (line 16) | function array_reduceRight_number() { function array_reduceRight_string (line 23) | function array_reduceRight_string() { function array_reduceRight_boolean (line 30) | function array_reduceRight_boolean() { function array_reduceRight_class (line 37) | function array_reduceRight_class() { function array_reduceRight_interface (line 49) | function array_reduceRight_interface() { FILE: tests/samples/array_reverse.ts function array_reverse_number (line 6) | function array_reverse_number() { function array_reverse_boolean (line 12) | function array_reverse_boolean() { function array_reverse_string (line 18) | function array_reverse_string() { class A (line 24) | class A { class B (line 28) | class B extends A { function array_reverse_class (line 32) | function array_reverse_class() { type I (line 38) | interface I { function array_reverse_interface (line 42) | function array_reverse_interface() { function array_reverse_number_array (line 48) | function array_reverse_number_array() { function array_reverse_string_array (line 55) | function array_reverse_string_array() { FILE: tests/samples/array_shift.ts function array_shift_number (line 6) | function array_shift_number() { function array_shift_boolean (line 12) | function array_shift_boolean() { function array_shift_string (line 18) | function array_shift_string() { class A (line 24) | class A { class B (line 28) | class B extends A { function array_shift_class (line 32) | function array_shift_class() { type I (line 38) | interface I { function array_shift_interface (line 42) | function array_shift_interface() { function array_shift_number_array (line 48) | function array_shift_number_array() { function array_shift_string_array (line 55) | function array_shift_string_array() { FILE: tests/samples/array_slice.ts function array_slice (line 6) | function array_slice() { function array_slice_empty (line 14) | function array_slice_empty() { function array_slice_endIdxisUndefined (line 22) | function array_slice_endIdxisUndefined() { function array_set_length (line 30) | function array_set_length() { FILE: tests/samples/array_some.ts class A (line 6) | class A { method constructor (line 8) | constructor(x: string) { type I (line 13) | interface I { function array_some_string (line 16) | function array_some_string() { function array_some_number (line 26) | function array_some_number() { function array_some_boolean (line 36) | function array_some_boolean() { function array_some_class (line 47) | function array_some_class() { function array_some_interface (line 57) | function array_some_interface() { FILE: tests/samples/array_sort.ts function array_sort_number (line 6) | function array_sort_number() { FILE: tests/samples/array_specialization.ts class A (line 6) | class A { method func1 (line 7) | func1(...data: any[]): number { function test (line 12) | function test() { FILE: tests/samples/array_splice.ts function output_number_arr (line 6) | function output_number_arr(arr: number[]) { function output_arr_boolean (line 11) | function output_arr_boolean(arr: boolean[]) { function output_arr_string (line 16) | function output_arr_string(arr: string[]) { class A (line 21) | class A { method constructor (line 23) | constructor(x: string) { function output_arr_class (line 27) | function output_arr_class(arr: A[]) { type I (line 32) | interface I { function output_arr_interface (line 35) | function output_arr_interface(arr: I[]) { function array_splice_number (line 41) | function array_splice_number() { function array_splice_boolean (line 117) | function array_splice_boolean() { function array_splice_string (line 125) | function array_splice_string() { function array_splice_class (line 133) | function array_splice_class() { function array_splice_interface (line 141) | function array_splice_interface() { FILE: tests/samples/array_unshift.ts function array_unshift_number (line 6) | function array_unshift_number() { function array_unshift_boolean (line 12) | function array_unshift_boolean() { function array_unshift_string (line 18) | function array_unshift_string() { class A (line 24) | class A { class B (line 28) | class B extends A { function array_unshift_class (line 32) | function array_unshift_class() { type I (line 39) | interface I { function array_unshift_interface (line 43) | function array_unshift_interface() { function array_unshift_number_array (line 51) | function array_unshift_number_array() { function array_unshift_string_array (line 57) | function array_unshift_string_array() { FILE: tests/samples/array_wasm_basic_type.ts function arrayLength (line 6) | function arrayLength() { FILE: tests/samples/arraybuffer_basic.ts function getArrayBufferLength (line 6) | function getArrayBufferLength() { function arrayBufferIsView (line 13) | function arrayBufferIsView() { FILE: tests/samples/assign_different_type.ts class A (line 6) | class A{ method constructor (line 8) | constructor(){ function assignStringArray (line 13) | function assignStringArray() { type I (line 19) | interface I { type cbType (line 23) | type cbType = (v: I) => number; class B (line 25) | class B { method constructor (line 27) | constructor() { function elemFunc (line 32) | function elemFunc(a: I) { function assignClosureArray (line 36) | function assignClosureArray() { FILE: tests/samples/auto_box_unbox.ts class A (line 6) | class A { method constructor (line 8) | constructor(xx: number) { function autoBoxUnboxAssign (line 13) | function autoBoxUnboxAssign() { function helper (line 36) | function helper(a: any) { function helper1 (line 41) | function helper1(a: A) { function helper2 (line 45) | function helper2(): any { function helper3 (line 50) | function helper3(): A { function autoBoxUnboxObjParam (line 55) | function autoBoxUnboxObjParam() { class B (line 61) | class B { method constructor (line 67) | constructor(xx: A) { method add (line 70) | add() { method box (line 73) | box(a: A) { method unbox (line 76) | unbox(a: any) { function autoBoxunboxObjField (line 81) | function autoBoxunboxObjField() { FILE: tests/samples/base_function_call.ts class Base (line 5) | class Base { method constructor (line 8) | constructor() { method say (line 12) | static say() { class A (line 18) | class A extends Base { method constructor (line 22) | constructor(x: number) { method log (line 28) | log() { method say (line 32) | static say() { class B (line 38) | class B extends A { method constructor (line 42) | constructor(x: number, y: string) { method log (line 48) | log() { method say (line 53) | static say() { function test (line 59) | function test() { FILE: tests/samples/block_closure.ts function reBindingBlockClosure (line 6) | function reBindingBlockClosure() { function reBindingBlockClosures (line 15) | function reBindingBlockClosures() { function notReBindingBlockClosure (line 24) | function notReBindingBlockClosure() { function partBindingBlockClosures (line 33) | function partBindingBlockClosures() { function partBindingBlockClosuresWithChangeJ (line 43) | function partBindingBlockClosuresWithChangeJ() { function reBindingBlockClosureWithVarDefined (line 52) | function reBindingBlockClosureWithVarDefined() { function blockClosureWithWhile (line 64) | function blockClosureWithWhile() { function blockClosureWithWhileWithVarDefined (line 74) | function blockClosureWithWhileWithVarDefined() { function getRes (line 85) | function getRes() { FILE: tests/samples/block_inner_block.ts function innerBlock (line 6) | function innerBlock() { FILE: tests/samples/boolean_basic.ts function booleanBasicTrue (line 6) | function booleanBasicTrue(): boolean { function booleanBasicFalse (line 11) | function booleanBasicFalse(): boolean { function booleanCmp (line 16) | function booleanCmp() { FILE: tests/samples/boolean_logic_operator.ts function logicOr (line 6) | function logicOr(): boolean { function logicAnd (line 13) | function logicAnd(): boolean { function conditionExpr (line 20) | function conditionExpr(): number { FILE: tests/samples/boolean_not.ts function notNumber (line 6) | function notNumber(): boolean { function notBoolean (line 12) | function notBoolean(): boolean { function notWithLogicOperator (line 18) | function notWithLogicOperator(): number { FILE: tests/samples/builtin_array.ts function length (line 6) | function length() { function isArray_anyType (line 13) | function isArray_anyType() { function isArray_arrayType (line 19) | function isArray_arrayType() { FILE: tests/samples/builtin_console.ts function consoleLog (line 6) | function consoleLog() { function specialNum (line 14) | function specialNum() { FILE: tests/samples/builtin_math.ts function mathSqrt (line 6) | function mathSqrt() { function mathMaxWithOneOperation (line 12) | function mathMaxWithOneOperation() { function mathMaxWithMultiOperation (line 17) | function mathMaxWithMultiOperation() { function mathMinWithOneOperation (line 22) | function mathMinWithOneOperation() { function mathMinWithMultiOperation (line 27) | function mathMinWithMultiOperation() { function mathPowWithZero (line 32) | function mathPowWithZero() { function mathPowWithNegative (line 37) | function mathPowWithNegative() { function mathPowWithPositive (line 42) | function mathPowWithPositive() { function mathAbs (line 47) | function mathAbs() { function mathNested (line 52) | function mathNested() { FILE: tests/samples/builtin_string.ts function stringConcat (line 6) | function stringConcat() { function stringLength (line 12) | function stringLength() { function stringSliceWithTwoNegativeNumber (line 18) | function stringSliceWithTwoNegativeNumber() { function stringSliceWithTwoPositiveNumber (line 24) | function stringSliceWithTwoPositiveNumber() { function stringSliceWithTwoUndefind (line 30) | function stringSliceWithTwoUndefind() { function stringSliceWithOneZero (line 36) | function stringSliceWithOneZero() { function stringIndexOf (line 42) | function stringIndexOf() { function outputStrArr (line 51) | function outputStrArr(arr: string[]) { function stringSplit (line 58) | function stringSplit() { function stringReplace (line 68) | function stringReplace() { function stringMatch (line 87) | function stringMatch() { function stringSearch (line 98) | function stringSearch() { function stringcharAt (line 111) | function stringcharAt() { function stringtoLowerCase (line 117) | function stringtoLowerCase() { function stringtoUpperCase (line 123) | function stringtoUpperCase() { function stringtrim (line 129) | function stringtrim() { function stringreadonly (line 135) | function stringreadonly() { function stringadd (line 141) | function stringadd() { function stringFromCharCode (line 147) | function stringFromCharCode() { FILE: tests/samples/call_expression_function_hoisting.ts function funcHosting (line 6) | function funcHosting() { function foo (line 11) | function foo(a = 10, b = 1, c = 99) { FILE: tests/samples/call_expression_get_value.ts function callReturnTest (line 6) | function callReturnTest(a = 10, b = 1, c = 99) { function getValueWithDefaultParam (line 10) | function getValueWithDefaultParam() { function callInnerFunc (line 14) | function callInnerFunc(a: number, b = 2) { function recursive (line 23) | function recursive(n: number): number { FILE: tests/samples/call_expression_param.ts function callReturnTest1 (line 6) | function callReturnTest1(a = 10, b = 1, c = 99) { function callReturnTest2 (line 10) | function callReturnTest2(a: number, b = 2) { function callReturnTest3 (line 15) | function callReturnTest3(a: number, b: number, c: number) { function callReturnTest4 (line 19) | function callReturnTest4(a: number = 5, b: any = 8) { function noDefaultParam (line 23) | function noDefaultParam() { function allDefaultParam (line 27) | function allDefaultParam() { function someDefaultParam (line 32) | function someDefaultParam() { function someDefaultParamWithAny (line 36) | function someDefaultParamWithAny() { function outer (line 40) | function outer(a: any) { function paramIsAny (line 47) | function paramIsAny() { FILE: tests/samples/cast_any_to_static.ts function castAnyBackToClass (line 6) | function castAnyBackToClass() { function castAnyBackToString (line 17) | function castAnyBackToString() { function castAnyBackToNumber (line 23) | function castAnyBackToNumber() { function castAnyBackToNull (line 31) | function castAnyBackToNull() { function castAnyBackToBoolean (line 37) | function castAnyBackToBoolean() { function castAnyBackToUndefined (line 43) | function castAnyBackToUndefined() { FILE: tests/samples/class_accessor.ts class A1 (line 6) | class A1 { method constructor (line 9) | constructor(ref_value: number) { method ref (line 12) | set ref(value: number) { method ref (line 15) | get ref(): number { function test1 (line 19) | function test1() { class A2 (line 25) | class A2 { method constructor (line 28) | constructor(ref_value: number) { method ref (line 31) | set ref(value: number) { function test2 (line 35) | function test2() { class A3 (line 41) | class A3 { method constructor (line 44) | constructor(ref_value: number) { method ref (line 47) | get ref(): number { function test3 (line 51) | function test3() { class B1 (line 56) | class B1 extends A1 { method constructor (line 57) | constructor(ref_value: number) { function test4 (line 61) | function test4() { class B2 (line 67) | class B2 extends A2 { method constructor (line 68) | constructor(ref_value: number) { function test5 (line 72) | function test5() { class C1 (line 78) | class C1 extends A1 { method constructor (line 79) | constructor(ref_value: number) { method ref (line 83) | set ref(value: number) { method ref (line 86) | get ref(): number { function test6 (line 90) | function test6() { class C2 (line 96) | class C2 extends A2 { method constructor (line 97) | constructor(ref_value: number) { method ref (line 101) | set ref(value: number) { method ref (line 104) | get ref(): number { function test7 (line 108) | function test7() { class C3 (line 114) | class C3 extends A3 { method constructor (line 115) | constructor(ref_value: number) { method ref (line 119) | set ref(value: number) { method ref (line 122) | get ref(): number { function test8 (line 126) | function test8() { class D1 (line 132) | class D1 extends A1 { method constructor (line 133) | constructor(ref_value: number) { method ref (line 137) | set ref(value: number) { function test9 (line 141) | function test9() { class D2 (line 147) | class D2 extends A2 { method constructor (line 148) | constructor(ref_value: number) { method ref (line 152) | set ref(value: number) { function test10 (line 156) | function test10() { class D3 (line 162) | class D3 extends A3 { method constructor (line 163) | constructor(ref_value: number) { method ref (line 167) | set ref(value: number) { function test11 (line 171) | function test11() { class E1 (line 177) | class E1 extends A1 { method constructor (line 178) | constructor(ref_value: number) { method ref (line 182) | get ref(): number { function test12 (line 186) | function test12() { class E2 (line 191) | class E2 extends A2 { method constructor (line 192) | constructor(ref_value: number) { method ref (line 196) | get ref(): number { function test13 (line 200) | function test13() { class E3 (line 205) | class E3 extends A3 { method constructor (line 206) | constructor(ref_value: number) { method ref (line 210) | get ref(): number { function test14 (line 214) | function test14() { type I1 (line 219) | interface I1 { type I2 (line 224) | interface I2 { type I3 (line 229) | interface I3 { class X1 (line 235) | class X1 implements I1 { method constructor (line 238) | constructor(ref_value: number) { method ref (line 241) | set ref(value: number) { class X2 (line 246) | class X2 implements I1 { method constructor (line 249) | constructor(ref_value: number) { method ref (line 252) | set ref(value: number) { method ref (line 255) | get ref(): number { class Y1 (line 260) | class Y1 implements I2 { method constructor (line 263) | constructor(ref_value: number) { method ref (line 266) | get ref(): number { class Y2 (line 271) | class Y2 implements I2 { method constructor (line 274) | constructor(ref_value: number) { method ref (line 277) | set ref(value: number) { method ref (line 280) | get ref(): number { class Z (line 285) | class Z implements I3 { method constructor (line 288) | constructor(ref_value: number) { method ref (line 291) | set ref(value: number) { method ref (line 294) | get ref(): number { function test15 (line 298) | function test15() { class OnlySetter (line 316) | class OnlySetter { method constructor (line 319) | constructor(a: number) { method foo (line 325) | foo() { method value (line 329) | set value(a: number) { method bar (line 333) | bar() { function testOnlySetter (line 338) | function testOnlySetter() { class OnlyGetter (line 345) | class OnlyGetter { method constructor (line 348) | constructor(a: number) { method foo (line 354) | foo() { method value (line 359) | get value() : number { method bar (line 364) | bar() { function testOnlyGetter (line 369) | function testOnlyGetter() { FILE: tests/samples/class_basic.ts class A1 (line 6) | class A1 { method test (line 8) | test() { method test2 (line 12) | test2() { class A2 (line 17) | class A2 { method constructor (line 19) | constructor(a: number) { method testFunc (line 22) | public testFunc() { method a (line 25) | get a() { method a (line 28) | set a(m: number) { function withoutCtor (line 33) | function withoutCtor() { function basic (line 39) | function basic() { class A9 (line 44) | class A9 { method constructor (line 46) | constructor(a: number) { method a (line 49) | set a(m: number) { method a (line 52) | get a() { method test (line 55) | test(m: number) { method test1 (line 58) | test1() {} function getterSetter (line 61) | function getterSetter() { class A3 (line 71) | class A3 { method constructor (line 73) | constructor(a: any) { method testFunc (line 76) | public testFunc() { method a (line 79) | get a() { method a (line 82) | set a(m: any) { function anyType (line 87) | function anyType() { class Base (line 92) | class Base { method constructor (line 96) | constructor(arg: number, arg1: number) { method test (line 101) | test() { class Derived (line 106) | class Derived extends Base { function defaultCtor (line 110) | function defaultCtor() { class Test (line 115) | class Test { method foo (line 116) | foo(x: number) { method bar (line 123) | static bar(x: number) { method baz (line 130) | baz() { method baz1 (line 134) | static baz1() { function classNestCall (line 139) | function classNestCall() { class Foo (line 152) | class Foo { method constructor (line 154) | constructor(idd: number) { class Bar (line 159) | class Bar extends Foo { method constructor (line 161) | constructor(idd: number, namee: string) { method test (line 166) | test(addr: number) { function thisAsFreeVar (line 179) | function thisAsFreeVar() { function classInClosure (line 185) | function classInClosure() { class C (line 207) | class C { method constructor (line 210) | constructor() { method onclick (line 213) | set onclick(value: () => void) { method onclick (line 216) | get onclick(): () => void { function test (line 221) | function test() { class A (line 228) | class A { method test (line 229) | test() { function methodCallAndGet (line 234) | function methodCallAndGet() { FILE: tests/samples/class_direct_call.ts class A (line 6) | class A { method test (line 7) | test() { class B (line 12) | class B extends A { method sayHi (line 13) | sayHi() { method test (line 16) | test() { function foo (line 21) | function foo() { class Foo (line 36) | class Foo { method method_foo1 (line 37) | method_foo1(arr: number[]): number { method method_foo2 (line 41) | method_foo2(a: number, ...b: number[]) { method method_foo3 (line 46) | method_foo3(a: number, ...b: number[]) { method method_foo4 (line 50) | method_foo4(...num: number[]) { function func_foo (line 59) | function func_foo(arr: number[]): number { function test (line 63) | function test() { FILE: tests/samples/class_extend.ts class A6 (line 6) | class A6 { method constructor (line 10) | constructor(a: number, b: number) { class B6 (line 16) | class B6 extends A6 { method constructor (line 18) | constructor(a: number, b: number, c: number) { function extendWithNewProp (line 24) | function extendWithNewProp() { class A7 (line 32) | class A7 { method constructor (line 34) | constructor(a: number) { method a (line 37) | set a(m: number) { method a (line 40) | get a() { method test (line 43) | test(m: number) { class B7 (line 48) | class B7 extends A7 { method constructor (line 49) | constructor(a: number) { method test (line 52) | test(m: number) { method a (line 55) | set a(m: number) { method a (line 58) | get a() { function methodOverwrite (line 63) | function methodOverwrite() { class Base (line 71) | class Base { method init (line 72) | init(): void { class A (line 77) | class A extends Base { method init2 (line 78) | init2(): void { class B (line 83) | class B extends A { method init (line 84) | init(): void { function multiLevelExtend (line 89) | function multiLevelExtend() { class Base1 (line 94) | class Base1 { method foo (line 96) | foo() { class ExtendReordered (line 102) | class ExtendReordered extends Base1 { function testExtendReordered (line 108) | function testExtendReordered() { class InheritGetter (line 113) | class InheritGetter extends B7 { function testInheritGetter (line 117) | function testInheritGetter() { class Baz (line 124) | class Baz { method constructor (line 125) | constructor() { method base (line 128) | base() { class Foo (line 133) | class Foo extends Baz { method constructor (line 134) | constructor() { method foo (line 137) | foo() { class Bar (line 142) | class Bar extends Foo { method constructor (line 143) | constructor() { method bar (line 146) | bar() { function inheritCast (line 151) | function inheritCast() { type I (line 169) | interface I { type IA (line 175) | interface IA { class A8 (line 180) | class A8 { method constructor (line 182) | constructor(zz: boolean) { class C (line 187) | class C extends A8 implements I { method constructor (line 191) | constructor(xx: number, zz: string, yy: boolean) { method func1 (line 197) | func1() { function extendsImpl (line 202) | function extendsImpl() { class D (line 212) | class D implements I, IA { method constructor (line 216) | constructor(xx: number, yy: string, zz: boolean) { method func1 (line 221) | func1() { method func2 (line 224) | func2() { function implInfc (line 229) | function implInfc() { class Car (line 238) | class Car { method constructor (line 240) | constructor(p: number) { class Bus (line 245) | class Bus extends Car { method constructor (line 247) | constructor() { function fieldInitOrder (line 252) | function fieldInitOrder() { type I9 (line 257) | interface I9 { class A9 (line 260) | class A9 { method constructor (line 262) | constructor(xx?: I9) { class Derived (line 271) | class Derived extends A9 { method constructor (line 272) | constructor(xx: I9) { function superWithOptionlParam (line 277) | function superWithOptionlParam() { FILE: tests/samples/class_field_assign.ts class A11 (line 6) | class A11 { method constructor (line 8) | constructor(a1: number) { function withCtor (line 16) | function withCtor() { class A12 (line 21) | class A12 { function withoutCtor (line 27) | function withoutCtor() { type Count (line 32) | const enum Count { class A13 (line 38) | class A13 { method constructor (line 40) | constructor() { function withEnum (line 45) | function withEnum() { FILE: tests/samples/class_field_is_array.ts class ParamsObject (line 6) | class ParamsObject { class RouteInfo (line 11) | class RouteInfo { function test (line 15) | function test() { FILE: tests/samples/class_static_prop.ts class A15 (line 6) | class A15 { method test (line 7) | static test() { method constructor (line 11) | constructor() {} class B15 (line 14) | class B15 extends A15 { method constructor (line 15) | constructor() { method test (line 18) | static test() { function staticMethodWithOverwrite (line 22) | function staticMethodWithOverwrite() { class A16 (line 26) | class A16 { method hi (line 27) | static hi() { function staticMethod (line 32) | function staticMethod() { class A (line 36) | class A { class B (line 41) | class B extends A { function staticFields (line 44) | function staticFields() { class A1 (line 49) | class A1 { class A2 (line 56) | class A2 extends A1 { class A3 (line 62) | class A3 { class A4 (line 69) | class A4 extends A2 { class staticFieldsInit (line 75) | class staticFieldsInit { function testStaticField1 (line 81) | function testStaticField1() { function testStaticField2 (line 85) | function testStaticField2() { function testStaticField3 (line 89) | function testStaticField3() { class Circle (line 93) | class Circle { method calculateArea (line 97) | calculateArea(radius:number):number { method calculateArea (line 102) | static calculateArea(radius:number) { function staticFieldWithOverwrite (line 106) | function staticFieldWithOverwrite() { FILE: tests/samples/class_type.ts class A17 (line 6) | class A17 { method test (line 7) | test() { function uniqueType (line 12) | function uniqueType() { FILE: tests/samples/class_vtable_accessor.ts class A (line 6) | class A { method ref (line 8) | get ref(): number { method ref (line 11) | set ref(value: number) { method constructor (line 15) | constructor(ref_value: number) { class B (line 20) | class B extends A { method printRef (line 21) | printRef() { method setRef (line 24) | setRef() { method constructor (line 27) | constructor(ref_value: number) { class C (line 32) | class C extends B { method ref (line 34) | set ref(value: number) { method ref (line 37) | get ref(): number { method constructor (line 41) | constructor(ref_value: number) { function vtableAccessor (line 46) | function vtableAccessor() { FILE: tests/samples/class_vtable_call.ts class A (line 6) | class A { method test (line 7) | test() { class B (line 12) | class B extends A { method sayHi (line 13) | sayHi() { method test (line 16) | test() { function foo (line 21) | function foo(n: number) { function bar (line 29) | function bar() { FILE: tests/samples/closure_basic.ts function closure1 (line 6) | function closure1(x: number, y: boolean) { function accessOuterVars (line 18) | function accessOuterVars() { function closure2 (line 25) | function closure2(x: number, y: boolean) { function returnOuterFuncCall (line 35) | function returnOuterFuncCall() { function returnOuterFuncCall2 (line 40) | function returnOuterFuncCall2() { function accesssGlobalVar (line 46) | function accesssGlobalVar() { class A (line 53) | class A { method constructor (line 56) | constructor(xx: (m: number) => number) { class B (line 61) | class B { class AA (line 65) | class AA { method constructor (line 74) | constructor(xx: (m: number) => number) { function foo (line 79) | function foo() { function classFieldIsClosure (line 87) | function classFieldIsClosure() { function classFieldIsClosureWithDefault (line 92) | function classFieldIsClosureWithDefault() { function nullable_closure (line 98) | function nullable_closure(): any | null { FILE: tests/samples/closure_first_class_func.ts function closure (line 6) | function closure(x: number) { function returnAFunction (line 20) | function returnAFunction() { function foo (line 25) | function foo(y: number) { function FirstClassFuncClosureCase2 (line 29) | function FirstClassFuncClosureCase2(x: (y: number) => number) { function functionAsParam (line 35) | function functionAsParam() { FILE: tests/samples/closure_inner_func.ts function outerFunc (line 6) | function outerFunc() { function outerWithBlock (line 23) | function outerWithBlock(a:number) { function outerFuncWithBlock (line 49) | function outerFuncWithBlock() { FILE: tests/samples/closure_set_ctx_value.ts function setCtxValue (line 6) | function setCtxValue(m: number) { FILE: tests/samples/comments_not_entry.ts function nameANotInEntry (line 7) | function nameANotInEntry() { FILE: tests/samples/comments_with_export.ts function nameA (line 9) | function nameA() { function nameC (line 15) | function nameC(arrayBuffer: ArrayBuffer, length: i32) { FILE: tests/samples/comments_with_import.ts function callDeclare (line 14) | function callDeclare() { FILE: tests/samples/complexType_case1.ts function complexTypeTest (line 25) | function complexTypeTest() { FILE: tests/samples/complexType_case2.ts function cpxCase2Func1 (line 12) | function cpxCase2Func1(a: number) { function cpxCase2Func2 (line 16) | function cpxCase2Func2(a: number) { function cpxCase2Func3 (line 20) | function cpxCase2Func3(a: number) { FILE: tests/samples/complexType_case3.ts class cpxCase3Class1 (line 6) | class cpxCase3Class1 { function cpxCase3Func1 (line 10) | function cpxCase3Func1() { FILE: tests/samples/complexType_case4.ts class cpxCase3Class1 (line 6) | class cpxCase3Class1 { method foo (line 7) | foo(i: number, j: number) { function cpxCase3Func1 (line 12) | function cpxCase3Func1() { FILE: tests/samples/complexType_case5.ts class A (line 6) | class A { method test (line 7) | test() { function cpxCase3Func1 (line 12) | function cpxCase3Func1() { FILE: tests/samples/compound_assignment_operator.ts class A (line 6) | class A { function test (line 10) | function test() { FILE: tests/samples/dataview_basic.ts function getDataViewProperty (line 6) | function getDataViewProperty() { function newDataView (line 13) | function newDataView() { function dataViewI8 (line 27) | function dataViewI8() { function dataViewI16 (line 37) | function dataViewI16() { function dataViewI32 (line 62) | function dataViewI32() { function dataViewUi8 (line 87) | function dataViewUi8() { function dataViewUi16 (line 104) | function dataViewUi16() { function dataViewUi32 (line 121) | function dataViewUi32() { function dataViewF32 (line 138) | function dataViewF32() { function dataViewF64 (line 149) | function dataViewF64() { FILE: tests/samples/decimalization.ts function initNumberWithBinary (line 6) | function initNumberWithBinary() { function initNumberWithOctal (line 14) | function initNumberWithOctal() { function initNumberWithHex (line 22) | function initNumberWithHex() { FILE: tests/samples/declare_class.ts class DeclaredClass (line 6) | class DeclaredClass { function classDecl (line 15) | function classDecl() { FILE: tests/samples/declare_func.ts function assignDeclareFuncToVar (line 22) | function assignDeclareFuncToVar() { FILE: tests/samples/default_param.ts class A (line 6) | class A { method add (line 7) | add(x: number, y: number, z = 5) { method add_static (line 11) | static add_static(x: number, y: number, z = 5) { function defaultParamInMethod (line 16) | function defaultParamInMethod() { function defaultParamInStaticMethod (line 21) | function defaultParamInStaticMethod() { function add (line 26) | function add(x: number, y: number, z = 5) { function defaultParamInFunction (line 30) | function defaultParamInFunction() { FILE: tests/samples/enum.ts type Color1 (line 6) | enum Color1 { type Color2 (line 13) | enum Color2 { type Color3 (line 20) | enum Color3 { function assignDigitMember (line 28) | function assignDigitMember() { function assignStringMember (line 35) | function assignStringMember() { function enumInitialize (line 42) | function enumInitialize() { type A (line 47) | enum A { type B (line 51) | enum B { function foo (line 56) | function foo(a: A): B { function enumParamter (line 61) | function enumParamter() { FILE: tests/samples/exception_catch_error.ts function throwNewError (line 6) | function throwNewError() { function noThrow (line 10) | function noThrow() { function throwErrorInTry (line 24) | function throwErrorInTry() { function throwErrorInFunc (line 37) | function throwErrorInFunc() { function throwErrorInCatch (line 50) | function throwErrorInCatch() { function throwErrorInFinally (line 63) | function throwErrorInFinally() { function throwErrorInTryAndCatch (line 76) | function throwErrorInTryAndCatch() { function throwErrorInTryAndFinally (line 90) | function throwErrorInTryAndFinally() { function throwErrorInTryAndCatchAndFinally (line 104) | function throwErrorInTryAndCatchAndFinally() { function nestedThrowError (line 119) | function nestedThrowError() { FILE: tests/samples/exception_custom_error.ts class AError (line 6) | class AError extends Error { method constructor (line 7) | constructor(message: string) { function throwCustomError (line 12) | function throwCustomError() { FILE: tests/samples/exception_throw_error.ts function throwNewError (line 6) | function throwNewError() { function throwError (line 10) | function throwError() { FILE: tests/samples/exception_try_structure.ts function oneTryCatch (line 6) | function oneTryCatch() { function oneTryFinally (line 16) | function oneTryFinally() { function oneTryCatchFinally (line 26) | function oneTryCatchFinally() { function nestedTryCatchInTry (line 38) | function nestedTryCatchInTry() { function nestedTryCatchInCatch (line 53) | function nestedTryCatchInCatch() { function nestedTryFinallyInTry (line 68) | function nestedTryFinallyInTry() { function nestedTryFinallyInFinally (line 83) | function nestedTryFinallyInFinally() { function nestedTryCatchFinallyInTry (line 98) | function nestedTryCatchFinallyInTry() { function nestedTryCatchFinallyInFinally (line 117) | function nestedTryCatchFinallyInFinally() { FILE: tests/samples/export_alias_identifier.ts function oriExportFunc (line 6) | function oriExportFunc() { function exportFunc (line 10) | function exportFunc() { class OriExportClass (line 17) | class OriExportClass { method getField (line 19) | getField() { class ExportClass (line 24) | class ExportClass { method getField (line 26) | getField() { function aFunc (line 32) | function aFunc() { function aFunc (line 38) | function aFunc() { FILE: tests/samples/export_class.ts class ExportedClass (line 6) | class ExportedClass { method a (line 9) | set a(v: number) { method a (line 13) | get a(): number { method setA (line 17) | setA(a: number) { class DefaultExportClass (line 22) | class DefaultExportClass { method foo (line 23) | public static foo(x: number) { method bar (line 27) | public bar(x: number) { type BaseI (line 32) | interface BaseI { FILE: tests/samples/export_from/classB.ts class B (line 8) | class B extends AA method constructor (line 11) | constructor() function test (line 18) | function test() FILE: tests/samples/export_from/libA/lib/classA.ts class A (line 6) | class A{ method constructor (line 8) | constructor() function testLog (line 16) | function testLog(){ FILE: tests/samples/export_func.ts function defaultFunc (line 10) | function defaultFunc(): number { function addFunc (line 14) | function addFunc(a: number, b: number) { function subFunc (line 18) | function subFunc(a: number, b: number) { function mulFunc (line 22) | function mulFunc(a: number, b: number) { function divFunc (line 26) | function divFunc(a: number, b: number) { FILE: tests/samples/export_func_invoked.ts function beCalledFunc (line 6) | function beCalledFunc() { function exportedFunc (line 10) | function exportedFunc() { FILE: tests/samples/export_namespace.ts function aFunc (line 7) | function aFunc() { function bFunc (line 10) | function bFunc() { FILE: tests/samples/export_type.ts type globalType (line 6) | type globalType = string; type globalTypeDefault (line 7) | type globalTypeDefault = number; type innerType (line 11) | type innerType = boolean; type Pair (line 14) | type Pair = { type funcType (line 19) | type funcType = () => number; type objLiteralType (line 21) | type objLiteralType = { FILE: tests/samples/expression_binary.ts function lt (line 6) | function lt() { function gt (line 14) | function gt() { function le (line 22) | function le() { function ge (line 33) | function ge() { function eq (line 44) | function eq() { function seenAsEq (line 52) | function seenAsEq() { function ne (line 60) | function ne() { function seenAsNe (line 68) | function seenAsNe() { function add (line 76) | function add() { function sub (line 80) | function sub() { function mul (line 84) | function mul() { function div (line 88) | function div() { function subEq (line 92) | function subEq() { function addEq (line 98) | function addEq() { function mulEq (line 104) | function mulEq() { function divEq (line 110) | function divEq() { function xor (line 116) | function xor() { function shl (line 127) | function shl() { function shr (line 138) | function shr() { function and (line 153) | function and() { function or (line 164) | function or() { FILE: tests/samples/expression_binary_select.ts function selectAmpersandTrueTrue (line 6) | function selectAmpersandTrueTrue() { function selectAmpersandTrueFalse (line 16) | function selectAmpersandTrueFalse() { function selectAmpersandFalseTrue (line 26) | function selectAmpersandFalseTrue() { function selectAmpersandFalseFlase (line 36) | function selectAmpersandFalseFlase() { function selectBarTrueTrue (line 46) | function selectBarTrueTrue() { function selectBarTrueFalse (line 56) | function selectBarTrueFalse() { function selectBarFalseTrue (line 66) | function selectBarFalseTrue() { function selectBarFalseFalse (line 76) | function selectBarFalseFalse() { FILE: tests/samples/expression_condition.ts function binaryAsCondition (line 6) | function binaryAsCondition() { FILE: tests/samples/expression_unary.ts function prefixUnaryPlusPlus (line 6) | function prefixUnaryPlusPlus() { function prefixUnaryMinusMinus (line 13) | function prefixUnaryMinusMinus() { function prefixUnaryExclamation (line 20) | function prefixUnaryExclamation() { function prefixUnaryMinusToLiteralWithBinaryExpr (line 28) | function prefixUnaryMinusToLiteralWithBinaryExpr() { function prefixUnaryMinusToLiteralWithVarStmt (line 34) | function prefixUnaryMinusToLiteralWithVarStmt() { function prefixUnaryMinusToVarWithBinaryExpr (line 39) | function prefixUnaryMinusToVarWithBinaryExpr() { function prefixUnaryMinusToVarWithVarStmt (line 46) | function prefixUnaryMinusToVarWithVarStmt() { function prefixUnaryPlus (line 52) | function prefixUnaryPlus() { FILE: tests/samples/fallback_quickjs.ts class A (line 6) | class A { method constructor (line 8) | constructor(xx: number) { class VNode (line 13) | class VNode { method constructor (line 17) | constructor() { function mapTest (line 22) | function mapTest() { function setTest (line 59) | function setTest() { FILE: tests/samples/fallback_quickjs_Date.ts function DateTest1 (line 12) | function DateTest1() { function DateTest2 (line 29) | function DateTest2() { FILE: tests/samples/fallback_quickjs_JSON.ts function JSONTest (line 12) | function JSONTest(){ function JSONTest2 (line 20) | function JSONTest2(){ function JSONTest3 (line 28) | function JSONTest3() { FILE: tests/samples/for_in.ts type I (line 6) | interface I { type I_FUNC (line 10) | interface I_FUNC { function infc_obj_get_field (line 14) | function infc_obj_get_field() { function infc_obj_set_field (line 24) | function infc_obj_set_field() { function infc_obj_get_method (line 35) | function infc_obj_get_method() { function infc_obj_set_method (line 46) | function infc_obj_set_method() { class A (line 58) | class A { function extref_obj (line 63) | function extref_obj() { function dynamic_obj (line 73) | function dynamic_obj() { function mix_obj (line 83) | function mix_obj() { function forInWithContinue (line 95) | function forInWithContinue() { FILE: tests/samples/for_of.ts function forOfForArray (line 10) | function forOfForArray(): void { function forOfForString (line 31) | function forOfForString() { function forOfForMapKeys (line 50) | function forOfForMapKeys() { function forOfForMapValues (line 63) | function forOfForMapValues() { function forOfForMapEntries (line 73) | function forOfForMapEntries() { function forOfForSetValues (line 83) | function forOfForSetValues() { function forOfWithContinue (line 93) | function forOfWithContinue() { FILE: tests/samples/func_cast_interface.ts type MathFunction (line 6) | interface MathFunction { function foo (line 10) | function foo(f: MathFunction): MathFunction{ function test (line 18) | function test() { FILE: tests/samples/function_declaration.ts function simpleFunctionOnlyReturn (line 6) | function simpleFunctionOnlyReturn() { function basicFunction (line 10) | function basicFunction(a: number, b: number) { function functionWithDefaultParameter (line 14) | function functionWithDefaultParameter(a = 1, b = 2) { function defaultParamExport (line 18) | function defaultParamExport() { function functionWithFuncScopeVariable (line 22) | function functionWithFuncScopeVariable() { function miltipleVariablesInOneStatement (line 31) | function miltipleVariablesInOneStatement() { FILE: tests/samples/function_expression.ts function functionExpression (line 10) | function functionExpression() { function arrowFunction (line 18) | function arrowFunction() { function arrowFunctionWithoutReturn (line 25) | function arrowFunctionWithoutReturn() { function foo (line 30) | function foo(f: (x: number, y: number) => number): (x: number, y: number... function functionReturnClosure (line 37) | function functionReturnClosure() { FILE: tests/samples/function_scope_var.ts function useBeforeDeclare (line 6) | function useBeforeDeclare() { function operateWithConst (line 16) | function operateWithConst() { function nestedFunction (line 25) | function nestedFunction() { FILE: tests/samples/generic_class.ts class MObjectBase (line 6) | class MObjectBase { method constructor (line 9) | constructor() { class MObject (line 15) | class MObject extends MObjectBase { method constructor (line 18) | constructor(name: T) { method action (line 23) | action(say: T) { function test_GenericClassWithSingleGenericType (line 28) | function test_GenericClassWithSingleGenericType() { class Generic (line 36) | class Generic { method constructor (line 40) | constructor(x: X) { method say (line 46) | say(x: X) { class GenericBase1 (line 51) | class GenericBase1 extends Generic { method constructor (line 55) | constructor(x: X, y: Y) { class GenericBase2 (line 63) | class GenericBase2 extends Generic { method constructor (line 66) | constructor(x: X) { class GenericClass1 (line 73) | class GenericClass1 extends GenericBase1 { method value (line 76) | get value(): X { method value (line 79) | set value(x: X) { method constructor (line 83) | constructor(x: X, y: Y, z: Z) { method echo (line 88) | echo(param: X) { class GenericClass2 (line 93) | class GenericClass2 extends GenericBase2 { method value (line 96) | get value(): X { method value (line 99) | set value(x: X) { method constructor (line 103) | constructor(x: X, y: Y) { method echo (line 108) | echo(param: Y) { function test_GenericClassWithMultipleGenericTypes (line 113) | function test_GenericClassWithMultipleGenericTypes() { function test_GenericClassWithSameBase (line 125) | function test_GenericClassWithSameBase() { type I (line 137) | interface I { type IGeneric (line 141) | interface IGeneric extends I { class CGeneric (line 147) | class CGeneric implements IGeneric { method value (line 151) | get value(): T { method value (line 154) | set value(t: T) { method constructor (line 158) | constructor(t: T, v:V) { method getT (line 162) | getT(): T { method iGet (line 165) | iGet(): V { method iSet (line 168) | iSet(v: V): void { method echo (line 171) | echo(t: T): T { function test_GenericClassWithImplementsInfc (line 176) | function test_GenericClassWithImplementsInfc() { type MyObject (line 188) | type MyObject = { function test_GenericClassWithTypeAlias (line 193) | function test_GenericClassWithTypeAlias() { type II (line 203) | interface II { class A (line 207) | class A implements II { method get (line 208) | get(info: T) { function get (line 213) | function get(obj: any) { function test_AS (line 217) | function test_AS() { class M (line 222) | class M { method foo (line 223) | foo(a: T) { class N (line 228) | class N extends M { method constructor (line 231) | constructor(x: number) { method foo (line 235) | foo(a: T) { method bar (line 238) | bar(a: T) { function test_ClassWithGenericMethod (line 243) | function test_ClassWithGenericMethod() { class Foo (line 259) | class Foo { method foo (line 260) | foo(data: T[]) { class Bar (line 266) | class Bar { method bar (line 267) | bar(a: Foo, data: T[]) { function test_GenericMethodCall (line 272) | function test_GenericMethodCall() { FILE: tests/samples/generic_func.ts function genericFunc (line 6) | function genericFunc(param: T): T { function genericArrayFunc (line 10) | function genericArrayFunc(param: T): T[] { function numberFunc (line 14) | function numberFunc() { function booleanFunc (line 18) | function booleanFunc() { function stringFunc (line 22) | function stringFunc() { function stringArrayFunc (line 26) | function stringArrayFunc() { FILE: tests/samples/generic_param.ts function anyFunc (line 6) | function anyFunc(num: any) { function genericFunc (line 10) | function genericFunc(num: T) { type ForCallback (line 14) | type ForCallback = (item: T, index: number) => number function testGenericParam (line 16) | function testGenericParam() { type ItemGenerator (line 23) | type ItemGenerator = (item: T, index?: U) => void function func1 (line 25) | function func1(func: ItemGenerator, a: T, b: U) { function func2 (line 29) | function func2(func: ItemGenerator, a: T, b: U) { function typeFunc (line 33) | function typeFunc() { FILE: tests/samples/global_generics_function.ts function global_func (line 6) | function global_func(value: T) { function test (line 11) | function test() { FILE: tests/samples/global_value.ts class Test (line 8) | class Test { method getNum (line 9) | static getNum(): number { method getNum1 (line 12) | getNum1(): number { type F (line 17) | interface F { function helper (line 39) | function helper() { function helper1 (line 46) | function helper1() { function entry (line 63) | function entry() { FILE: tests/samples/global_variables.ts function globalVarTest1 (line 13) | function globalVarTest1() { function globalVarTest2 (line 20) | function globalVarTest2() { function globalVarTest3 (line 36) | function globalVarTest3() { FILE: tests/samples/if_statement_case1.ts function ifElse (line 6) | function ifElse() { function nestedIf (line 20) | function nestedIf() { function noElseBranch (line 37) | function noElseBranch() { class A (line 49) | class A { function returnInIf (line 53) | function returnInIf(x: number) { function stringAsCond (line 63) | function stringAsCond() { function noBlockInIfStmt (line 74) | function noBlockInIfStmt(params?: string) { function paramNotUndefined (line 85) | function paramNotUndefined() { function paramUndefined (line 89) | function paramUndefined() { FILE: tests/samples/ignore_parameter_in_variable.ts class VNode (line 6) | class VNode { method constructor (line 9) | constructor(id: number, type: string) { class Component (line 15) | class Component { function test_ignore_parameter (line 19) | function test_ignore_parameter() { FILE: tests/samples/import_alias_identifier.ts function getAliasFunc (line 13) | function getAliasFunc() { function getAliasVar (line 17) | function getAliasVar() { function getAliasClass (line 21) | function getAliasClass() { function getAliasNS (line 25) | function getAliasNS() { FILE: tests/samples/import_alias_reexport_identifier.ts function getAliasFunc (line 13) | function getAliasFunc() { function getAliasVar (line 17) | function getAliasVar() { function getAliasClass (line 21) | function getAliasClass() { function getAliasNS (line 25) | function getAliasNS() { FILE: tests/samples/import_alias_scope_identifier.ts function getAliasFunc (line 8) | function getAliasFunc() { function getAliasVar (line 12) | function getAliasVar() { function getAliasClass (line 16) | function getAliasClass() { function getAliasNS (line 20) | function getAliasNS() { FILE: tests/samples/import_class.ts class A (line 8) | class A extends ExportedClass{ function importClass (line 12) | function importClass() { class TestClass (line 22) | class TestClass extends DefaultExportClass { method bar (line 23) | public bar(x: number) { function importClassAsBaseClass (line 30) | function importClassAsBaseClass() { type DerivedInfcI (line 35) | interface DerivedInfcI extends BaseI { class DerivedClassI (line 40) | class DerivedClassI implements BaseI { function importClassAsInterface (line 45) | function importClassAsInterface() { FILE: tests/samples/import_expression.ts function defaultObjLiteral (line 9) | function defaultObjLiteral() { function defaultNumberLiteral (line 14) | function defaultNumberLiteral() { FILE: tests/samples/import_func.ts function importFuncAdd (line 17) | function importFuncAdd() { function importFuncSub (line 22) | function importFuncSub() { function importFuncMul (line 27) | function importFuncMul() { function importFuncDiv (line 32) | function importFuncDiv() { function importDefaultFunc (line 37) | function importDefaultFunc() { function importFuncInvoked (line 41) | function importFuncInvoked() { function importFuncByExportFrom (line 47) | function importFuncByExportFrom(){ FILE: tests/samples/import_implicit_type.ts function getObjTypeFromImport (line 8) | function getObjTypeFromImport() { FILE: tests/samples/import_namespace.ts function importNamespaceFunc (line 8) | function importNamespaceFunc() { function importNamespaceVar (line 13) | function importNamespaceVar() { FILE: tests/samples/import_type.ts function validatePrimitiveType (line 9) | function validatePrimitiveType() { function validateObjType (line 18) | function validateObjType() { function validateFuncType (line 27) | function validateFuncType() { function validateTypeArguments (line 32) | function validateTypeArguments() { FILE: tests/samples/import_var.ts function importVarA (line 8) | function importVarA() { function importVarB (line 12) | function importVarB() { function importVarC (line 16) | function importVarC() { FILE: tests/samples/infc_assign_class.ts type I (line 6) | interface I { class Foo (line 11) | class Foo { method constructor (line 14) | constructor() { function classAndInfc (line 20) | function classAndInfc() { type I2 (line 27) | interface I2 { class A (line 35) | class A implements I2 { method m (line 39) | get m() { method m (line 42) | set m(v: number) { method constructor (line 45) | constructor(xx: number, yy: string, mm: number) { method z (line 50) | z() { function infcImpl (line 55) | function infcImpl() { type I1 (line 64) | interface I1 { class A1 (line 69) | class A1 { function removeInfcFromRecGroup (line 74) | function removeInfcFromRecGroup() { type I3 (line 80) | interface I3 { class C (line 85) | class C implements I3 { method constructor (line 88) | constructor() { function infcImplWithOptionalField (line 94) | function infcImplWithOptionalField() { type I4 (line 99) | interface I4 { class A4 (line 104) | class A4 { function infcCastToObject (line 109) | function infcCastToObject() { FILE: tests/samples/infc_assign_infc.ts type I (line 6) | interface I { type I2 (line 11) | interface I2 { function infcAndInfc (line 17) | function infcAndInfc() { FILE: tests/samples/infc_assign_obj.ts type I (line 6) | interface I { type I1 (line 12) | interface I1 { function objLiteralAndInfc (line 16) | function objLiteralAndInfc() { type RouteInfo (line 23) | interface RouteInfo { function infcInitGlobal (line 35) | function infcInitGlobal() { FILE: tests/samples/infc_case18.ts type I (line 6) | interface I { class Foo (line 13) | class Foo { method constructor (line 17) | constructor() { method test (line 22) | test() { method _x (line 26) | set _x(x: number) { method _x (line 30) | get _x() { function infc18 (line 35) | function infc18() { FILE: tests/samples/infc_field_assign.ts type I (line 6) | interface I { type I2 (line 11) | interface I2 { type I3 (line 17) | interface I3 { function fieldAssignToOther (line 22) | function fieldAssignToOther() { function otherAssignToField (line 29) | function otherAssignToField() { FILE: tests/samples/infc_method.ts type I (line 6) | interface I { class Foo (line 13) | class Foo { method constructor (line 17) | constructor() { method test (line 22) | test() { method _x (line 26) | set _x(x: number) { method _x (line 30) | get _x() { function infcSetter (line 35) | function infcSetter() { type I2 (line 42) | interface I2 { function infcMethod (line 48) | function infcMethod() { function infcGetter (line 54) | function infcGetter() { type I3 (line 61) | interface I3 { class Test (line 66) | class Test { method x (line 67) | x(m: number) { method y (line 72) | y(){ function infcNestMethod (line 77) | function infcNestMethod() { type I5 (line 84) | interface I5 { class C5 (line 89) | class C5 { method func1 (line 90) | func1() { method func2 (line 93) | func2() { function infcMethodWithAnyInst (line 98) | function infcMethodWithAnyInst() { type FuncType (line 105) | type FuncType = () => void type I6 (line 106) | interface I6 { function ObjectLiteralFunctionFieldToInfc (line 110) | function ObjectLiteralFunctionFieldToInfc(){ class C6 (line 120) | class C6 { method constructor (line 123) | constructor(cb: FuncType){ function ClassFunctionFieldToInfc (line 128) | function ClassFunctionFieldToInfc(){ FILE: tests/samples/infc_parameter.ts type I (line 6) | interface I { type I2 (line 11) | interface I2 { class Foo (line 17) | class Foo { method constructor (line 21) | constructor() { function testInfc (line 28) | function testInfc(f: Foo) { function infcToClass (line 32) | function infcToClass() { function classToInfc (line 38) | function classToInfc() { function foo (line 44) | function foo(i: I2) { function funcAsParameter (line 48) | function funcAsParameter(i: (i: I2) => boolean) { function infcAsParameter (line 54) | function infcAsParameter() { FILE: tests/samples/infc_return_value.ts type I (line 6) | interface I { type I2 (line 11) | interface I2 { class Foo (line 17) | class Foo { method constructor (line 21) | constructor() { function foo (line 28) | function foo(): I { function foo2 (line 33) | function foo2(): Foo { function returnInfc (line 38) | function returnInfc() { function returnClass (line 43) | function returnClass() { FILE: tests/samples/infc_with_array.ts type I (line 6) | interface I { function infcWithArray (line 11) | function infcWithArray() { FILE: tests/samples/inner_generics_function.ts function test (line 6) | function test() { FILE: tests/samples/instanceof.ts class A (line 6) | class A { method constructor (line 7) | constructor() { method a (line 10) | a() { class B (line 15) | class B extends A { method b (line 16) | b() { class C (line 21) | class C extends B { method c (line 22) | c() { class D (line 27) | class D { method a (line 28) | a() { method b (line 31) | b() { type I (line 36) | interface I { function instanceofTest (line 41) | function instanceofTest() { class Base (line 89) | class Base { class Base_1 (line 92) | class Base_1 extends Base { class Base_1_1 (line 95) | class Base_1_1 extends Base_1 { function leftBaseRightSuperInner (line 98) | function leftBaseRightSuperInner(left: Base) { function leftBaseRightSuper (line 106) | function leftBaseRightSuper(){ FILE: tests/samples/lib.ts function test (line 6) | function test() { FILE: tests/samples/loop_do_while.ts function loopBodyEmpty (line 6) | function loopBodyEmpty() { function basicDoLoop (line 14) | function basicDoLoop() { function prefixPlusPlus (line 23) | function prefixPlusPlus(): number { function suffixPlusPlus (line 32) | function suffixPlusPlus(): number { function numberAsCondition (line 41) | function numberAsCondition(): number { function doWhileWithContinue (line 52) | function doWhileWithContinue() { FILE: tests/samples/loop_for.ts function basicCase (line 6) | function basicCase(): number { function loopBodySemicolon (line 15) | function loopBodySemicolon(): number { function loopBodyEmpty (line 21) | function loopBodyEmpty(): number { function noInitializer (line 28) | function noInitializer(): number { function noCondition (line 37) | function noCondition(): number { function noIncrement (line 49) | function noIncrement(): number { function nestedForLoopWithBreak (line 59) | function nestedForLoopWithBreak(): number { function multipleForLoop (line 74) | function multipleForLoop(): number { function loopWithCommaToken (line 85) | function loopWithCommaToken() { function loopWithContinue (line 97) | function loopWithContinue() { FILE: tests/samples/loop_while.ts function basicLoop (line 6) | function basicLoop(): number { function loopBodyEmpty (line 14) | function loopBodyEmpty(): number { function loopBodySemicolon (line 21) | function loopBodySemicolon(): number { function complexLoop (line 28) | function complexLoop(): number { function whileWithContinue (line 43) | function whileWithContinue(): boolean { FILE: tests/samples/map_callback.ts function logMapElements (line 6) | function logMapElements(value: any, key: any, map: any) { function map_forEach (line 10) | function map_forEach() { function map_get (line 23) | function map_get() { FILE: tests/samples/mixed_type.ts class A (line 6) | class A { function mixTypeInClass (line 13) | function mixTypeInClass() { type I (line 34) | interface I { function mixTypeInInfc (line 40) | function mixTypeInInfc() { FILE: tests/samples/module-case/export_normal.ts function add (line 6) | function add(a: number, b: number): number { FILE: tests/samples/module_start_A.ts function getAVar (line 12) | function getAVar() { function getBVar (line 16) | function getBVar() { function getCVar (line 20) | function getCVar() { FILE: tests/samples/module_start_B.ts function getBVar (line 11) | function getBVar() { function getCVar (line 15) | function getCVar() { FILE: tests/samples/module_start_C.ts function getCVar (line 10) | function getCVar() { FILE: tests/samples/namespace_func.ts function case2 (line 7) | function case2() { function namespaceFunc (line 13) | function namespaceFunc() { FILE: tests/samples/namespace_generics_function.ts function namespace_func (line 8) | function namespace_func(value: T) { function test (line 15) | function test() { FILE: tests/samples/namespace_nest.ts function case2 (line 9) | function case2() { function case2 (line 14) | function case2() { function case3 (line 23) | function case3() { function namespaceNested (line 29) | function namespaceNested() { FILE: tests/samples/namespace_var.ts function namespaceVar (line 11) | function namespaceVar() { FILE: tests/samples/nest_generic.ts type ItemGenerator (line 8) | type ItemGenerator = (item: T, index?: U) => void function func1 (line 9) | function func1(func: ItemGenerator, a: T, b: U) { function test1 (line 13) | function test1() { class Foo (line 23) | class Foo { method foo (line 24) | foo(data: T[]) { class Bar (line 29) | class Bar { method bar (line 30) | bar(a: Foo, data: T[]) { class Foo1 (line 34) | class Foo1 { method constructor (line 37) | constructor(x: T) { method x (line 40) | set x(x: T) { method x (line 43) | get x() { method foo (line 46) | foo(data: T[]) { class Bar1 (line 51) | class Bar1 { method constructor (line 54) | constructor(y: U) { method bar (line 57) | bar(a: Foo1, data: U[]) { function func2 (line 62) | function func2(a: Foo, b: Bar, data: U[]) { function func3 (line 65) | function func3(a: Foo1, b: Bar1, data: U[]) { function test2 (line 69) | function test2() { function test3 (line 76) | function test3() { function test4 (line 90) | function test4() { function func5 (line 106) | function func5(a: X, b: Y) { function func6 (line 112) | function func6(a: U, b: T) { function test5 (line 116) | function test5() { type funcType (line 122) | type funcType = (key: string, value: V) => void type AttrValue (line 123) | type AttrValue = undefined | string | number | boolean function echo (line 124) | function echo(key: string, value: string) { class ArrayMap2 (line 128) | class ArrayMap2 { method size (line 132) | get size() { method get (line 135) | get(key: string): V | undefined { method set (line 142) | set(key: string, value: V) { method delete (line 151) | delete(key: string) { method clear (line 158) | clear() { method forEach2 (line 162) | forEach2(fn: funcType) { function test6 (line 169) | function test6() { FILE: tests/samples/non_null_expression.ts type funcT (line 8) | type funcT = (x: number) => number; function test_non_null_func (line 10) | function test_non_null_func() { function test_non_null_field (line 21) | function test_non_null_field() { function test_non_null_any (line 37) | function test_non_null_any() { FILE: tests/samples/null_type_case1.ts class A (line 6) | class A { method foo (line 8) | static foo() { function test1 (line 13) | function test1() { function test2 (line 18) | function test2() { function test3 (line 23) | function test3() { function test4 (line 28) | function test4() { function nullTypeTest (line 33) | function nullTypeTest() { FILE: tests/samples/obj_literal.ts function simpleObject (line 6) | function simpleObject() { function nestedObject (line 16) | function nestedObject() { function moreNestedObject (line 28) | function moreNestedObject() { function assignObjectLiteralToField (line 42) | function assignObjectLiteralToField() { function withMethodField (line 57) | function withMethodField() { class A (line 75) | class A { class B (line 79) | class B extends A { function structWithSameLayout (line 83) | function structWithSameLayout() { type IA (line 93) | interface IA { function useThisInLiteralObj (line 99) | function useThisInLiteralObj() { type Node (line 141) | interface Node { function infcInitWithLiteralObj_completion (line 147) | function infcInitWithLiteralObj_completion() { function infcInitWithLiteralObj_reorder (line 161) | function infcInitWithLiteralObj_reorder() { type I (line 169) | interface I { class Bar (line 175) | class Bar { method constructor (line 177) | constructor() { function assignClassFieldWithObjectLiteral (line 182) | function assignClassFieldWithObjectLiteral() { function assignInfcFieldWithObjectLiteral (line 188) | function assignInfcFieldWithObjectLiteral() { FILE: tests/samples/obj_method_call.ts type I (line 6) | interface I { class A (line 11) | class A { method f1 (line 12) | f1() { function callClassTypedFunc (line 20) | function callClassTypedFunc() { function callClassTypedClosure (line 26) | function callClassTypedClosure() { function callInfcTypedFunc (line 34) | function callInfcTypedFunc() { function callInfcTypedClosure (line 40) | function callInfcTypedClosure() { FILE: tests/samples/obj_property_access.ts type I (line 6) | interface I { type I_FUNC (line 10) | interface I_FUNC { function infc_obj_get_field (line 14) | function infc_obj_get_field() { function infc_obj_set_field (line 22) | function infc_obj_set_field() { function obj_get_field (line 31) | function obj_get_field() { function obj_set_field (line 39) | function obj_set_field() { function obj_get_method (line 48) | function obj_get_method() { type I1 (line 57) | interface I1 { type T1 (line 60) | type T1 = (params?: I1) => void; type I2 (line 61) | interface I2 { function infc_obj_get_instance_method (line 65) | function infc_obj_get_instance_method() { function infc_obj_get_vtable_method (line 75) | function infc_obj_get_vtable_method() { function infc_obj_set_method (line 87) | function infc_obj_set_method() { function obj_set_method (line 97) | function obj_set_method() { type FuncType (line 107) | type FuncType = () => void; type I_CB (line 108) | interface I_CB { function getNullableFuncInner (line 112) | function getNullableFuncInner(cb: FuncType | null) { function getNullableFunc (line 125) | function getNullableFunc() { FILE: tests/samples/obj_property_dynamic_access.ts class PropClass (line 6) | class PropClass { type I1 (line 9) | interface I1 { type I2 (line 15) | interface I2 { function dynamicGetUnboxingInObjLiteral (line 21) | function dynamicGetUnboxingInObjLiteral() { function dynamicGetBoxingInObjLiteral (line 38) | function dynamicGetBoxingInObjLiteral() { class A1 (line 53) | class A1 { class A2 (line 59) | class A2 { function dynamicGetUnboxingInClass (line 65) | function dynamicGetUnboxingInClass() { function dynamicGetBoxingInClass (line 76) | function dynamicGetBoxingInClass() { function dynamicSetUnboxingInClass (line 87) | function dynamicSetUnboxingInClass() { function dynamicSetBoxingInClass (line 104) | function dynamicSetBoxingInClass() { type I3 (line 118) | interface I3 { class A3 (line 121) | class A3 { function dynamicAccessInUnionType (line 125) | function dynamicAccessInUnionType() { FILE: tests/samples/op_ref_type.ts function judgeIsRefNull (line 6) | function judgeIsRefNull() { FILE: tests/samples/optional_method.ts type FuncType (line 6) | type FuncType = () => void; type I1 (line 7) | interface I1 { function innerFunc (line 11) | function innerFunc(obj: I1, funcName: string) { function optionalMethod (line 20) | function optionalMethod() { FILE: tests/samples/optional_param.ts function optionalParam (line 6) | function optionalParam(a?: number) { function testOptionalParam (line 10) | function testOptionalParam() { function optionalParamAndRestParam (line 14) | function optionalParamAndRestParam(a: number, b?: string, ...rest: numbe... function testOptionalParamAndRestParam (line 18) | function testOptionalParamAndRestParam() { class ContainOptionalMethodClass (line 22) | class ContainOptionalMethodClass { method optionalMethod (line 23) | optionalMethod(a?: any) { method partOptionalMethod (line 27) | partOptionalMethod(a: any, b?: number) { method partOptionalDefaultMethod (line 31) | partOptionalDefaultMethod(a: number, b: any = 8, c?: any) { function testOptionalMethod (line 38) | function testOptionalMethod() { function testPartOptionalMethod (line 42) | function testPartOptionalMethod() { FILE: tests/samples/optional_property_access.ts type I (line 6) | interface I { class B (line 11) | class B { method constructor (line 14) | constructor(ii: I, numm: number) { function optionalField (line 20) | function optionalField() { type I1 (line 33) | interface I1 { class A1 (line 37) | class A1 { method x (line 39) | x() { method constructor (line 42) | constructor(num: number) { class A11 (line 47) | class A11 { function optionalMethod (line 50) | function optionalMethod() { class A (line 76) | class A { function classOptionalField (line 80) | function classOptionalField() { class B2 (line 87) | class B2 { class A2 (line 91) | class A2 { function accessOptFieldOfOptField (line 95) | function accessOptFieldOfOptField() { type ITreeNode (line 109) | interface ITreeNode { function checksum (line 113) | function checksum(node?: ITreeNode): number { function accessOptionalUnionField (line 120) | function accessOptionalUnionField() { type I2 (line 128) | interface I2 { type I3 (line 132) | interface I3 { class Foo (line 136) | class Foo { class Bar (line 139) | class Bar { type I4 (line 143) | interface I4 { type I5 (line 147) | interface I5 { type I6 (line 151) | interface I6 { type I7 (line 155) | interface I7 { type I8 (line 159) | interface I8 { function accessOptionalUnionField2 (line 163) | function accessOptionalUnionField2() { type funcType (line 229) | type funcType = () => number; type I_Optional_Func (line 230) | interface I_Optional_Func { function accessOptionalFuncTypedField (line 235) | function accessOptionalFuncTypedField() { FILE: tests/samples/parenthesized_expression_case1.ts function parenthesizedTest (line 6) | function parenthesizedTest() { FILE: tests/samples/percentToken.ts function percentToken (line 6) | function percentToken() { FILE: tests/samples/primitiveType.ts function constPrimitiveVars (line 6) | function constPrimitiveVars() { function letPrimitiveVars (line 19) | function letPrimitiveVars() { class A (line 34) | class A { function nullundefinedCmp (line 38) | function nullundefinedCmp() { function NaNNumber (line 65) | function NaNNumber() { FILE: tests/samples/promise_chain.ts function promiseChain (line 6) | function promiseChain() { function promiseMultiThen (line 46) | function promiseMultiThen() { FILE: tests/samples/promise_constructor.ts function newPromiseWithVoid (line 6) | function newPromiseWithVoid() { function newPromiseWithNumber (line 19) | function newPromiseWithNumber() { function newPromiseWithString (line 30) | function newPromiseWithString() { FILE: tests/samples/promise_immediate.ts function immediateResolveWithNoArg (line 6) | function immediateResolveWithNoArg() { function immediateResolveWithArg (line 18) | function immediateResolveWithArg() { function immediateReject (line 30) | function immediateReject() { FILE: tests/samples/promise_throw.ts function promiseThrowError (line 6) | function promiseThrowError() { function exception_catch_in_cb (line 44) | function exception_catch_in_cb(res: any) { function promiseCatchInCB (line 53) | function promiseCatchInCB() { function exception_not_catch_in_cb (line 80) | function exception_not_catch_in_cb(res: any) { function promiseNotCatchInCB (line 88) | function promiseNotCatchInCB() { FILE: tests/samples/prototype.ts function setPrototype (line 6) | function setPrototype() { function returnPrototypeObject (line 15) | function returnPrototypeObject() { FILE: tests/samples/rec_types.ts class Foo (line 6) | class Foo { method addChild (line 9) | addChild(child: Foo) { function recursiveType1 (line 18) | function recursiveType1() { class Foo1 (line 28) | class Foo1 { method addChild (line 31) | addChild(child: Bar1) { class Bar1 (line 39) | class Bar1 { method addChild (line 42) | addChild(child: Foo1) { class Baz1 (line 50) | class Baz1 extends Bar1 { function recursiveType2 (line 54) | function recursiveType2() { class T (line 66) | class T { method constructor (line 67) | constructor() { type FuncType (line 73) | type FuncType = (a: T) => void; function defaultFunc (line 75) | function defaultFunc(a: T) { class A (line 79) | class A { method test (line 80) | test(a: FuncType) { function defaultFuncUseRecType (line 87) | function defaultFuncUseRecType() { FILE: tests/samples/ref_type_cmp.ts class C (line 6) | class C { method test (line 9) | test() { function structCmpEq (line 13) | function structCmpEq() { function structCmpNotEq (line 20) | function structCmpNotEq() { function arrayCmpEq (line 26) | function arrayCmpEq() { function arrayCmpNotEq (line 34) | function arrayCmpNotEq() { type I (line 40) | interface I { function infcCmpEq (line 46) | function infcCmpEq() { function infcCmpNotEq (line 53) | function infcCmpNotEq() { type I2 (line 60) | interface I2 { function infcClassCmpEq (line 65) | function infcClassCmpEq() { function infcClassCmpNotEq (line 71) | function infcClassCmpNotEq() { FILE: tests/samples/rest_param_interface.ts type I (line 6) | interface I { class C1 (line 11) | class C1 { method test (line 14) | test() { method constructor (line 17) | constructor() { class C2 (line 23) | class C2 { method test (line 26) | test() { method constructor (line 29) | constructor() { function restParameterTest (line 34) | function restParameterTest() { FILE: tests/samples/rest_param_number.ts function restParameterTest (line 6) | function restParameterTest() { function test (line 19) | function test(a?: string) { function undefinedAsCond (line 28) | function undefinedAsCond() { class A (line 33) | class A { function anyrefCond (line 37) | function anyrefCond() { function foo (line 97) | function foo(...num: number[]) { function restParamWithEmpty (line 105) | function restParamWithEmpty() { FILE: tests/samples/return_statement.ts function deadCodeAfterReturn (line 6) | function deadCodeAfterReturn(a: number, b: number) { function helper (line 14) | function helper() { function foo (line 17) | function foo(i: number, j: number) { function returnVoid (line 24) | function returnVoid(): void { function helper1 (line 31) | function helper1(a: number) { function deadReturnStatement (line 37) | function deadReturnStatement(a: number) { function returnNaN (line 41) | function returnNaN() { function returnInfiity (line 46) | function returnInfiity() { function returnNegInfiity (line 51) | function returnNegInfiity() { FILE: tests/samples/sample_cases.test.ts constant IGNORE_LIST (line 18) | const IGNORE_LIST = [ constant STRINGREF_LIST (line 29) | const STRINGREF_LIST = [ FILE: tests/samples/scoped_variables.ts function nestedScopes (line 7) | function nestedScopes() { FILE: tests/samples/shorthand_prop_assign.ts type StringObject (line 6) | interface StringObject { type PageInfo (line 10) | interface PageInfo { function node_undefined (line 16) | function node_undefined(): string { FILE: tests/samples/spread_operator.ts class A (line 6) | class A { method constructor (line 8) | constructor(name: string) { type IA (line 13) | interface IA { function spread_number_array (line 17) | function spread_number_array() { function spread_boolean_array (line 37) | function spread_boolean_array() { function spread_string_array (line 45) | function spread_string_array() { function spread_object_array (line 52) | function spread_object_array() { function spread_interface_array (line 62) | function spread_interface_array() { function spread_literal_array (line 69) | function spread_literal_array() { function spread_any_array (line 103) | function spread_any_array() { function spread_nested_array (line 120) | function spread_nested_array() { function test1 (line 131) | function test1(arg: number, ...args: number[]) { function test2 (line 137) | function test2(arg: string, ...args: string[]) { function test3 (line 143) | function test3(arg: A, ...args: A[]) { function test4 (line 149) | function test4(arg: IA, ...args: IA[]) { function test5 (line 155) | function test5(arg: any, ...args: any[]) { function pass_spread_to_rest_param (line 162) | function pass_spread_to_rest_param() { FILE: tests/samples/string_binary_operation.ts function staticStringAdd (line 6) | function staticStringAdd() { function dynStringAdd (line 13) | function dynStringAdd() { function staticDynStringAdd (line 20) | function staticDynStringAdd() { function staticToStringAdd (line 27) | function staticToStringAdd() { function dynToStringAdd (line 37) | function dynToStringAdd() { FILE: tests/samples/string_or.ts function string_or (line 6) | function string_or() { FILE: tests/samples/string_type.ts function stringNotReturned (line 6) | function stringNotReturned() { function returnString (line 10) | function returnString(): string { function assignStringToVariable (line 15) | function assignStringToVariable() { function noExplicitStringKeyword (line 21) | function noExplicitStringKeyword() { function unicode (line 26) | function unicode() { function noSubstitutionTplLiteral (line 31) | function noSubstitutionTplLiteral() { function helper (line 44) | function helper(str: string, num: number) { class A (line 48) | class A { method xx (line 52) | get xx() { type I (line 59) | interface I { function foo (line 66) | function foo() { function outer (line 71) | function outer() { function templateString (line 79) | function templateString() { function stringContainHex (line 128) | function stringContainHex() { FILE: tests/samples/switch_case_statement.ts function switchWithDefault (line 6) | function switchWithDefault(): number { function nestedSwitchCase (line 26) | function nestedSwitchCase(): number { function emptySwitch (line 56) | function emptySwitch() { function switchWithoutDefault (line 63) | function switchWithoutDefault(): number { function multipleCasesShareSameBlock (line 79) | function multipleCasesShareSameBlock(): number { function caseWithoutBlock (line 96) | function caseWithoutBlock(): number { function caseWithoutBreak (line 110) | function caseWithoutBreak(): number { function varDeclarationInCase (line 123) | function varDeclarationInCase() { function stringInCase (line 144) | function stringInCase() { function noCase (line 159) | function noCase() { function caseAndDefault (line 169) | function caseAndDefault() { FILE: tests/samples/this_in_closure.ts class Home (line 6) | class Home { method printTag (line 7) | printTag(str:string){ method element (line 10) | element(id: number) { method render (line 13) | render() { function useThisInClosure (line 26) | function useThisInClosure() { FILE: tests/samples/this_in_method.ts class A1 (line 6) | class A1 { method func_a (line 7) | func_a() { method test (line 11) | test() { function thisInObjLiteralArrowFunc (line 23) | function thisInObjLiteralArrowFunc() { class A2 (line 28) | class A2 { method func_a (line 29) | func_a() { method test (line 33) | test() { function thisInObjLiteralFuncExpr (line 45) | function thisInObjLiteralFuncExpr() { FILE: tests/samples/toString.ts class A (line 6) | class A { type I (line 10) | interface I { function toStringTest (line 14) | function toStringTest() { FILE: tests/samples/tuple.ts function tuple_type_with_constant (line 6) | function tuple_type_with_constant() { function tuple_type_with_variable (line 14) | function tuple_type_with_variable() { function tuple_type_nested (line 24) | function tuple_type_nested() { function tuple_as_param_inner (line 35) | function tuple_as_param_inner(tuple: [i32, string]) { function tuple_as_param (line 40) | function tuple_as_param() { type I (line 45) | interface I { function tuple_as_ret_inner (line 49) | function tuple_as_ret_inner(): [I, i64] { function tuple_as_ret (line 57) | function tuple_as_ret() { function tuple_as_array_elem (line 64) | function tuple_as_array_elem() { function tuple_as_obj_field (line 76) | function tuple_as_obj_field() { type T (line 91) | interface T { function tuple_as_infc_field (line 96) | function tuple_as_infc_field() { function tuple_with_array (line 108) | function tuple_with_array() { class A (line 116) | class A { class B (line 121) | class B { function tuple_with_class (line 126) | function tuple_with_class() { function tuple_with_infc (line 134) | function tuple_with_infc() { FILE: tests/samples/typealias.ts type int (line 6) | type int = number; type pet (line 7) | type pet = 'cat' | 'dog'; type Point (line 9) | interface Point { type IntPoint (line 14) | type IntPoint = Point; type num (line 16) | type num = 1 | 2; type bool (line 17) | type bool = true | false; type obj (line 18) | type obj = {a: 1} | {b: 2}; type func (line 19) | type func = (() => void); function pet_point (line 22) | function pet_point(p: pet, point: IntPoint) { function num_add (line 26) | function num_add(n1: num, n2: num): number { function bool_test (line 30) | function bool_test(b: boolean): number { function obj_test (line 34) | function obj_test(o: obj) { function func_test (line 38) | function func_test(f: func) { type newA (line 42) | type newA = () => A; function func (line 48) | function func() { function useTypeBeforeDefine (line 52) | function useTypeBeforeDefine() { class A (line 57) | class A { method constructor (line 58) | constructor() { FILE: tests/samples/typeof.ts class D (line 6) | class D { type G (line 10) | interface G { function typeofTest (line 14) | function typeofTest() { FILE: tests/samples/unary_operator.ts function increasePre (line 7) | function increasePre(): number { function increasePost (line 10) | function increasePost(): number { function decreasePre (line 13) | function decreasePre(): number { function decreasePost (line 16) | function decreasePost(): number { function plusplusTest (line 20) | function plusplusTest() { function minusminusTest (line 34) | function minusminusTest() { function exclamationTest (line 48) | function exclamationTest() { function minusTest (line 56) | function minusTest() { function test (line 64) | function test() { FILE: tests/samples/undefined_test.ts function test (line 6) | function test() { FILE: tests/samples/union_assign.ts function unionTypeAssign (line 6) | function unionTypeAssign(){ FILE: tests/samples/union_field_get.ts class A (line 6) | class A { method fooA (line 8) | static fooA() { class B (line 13) | class B { method fooB (line 15) | static fooB() { function test1 (line 20) | function test1() { function test2 (line 25) | function test2() { function test3 (line 31) | function test3() { function test4 (line 39) | function test4() { function test_any_null (line 49) | function test_any_null() : any | null { function test_func_return_any_null (line 53) | function test_func_return_any_null() FILE: tests/samples/union_func_call.ts function testFunc (line 6) | function testFunc(a: boolean) { function unionFuncCall (line 13) | function unionFuncCall() { FILE: tests/samples/unsigned_value.ts function random_f64 (line 6) | function random_f64() { function random_i64 (line 16) | function random_i64() { function random_i32 (line 26) | function random_i32() { function random_f32 (line 36) | function random_f32() { FILE: tests/samples/wasmType_basic.ts function wasmTypeAssign (line 6) | function wasmTypeAssign() { function toI32Value (line 20) | function toI32Value() { function toI64Value (line 34) | function toI64Value() { function toF32Value (line 48) | function toF32Value() { function toF64Value (line 62) | function toF64Value() { function anyConvertValue (line 76) | function anyConvertValue() { function optimizeLiteralValue (line 89) | function optimizeLiteralValue() { function operateWasmTypeAndLiteral (line 100) | function operateWasmTypeAndLiteral() { function operateWasmTypeAndWasmType (line 125) | function operateWasmTypeAndWasmType() { function wasmTypeCompare (line 169) | function wasmTypeCompare() { function wasmTypeUnaryExpr (line 176) | function wasmTypeUnaryExpr() { function xor (line 189) | function xor() { function and (line 204) | function and() { function or (line 219) | function or() { function shl (line 234) | function shl() { function shr (line 249) | function shr() { FILE: tests/samples/wasmType_heapType.ts function wasmArrayTypeWithLiteral (line 6) | function wasmArrayTypeWithLiteral() { function wasmArrayTypeWithNewArray (line 28) | function wasmArrayTypeWithNewArray() { function wasmArrayTypeNested (line 45) | function wasmArrayTypeNested(): i64 { function wasmArrayTypeInArray (line 56) | function wasmArrayTypeInArray(): i64 { function wasmArrayTypeInObj (line 66) | function wasmArrayTypeInObj(): i64 { function wasmStructType (line 78) | function wasmStructType() { function wasmStructTypeNested (line 110) | function wasmStructTypeNested(): i64 { function wasmStructTypeInArray (line 121) | function wasmStructTypeInArray(): i64 { function wasmStructTypeInObj (line 131) | function wasmStructTypeInObj(): i64 { FILE: tests/samples/wasmType_in_otherType.ts function NonEffectWasmType (line 6) | function NonEffectWasmType() { function wasmTypeInClass (line 21) | function wasmTypeInClass() { function wasmTypeInObj (line 57) | function wasmTypeInObj() { function wasmTypeInArray (line 91) | function wasmTypeInArray() { function wasmTypeAs (line 132) | function wasmTypeAs() { function wasmTypeI32AsReturnType (line 144) | function wasmTypeI32AsReturnType(): i32 { function wasmTypeI64AsReturnType (line 148) | function wasmTypeI64AsReturnType(): i64 { function wasmTypeF32AsReturnType (line 152) | function wasmTypeF32AsReturnType(): f32 { function wasmTypeF64AsReturnType (line 156) | function wasmTypeF64AsReturnType(): f64 { FILE: tests/utils/test_helper.ts function testCompile (line 49) | function testCompile(filename: string): boolean { function testWithVM (line 70) | function testWithVM( FILE: tools/validate/run_module/import_object.js function setWasmMemory (line 8) | function setWasmMemory(value) { constant TAG_PROPERTY (line 12) | const TAG_PROPERTY = '@tag'; constant REF_PROPERTY (line 13) | const REF_PROPERTY = '@ref'; method strcmp (line 294) | strcmp(a, b) { FILE: tools/validate/run_module/run_module_on_chrome.js function run_wasm_module (line 8) | function run_wasm_module(filePath, funcName, warmupTimes, runTarget, ...... FILE: tools/validate/run_module/run_module_on_node.js function showHelp (line 10) | function showHelp() { FILE: tools/validate/wamr/create_validation_items.ts constant SCRIPT_DIR (line 12) | const SCRIPT_DIR = path.dirname(fileURLToPath(import.meta.url)); constant SAMPLES_DIR (line 13) | const SAMPLES_DIR = path.join(SCRIPT_DIR, '../../../tests/samples'); FILE: tools/validate/wamr/index.ts constant IGNORE_CASES (line 15) | let IGNORE_CASES = [ constant SCRIPT_DIR (line 104) | const SCRIPT_DIR = path.dirname(fileURLToPath(import.meta.url)); constant SAMPLES_DIR (line 105) | const SAMPLES_DIR = path.join(SCRIPT_DIR, '../../../tests/samples'); constant COMPILE_DIR (line 106) | const COMPILE_DIR = path.join(SCRIPT_DIR, 'wasm_modules'); constant IWASM_GC_DIR (line 107) | const IWASM_GC_DIR = path.join( constant BUILD_SCRIPT_DIR (line 111) | const BUILD_SCRIPT_DIR = path.join( constant TEST_LOG_FILE (line 115) | const TEST_LOG_FILE = path.join(SCRIPT_DIR, 'test.log'); constant WAMRC_DIR (line 117) | const WAMRC_DIR = path.join(