Debian Codegraph @

tests/fixtures/ecma-version/9/regexp-lookbehind-assertion/valid-positive-1.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": 8
13 }
14 },
15 "range": [
16 0,
17 8
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": 8
30 }
31 },
32 "range": [
33 0,
34 8
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": 8
46 }
47 },
48 "range": [
49 0,
50 8
51 ],
52 "raw": "/(?<=a)/",
53 "regex": {
54 "pattern": "(?<=a)",
55 "flags": ""
56 }
57 })
58 }
59 ],
60 "sourceType": "script",
61 "tokens": [
62 {
63 "type": "RegularExpression",
64 "value": "/(?<=a)/",
65 "loc": {
66 "start": {
67 "line": 1,
68 "column": 0
69 },
70 "end": {
71 "line": 1,
72 "column": 8
73 }
74 },
75 "range": [
76 0,
77 8
78 ],
79 "regex": {
80 "flags": "",
81 "pattern": "(?<=a)"
82 }
83 }
84 ]
85 };