File: stringMatchAll.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 459,140 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (15 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
=== tests/cases/compiler/stringMatchAll.ts ===
const matches = "matchAll".matchAll(/\w/g);
>matches : Symbol(matches, Decl(stringMatchAll.ts, 0, 5))
>"matchAll".matchAll : Symbol(String.matchAll, Decl(lib.es2020.string.d.ts, --, --))
>matchAll : Symbol(String.matchAll, Decl(lib.es2020.string.d.ts, --, --))

const array = [...matches];
>array : Symbol(array, Decl(stringMatchAll.ts, 1, 5))
>matches : Symbol(matches, Decl(stringMatchAll.ts, 0, 5))

const { index, input } = array[0];
>index : Symbol(index, Decl(stringMatchAll.ts, 2, 7))
>input : Symbol(input, Decl(stringMatchAll.ts, 2, 14))
>array : Symbol(array, Decl(stringMatchAll.ts, 1, 5))