Debian Codegraph @

tests/fixtures/ecma-version/9/regexp-s-flag/s-flag.result.js

raw
1 import conditionalRegex from "../../../../lib/conditional-regex-value.js";
2
3 export default {
4 "type": "Program",
5 "loc": {
6 "start": {
7 "line": 1,
8 "column": 0
9 },
10 "end": {
11 "line": 1,
12 "column": 4
13 }
14 },
15 "range": [
16 0,
17 4
18 ],
19 "body": [
20 {
21 "type": "ExpressionStatement",
22 "loc": {
23 "start": {
24 "line": 1,
25 "column": 0
26 },
27 "end": {
28 "line": 1,
29 "column": 4
30 }
31 },
32 "range": [
33 0,
34 4
35 ],
36 "expression": conditionalRegex({
37 "type": "Literal",
38 "loc": {
39 "start": {
40 "line": 1,
41 "column": 0
42 },
43 "end": {
44 "line": 1,
45 "column": 4
46 }
47 },
48 "range": [
49 0,
50 4
51 ],
52 "raw": "/./s",
53 "regex": {
54 "pattern": ".",
55 "flags": "s"
56 }
57 })
58 }
59 ],
60 "sourceType": "script",
61 "tokens": [
62 {
63 "type": "RegularExpression",
64 "value": "/./s",
65 "loc": {
66 "start": {
67 "line": 1,
68 "column": 0
69 },
70 "end": {
71 "line": 1,
72 "column": 4
73 }
74 },
75 "range": [
76 0,
77 4
78 ],
79 "regex": {
80 "flags": "s",
81 "pattern": "."
82 }
83 }
84 ]
85 };