Create new
Bindings
Transitions
Animations
Easing
Component composition
Context API
Special elements
Module context
Debugging
Miscellaneous
App.svelte
runes
This component is in runes mode.
To disable runes mode, add the following to the top of your component:
<svelte:options runes={false} />
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
⌄
⌄
<script>
// Need help? => https://axelbriche.bsky.social
import { onMount, onDestroy } from 'svelte';
let countdown = $state(null);
let gameStarted = $state(false);
const CONFIG = {
COLS: 10,
ROWS: 20,
DROP_INTERVAL: 800,
COLORS: ['#20B2AA', '#9370DB', '#F4A460', '#4682B4', '#CD5C5C', '#3CB371', '#DAA520'],
PIECES: [
[[[0,0,0,0], [1,1,1,1], [0,0,0,0], [0,0,0,0]], [[0,1,0,0], [0,1,0,0], [0,1,0,0], [0,1,0,0]]],
[[[0,1,0], [1,1,1], [0,0,0]], [[0,1,0], [0,1,1], [0,1,0]], [[0,0,0], [1,1,1], [0,1,0]], [[0,1,0], [1,1,0], [0,1,0]]],
[[[1,0,0], [1,1,1], [0,0,0]], [[0,1,1], [0,1,0], [0,1,0]], [[0,0,0], [1,1,1], [0,0,1]], [[0,1,0], [0,1,0], [1,1,0]]],
[[[0,0,1], [1,1,1], [0,0,0]], [[0,1,0], [0,1,0], [0,1,1]], [[0,0,0], [1,1,1], [1,0,0]], [[1,1,0], [0,1,0], [0,1,0]]],
[[[1,1,0], [0,1,1], [0,0,0]], [[0,0,1], [0,1,1], [0,1,0]]],
[[[0,1,1], [1,1,0], [0,0,0]], [[0,1,0], [0,1,1], [0,0,1]]],
[[[1,1], [1,1]]]
]
};
let score = $state(0);
let gameOver = $state(false);
let paused = $state(false);
let audioPlaying = $state(true);
let board = $state(Array(CONFIG.ROWS).fill().map(() => Array(CONFIG.COLS).fill(0)));
let currentPiece = $state(null);
let currentX = $state(0);
let currentY = $state(0);
let currentType = $state(0);
let currentRotation = $state(0);
let tetrisTheme = $state();
Error compiling component
WebAssembly.instantiateStreaming(): value type opcode @+13
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
⌄
⌄
⌄
⌄
import "svelte/internal/disclose-version";
import * as $ from "svelte/internal/client";
// Need help? => https://axelbriche.bsky.social
import { onMount, onDestroy } from 'svelte';
function toggleMusic(_, tetrisTheme, audioPlaying) {
if ($.get(tetrisTheme)) {
$.get(audioPlaying) ? $.get(tetrisTheme).pause() : $.get(tetrisTheme).play();
$.set(audioPlaying, !$.get(audioPlaying));
}
}
var root_2 = $.template(`<div class="cell svelte-1sr72j4"></div>`);
var root_3 = $.template(`<div class="overlay svelte-1sr72j4"><div class="countdown svelte-1sr72j4"> </div></div>`);
var root_4 = $.template(`<div class="overlay svelte-1sr72j4"><div class="game-over svelte-1sr72j4">Game Over!</div> <button class="svelte-1sr72j4">New Game</button></div>`);
var root = $.template(`<div class="game-container svelte-1sr72j4"><div class="game-area svelte-1sr72j4"><div class="score svelte-1sr72j4"> </div> <div class="board svelte-1sr72j4"></div> <!> <!></div> <div class="controls svelte-1sr72j4"><h2 class="svelte-1sr72j4">Controls</h2> <p class="svelte-1sr72j4"><span class="svelte-1sr72j4">Rotate</span> <span class="key svelte-1sr72j4">R</span></p> <p class="svelte-1sr72j4"><span class="svelte-1sr72j4">Left</span> <span class="key svelte-1sr72j4">←</span></p> <p class="svelte-1sr72j4"><span class="svelte-1sr72j4">Right</span> <span class="key svelte-1sr72j4">→</span></p> <p class="svelte-1sr72j4"><span class="svelte-1sr72j4">Soft Drop</span> <span class="key svelte-1sr72j4">↓</span></p> <p class="svelte-1sr72j4"><span class="svelte-1sr72j4">Hard Drop</span> <span class="key svelte-1sr72j4">Space</span></p> <p class="svelte-1sr72j4"><span class="svelte-1sr72j4">Pause</span> <span class="key svelte-1sr72j4">P</span></p> <button class="music-control svelte-1sr72j4"> </button></div> <audio id="tetrisTheme" loop class="svelte-1sr72j4"><source src="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" type="audio/mp3" class="svelte-1sr72j4"></audio></div>`);
export default function App($$anchor, $$props) {
$.push($$props, true);
let countdown = $.state(null);
let gameStarted = $.state(false);
const CONFIG = {
COLS: 10,
ROWS: 20,
DROP_INTERVAL: 800,
COLORS: [
'#20B2AA',
'#9370DB',
'#F4A460',
'#4682B4',
'#CD5C5C',
'#3CB371',
'#DAA520'
],
result = svelte.compile(source, {
generate: ,
});999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
.game-container.svelte-1sr72j4 {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 30px;
padding: 15px;
font-family: Arial, sans-serif;
background-color: #1a1a1a;
color: white;
justify-content: center;
height: 90%;
position: relative;
}
.board.svelte-1sr72j4 {
display: grid;
grid-template-rows: repeat(20, 18px);
grid-template-columns: repeat(10, 18px);
gap: 1px;
background-color: #333;
border: 2px solid #444;
padding: 5px;
border-radius: 4px;
}
.cell.svelte-1sr72j4 {
background-color: #1a1a1a;
border-radius: 2px;
transition: background-color 0.1s;
}
.score.svelte-1sr72j4 {
font-size: 24px;
font-weight: bold;
color: #20B2AA;
Root {
css: StyleSheet {...}
- type: "StyleSheet"
- start: 5781
- end: 8516
- attributes: []
children: [...] (17)
Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 5791
- end: 5806
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 5791
- end: 5806
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "game-container"
- start: 5791
- end: 5806
}
]- start: 5791
- end: 5806
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 5807
- end: 6074
children: [...] (11)
Declaration {...}
- type: "Declaration"
- start: 5813
- end: 5826
- property: "display"
- value: "flex"
} Declaration {...}
- type: "Declaration"
- start: 5832
- end: 5851
- property: "flex-direction"
- value: "row"
} Declaration {...}
- type: "Declaration"
- start: 5857
- end: 5880
- property: "align-items"
- value: "flex-start"
} Declaration {...}
- type: "Declaration"
- start: 5886
- end: 5895
- property: "gap"
- value: "30px"
} Declaration {...}
- type: "Declaration"
- start: 5901
- end: 5914
- property: "padding"
- value: "15px"
} Declaration {...}
- type: "Declaration"
- start: 5920
- end: 5950
- property: "font-family"
- value: "Arial, sans-serif"
} Declaration {...}
- type: "Declaration"
- start: 5956
- end: 5981
- property: "background-color"
- value: "#1a1a1a"
} Declaration {...}
- type: "Declaration"
- start: 5987
- end: 5999
- property: "color"
- value: "white"
} Declaration {...}
- type: "Declaration"
- start: 6005
- end: 6028
- property: "justify-content"
- value: "center"
} Declaration {...}
- type: "Declaration"
- start: 6034
- end: 6045
- property: "height"
- value: "90%"
} Declaration {...}
- type: "Declaration"
- start: 6051
- end: 6069
- property: "position"
- value: "relative"
}
]
}- start: 5791
- end: 6074
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 6078
- end: 6084
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 6078
- end: 6084
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "board"
- start: 6078
- end: 6084
}
]- start: 6078
- end: 6084
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 6085
- end: 6308
children: [...] (8)
Declaration {...}
- type: "Declaration"
- start: 6091
- end: 6104
- property: "display"
- value: "grid"
} Declaration {...}
- type: "Declaration"
- start: 6110
- end: 6146
- property: "grid-template-rows"
- value: "repeat(20, 18px)"
} Declaration {...}
- type: "Declaration"
- start: 6152
- end: 6191
- property: "grid-template-columns"
- value: "repeat(10, 18px)"
} Declaration {...}
- type: "Declaration"
- start: 6197
- end: 6205
- property: "gap"
- value: "1px"
} Declaration {...}
- type: "Declaration"
- start: 6211
- end: 6233
- property: "background-color"
- value: "#333"
} Declaration {...}
- type: "Declaration"
- start: 6239
- end: 6261
- property: "border"
- value: "2px solid #444"
} Declaration {...}
- type: "Declaration"
- start: 6267
- end: 6279
- property: "padding"
- value: "5px"
} Declaration {...}
- type: "Declaration"
- start: 6285
- end: 6303
- property: "border-radius"
- value: "4px"
}
]
}- start: 6078
- end: 6308
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 6312
- end: 6317
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 6312
- end: 6317
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "cell"
- start: 6312
- end: 6317
}
]- start: 6312
- end: 6317
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 6318
- end: 6417
children: [...] (3)
Declaration {...}
- type: "Declaration"
- start: 6324
- end: 6349
- property: "background-color"
- value: "#1a1a1a"
} Declaration {...}
- type: "Declaration"
- start: 6355
- end: 6373
- property: "border-radius"
- value: "2px"
} Declaration {...}
- type: "Declaration"
- start: 6379
- end: 6412
- property: "transition"
- value: "background-color 0.1s"
}
]
}- start: 6312
- end: 6417
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 6421
- end: 6427
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 6421
- end: 6427
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "score"
- start: 6421
- end: 6427
}
]- start: 6421
- end: 6427
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 6428
- end: 6572
children: [...] (5)
Declaration {...}
- type: "Declaration"
- start: 6434
- end: 6449
- property: "font-size"
- value: "24px"
} Declaration {...}
- type: "Declaration"
- start: 6455
- end: 6472
- property: "font-weight"
- value: "bold"
} Declaration {...}
- type: "Declaration"
- start: 6478
- end: 6492
- property: "color"
- value: "#20B2AA"
} Declaration {...}
- type: "Declaration"
- start: 6498
- end: 6542
- property: "text-shadow"
- value: "0 0 5px rgba(32, 178, 170, 0.3)"
} Declaration {...}
- type: "Declaration"
- start: 6548
- end: 6567
- property: "margin-bottom"
- value: "20px"
}
]
}- start: 6421
- end: 6572
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 6576
- end: 6585
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 6576
- end: 6585
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "controls"
- start: 6576
- end: 6585
}
]- start: 6576
- end: 6585
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 6586
- end: 6723
children: [...] (6)
Declaration {...}
- type: "Declaration"
- start: 6592
- end: 6608
- property: "text-align"
- value: "left"
} Declaration {...}
- type: "Declaration"
- start: 6614
- end: 6625
- property: "color"
- value: "#aaa"
} Declaration {...}
- type: "Declaration"
- start: 6631
- end: 6653
- property: "background-color"
- value: "#222"
} Declaration {...}
- type: "Declaration"
- start: 6659
- end: 6672
- property: "padding"
- value: "20px"
} Declaration {...}
- type: "Declaration"
- start: 6678
- end: 6696
- property: "border-radius"
- value: "8px"
} Declaration {...}
- type: "Declaration"
- start: 6702
- end: 6718
- property: "min-width"
- value: "180px"
}
]
}- start: 6576
- end: 6723
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 6727
- end: 6738
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 6727
- end: 6738
children: [...] (2)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "controls"
- start: 6727
- end: 6736
}
]- start: 6727
- end: 6736
} RelativeSelector {...}
- type: "RelativeSelector"
combinator: Combinator {...}
- type: "Combinator"
- name: " "
- start: 6736
- end: 6737
}selectors: [...] (1)
TypeSelector {...}
- type: "TypeSelector"
- name: "p"
- start: 6737
- end: 6738
}
]- start: 6736
- end: 6738
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 6739
- end: 6844
children: [...] (4)
Declaration {...}
- type: "Declaration"
- start: 6745
- end: 6759
- property: "margin"
- value: "12px 0"
} Declaration {...}
- type: "Declaration"
- start: 6765
- end: 6778
- property: "display"
- value: "flex"
} Declaration {...}
- type: "Declaration"
- start: 6784
- end: 6814
- property: "justify-content"
- value: "space-between"
} Declaration {...}
- type: "Declaration"
- start: 6820
- end: 6839
- property: "align-items"
- value: "center"
}
]
}- start: 6727
- end: 6844
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 6848
- end: 6852
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 6848
- end: 6852
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "key"
- start: 6848
- end: 6852
}
]- start: 6848
- end: 6852
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 6853
- end: 7063
children: [...] (8)
Declaration {...}
- type: "Declaration"
- start: 6859
- end: 6880
- property: "display"
- value: "inline-block"
} Declaration {...}
- type: "Declaration"
- start: 6886
- end: 6911
- property: "background-color"
- value: "#2a2a2a"
} Declaration {...}
- type: "Declaration"
- start: 6917
- end: 6933
- property: "padding"
- value: "4px 8px"
} Declaration {...}
- type: "Declaration"
- start: 6939
- end: 6957
- property: "border-radius"
- value: "4px"
} Declaration {...}
- type: "Declaration"
- start: 6963
- end: 6985
- property: "font-family"
- value: "monospace"
} Declaration {...}
- type: "Declaration"
- start: 6991
- end: 7006
- property: "min-width"
- value: "20px"
} Declaration {...}
- type: "Declaration"
- start: 7012
- end: 7030
- property: "text-align"
- value: "center"
} Declaration {...}
- type: "Declaration"
- start: 7036
- end: 7058
- property: "border"
- value: "1px solid #444"
}
]
}- start: 6848
- end: 7063
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 7067
- end: 7073
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 7067
- end: 7073
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
TypeSelector {...}
- type: "TypeSelector"
- name: "button"
- start: 7067
- end: 7073
}
]- start: 7067
- end: 7073
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 7074
- end: 7302
children: [...] (9)
Declaration {...}
- type: "Declaration"
- start: 7080
- end: 7098
- property: "padding"
- value: "12px 24px"
} Declaration {...}
- type: "Declaration"
- start: 7104
- end: 7119
- property: "font-size"
- value: "18px"
} Declaration {...}
- type: "Declaration"
- start: 7125
- end: 7140
- property: "cursor"
- value: "pointer"
} Declaration {...}
- type: "Declaration"
- start: 7146
- end: 7165
- property: "background"
- value: "#20B2AA"
} Declaration {...}
- type: "Declaration"
- start: 7171
- end: 7183
- property: "color"
- value: "white"
} Declaration {...}
- type: "Declaration"
- start: 7189
- end: 7201
- property: "border"
- value: "none"
} Declaration {...}
- type: "Declaration"
- start: 7207
- end: 7225
- property: "border-radius"
- value: "4px"
} Declaration {...}
- type: "Declaration"
- start: 7231
- end: 7251
- property: "transition"
- value: "all 0.2s"
} Declaration {...}
- type: "Declaration"
- start: 7257
- end: 7297
- property: "box-shadow"
- value: "0 2px 5px rgba(0, 0, 0, 0.2)"
}
]
}- start: 7067
- end: 7302
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 7306
- end: 7318
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 7306
- end: 7318
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (2)
TypeSelector {...}
- type: "TypeSelector"
- name: "button"
- start: 7306
- end: 7312
} PseudoClassSelector {...}
- type: "PseudoClassSelector"
- name: "hover"
- args: null
- start: 7312
- end: 7318
}
]- start: 7306
- end: 7318
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 7319
- end: 7372
children: [...] (2)
Declaration {...}
- type: "Declaration"
- start: 7321
- end: 7340
- property: "background"
- value: "#1a9090"
} Declaration {...}
- type: "Declaration"
- start: 7342
- end: 7369
- property: "transform"
- value: "translateY(-1px)"
}
]
}- start: 7306
- end: 7372
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 7375
- end: 7388
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 7375
- end: 7388
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (2)
TypeSelector {...}
- type: "TypeSelector"
- name: "button"
- start: 7375
- end: 7381
} PseudoClassSelector {...}
- type: "PseudoClassSelector"
- name: "active"
- args: null
- start: 7381
- end: 7388
}
]- start: 7375
- end: 7388
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 7389
- end: 7420
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 7391
- end: 7417
- property: "transform"
- value: "translateY(1px)"
}
]
}- start: 7375
- end: 7420
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 7424
- end: 7432
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 7424
- end: 7432
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "overlay"
- start: 7424
- end: 7432
}
]- start: 7424
- end: 7432
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 7433
- end: 7669
children: [...] (11)
Declaration {...}
- type: "Declaration"
- start: 7439
- end: 7457
- property: "position"
- value: "absolute"
} Declaration {...}
- type: "Declaration"
- start: 7463
- end: 7469
- property: "top"
- value: "0"
} Declaration {...}
- type: "Declaration"
- start: 7475
- end: 7482
- property: "left"
- value: "0"
} Declaration {...}
- type: "Declaration"
- start: 7488
- end: 7496
- property: "right"
- value: "0"
} Declaration {...}
- type: "Declaration"
- start: 7502
- end: 7511
- property: "bottom"
- value: "0"
} Declaration {...}
- type: "Declaration"
- start: 7517
- end: 7548
- property: "background"
- value: "rgba(0, 0, 0, 0.85)"
} Declaration {...}
- type: "Declaration"
- start: 7554
- end: 7567
- property: "display"
- value: "flex"
} Declaration {...}
- type: "Declaration"
- start: 7573
- end: 7595
- property: "flex-direction"
- value: "column"
} Declaration {...}
- type: "Declaration"
- start: 7601
- end: 7620
- property: "align-items"
- value: "center"
} Declaration {...}
- type: "Declaration"
- start: 7626
- end: 7649
- property: "justify-content"
- value: "center"
} Declaration {...}
- type: "Declaration"
- start: 7655
- end: 7664
- property: "gap"
- value: "20px"
}
]
}- start: 7424
- end: 7669
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 7673
- end: 7683
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 7673
- end: 7683
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "countdown"
- start: 7673
- end: 7683
}
]- start: 7673
- end: 7683
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 7684
- end: 7838
children: [...] (5)
Declaration {...}
- type: "Declaration"
- start: 7690
- end: 7705
- property: "font-size"
- value: "72px"
} Declaration {...}
- type: "Declaration"
- start: 7711
- end: 7728
- property: "font-weight"
- value: "bold"
} Declaration {...}
- type: "Declaration"
- start: 7734
- end: 7748
- property: "color"
- value: "#20B2AA"
} Declaration {...}
- type: "Declaration"
- start: 7754
- end: 7799
- property: "text-shadow"
- value: "0 0 20px rgba(32, 178, 170, 0.5)"
} Declaration {...}
- type: "Declaration"
- start: 7805
- end: 7833
- property: "animation"
- value: "pulse 1s infinite"
}
]
}- start: 7673
- end: 7838
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 7842
- end: 7852
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 7842
- end: 7852
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "game-over"
- start: 7842
- end: 7852
}
]- start: 7842
- end: 7852
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 7853
- end: 7999
children: [...] (5)
Declaration {...}
- type: "Declaration"
- start: 7859
- end: 7874
- property: "font-size"
- value: "48px"
} Declaration {...}
- type: "Declaration"
- start: 7880
- end: 7897
- property: "font-weight"
- value: "bold"
} Declaration {...}
- type: "Declaration"
- start: 7903
- end: 7917
- property: "color"
- value: "#CD5C5C"
} Declaration {...}
- type: "Declaration"
- start: 7923
- end: 7967
- property: "text-shadow"
- value: "0 0 20px rgba(205, 92, 92, 0.5)"
} Declaration {...}
- type: "Declaration"
- start: 7973
- end: 7994
- property: "animation"
- value: "shake 0.5s"
}
]
}- start: 7842
- end: 7999
} Atrule {...}
- type: "Atrule"
- start: 8003
- end: 8126
- name: "keyframes"
- prelude: "pulse"
block: Block {...}
- type: "Block"
- start: 8020
- end: 8126
children: [...] (3)
Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8026
- end: 8028
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8026
- end: 8028
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "0%"
- start: 8026
- end: 8028
}
]- start: 8026
- end: 8028
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8029
- end: 8053
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8031
- end: 8050
- property: "transform"
- value: "scale(1)"
}
]
}- start: 8026
- end: 8053
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8058
- end: 8061
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8058
- end: 8061
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "50%"
- start: 8058
- end: 8061
}
]- start: 8058
- end: 8061
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8062
- end: 8088
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8064
- end: 8085
- property: "transform"
- value: "scale(1.2)"
}
]
}- start: 8058
- end: 8088
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8093
- end: 8097
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8093
- end: 8097
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "100%"
- start: 8093
- end: 8097
}
]- start: 8093
- end: 8097
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8098
- end: 8122
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8100
- end: 8119
- property: "transform"
- value: "scale(1)"
}
]
}- start: 8093
- end: 8122
}
]
}
} Atrule {...}
- type: "Atrule"
- start: 8130
- end: 8353
- name: "keyframes"
- prelude: "shake"
block: Block {...}
- type: "Block"
- start: 8147
- end: 8353
children: [...] (5)
Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8153
- end: 8155
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8153
- end: 8155
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "0%"
- start: 8153
- end: 8155
}
]- start: 8153
- end: 8155
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8156
- end: 8185
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8158
- end: 8182
- property: "transform"
- value: "translateX(0)"
}
]
}- start: 8153
- end: 8185
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8190
- end: 8193
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8190
- end: 8193
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "25%"
- start: 8190
- end: 8193
}
]- start: 8190
- end: 8193
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8194
- end: 8227
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8196
- end: 8224
- property: "transform"
- value: "translateX(-10px)"
}
]
}- start: 8190
- end: 8227
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8232
- end: 8235
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8232
- end: 8235
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "50%"
- start: 8232
- end: 8235
}
]- start: 8232
- end: 8235
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8236
- end: 8268
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8238
- end: 8265
- property: "transform"
- value: "translateX(10px)"
}
]
}- start: 8232
- end: 8268
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8273
- end: 8276
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8273
- end: 8276
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "75%"
- start: 8273
- end: 8276
}
]- start: 8273
- end: 8276
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8277
- end: 8310
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8279
- end: 8307
- property: "transform"
- value: "translateX(-10px)"
}
]
}- start: 8273
- end: 8310
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8315
- end: 8319
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8315
- end: 8319
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
Percentage {...}
- type: "Percentage"
- value: "100%"
- start: 8315
- end: 8319
}
]- start: 8315
- end: 8319
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8320
- end: 8349
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8322
- end: 8346
- property: "transform"
- value: "translateX(0)"
}
]
}- start: 8315
- end: 8349
}
]
}
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8357
- end: 8371
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8357
- end: 8371
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (1)
ClassSelector {...}
- type: "ClassSelector"
- name: "music-control"
- start: 8357
- end: 8371
}
]- start: 8357
- end: 8371
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8372
- end: 8461
children: [...] (4)
Declaration {...}
- type: "Declaration"
- start: 8378
- end: 8394
- property: "margin-top"
- value: "20px"
} Declaration {...}
- type: "Declaration"
- start: 8400
- end: 8417
- property: "padding"
- value: "8px 16px"
} Declaration {...}
- type: "Declaration"
- start: 8423
- end: 8439
- property: "background"
- value: "#333"
} Declaration {...}
- type: "Declaration"
- start: 8445
- end: 8456
- property: "width"
- value: "100%"
}
]
}- start: 8357
- end: 8461
} Rule {...}
- type: "Rule"
prelude: SelectorList {...}
- type: "SelectorList"
- start: 8465
- end: 8485
children: [...] (1)
ComplexSelector {...}
- type: "ComplexSelector"
- start: 8465
- end: 8485
children: [...] (1)
RelativeSelector {...}
- type: "RelativeSelector"
- combinator: null
selectors: [...] (2)
ClassSelector {...}
- type: "ClassSelector"
- name: "music-control"
- start: 8465
- end: 8479
} PseudoClassSelector {...}
- type: "PseudoClassSelector"
- name: "hover"
- args: null
- start: 8479
- end: 8485
}
]- start: 8465
- end: 8485
}
]
}
]
}block: Block {...}
- type: "Block"
- start: 8486
- end: 8507
children: [...] (1)
Declaration {...}
- type: "Declaration"
- start: 8488
- end: 8504
- property: "background"
- value: "#444"
}
]
}- start: 8465
- end: 8507
}
]content: {...}
- start: 5788
- end: 8508
- styles: "\n .game-container {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: 30px;\n padding: 15px;\n font-family: Arial, sans-serif;\n background-color: #1a1a1a;\n color: white;\n justify-content: center;\n height: 90%;\n position: relative;\n }\n\n .board {\n display: grid;\n grid-template-rows: repeat(20, 18px);\n grid-template-columns: repeat(10, 18px);\n gap: 1px;\n background-color: #333;\n border: 2px solid #444;\n padding: 5px;\n border-radius: 4px;\n }\n\n .cell {\n background-color: #1a1a1a;\n border-radius: 2px;\n transition: background-color 0.1s;\n }\n\n .score {\n font-size: 24px;\n font-weight: bold;\n color: #20B2AA;\n text-shadow: 0 0 5px rgba(32, 178, 170, 0.3);\n margin-bottom: 20px;\n }\n\n .controls {\n text-align: left;\n color: #aaa;\n background-color: #222;\n padding: 20px;\n border-radius: 8px;\n min-width: 180px;\n }\n\n .controls p {\n margin: 12px 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .key {\n display: inline-block;\n background-color: #2a2a2a;\n padding: 4px 8px;\n border-radius: 4px;\n font-family: monospace;\n min-width: 20px;\n text-align: center;\n border: 1px solid #444;\n }\n\n button {\n padding: 12px 24px;\n font-size: 18px;\n cursor: pointer;\n background: #20B2AA;\n color: white;\n border: none;\n border-radius: 4px;\n transition: all 0.2s;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n }\n\n button:hover { background: #1a9090; transform: translateY(-1px); }\n button:active { transform: translateY(1px); }\n\n .overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.85);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 20px;\n }\n\n .countdown {\n font-size: 72px;\n font-weight: bold;\n color: #20B2AA;\n text-shadow: 0 0 20px rgba(32, 178, 170, 0.5);\n animation: pulse 1s infinite;\n }\n\n .game-over {\n font-size: 48px;\n font-weight: bold;\n color: #CD5C5C;\n text-shadow: 0 0 20px rgba(205, 92, 92, 0.5);\n animation: shake 0.5s;\n }\n\n @keyframes pulse {\n 0% { transform: scale(1); }\n 50% { transform: scale(1.2); }\n 100% { transform: scale(1); }\n }\n\n @keyframes shake {\n 0% { transform: translateX(0); }\n 25% { transform: translateX(-10px); }\n 50% { transform: translateX(10px); }\n 75% { transform: translateX(-10px); }\n 100% { transform: translateX(0); }\n }\n\n .music-control {\n margin-top: 20px;\n padding: 8px 16px;\n background: #333;\n width: 100%;\n }\n\n .music-control:hover { background: #444; }\n"
- comment: null
}
}- js: []
- start: 5781
- end: 10104
- type: "Root"
fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 5779
- end: 5781
- raw: "\n\n"
- data: "\n\n"
} Text {...}
- type: "Text"
- start: 8516
- end: 8518
- raw: "\n\n"
- data: "\n\n"
} RegularElement {...}
- type: "RegularElement"
- start: 8518
- end: 10104
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 8523
- end: 8545
- name: "class"
value: [...] (1)
Text {...}
- start: 8530
- end: 8544
- type: "Text"
- raw: "game-container"
- data: "game-container svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (7)
Text {...}
- type: "Text"
- start: 8546
- end: 8549
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 8549
- end: 9394
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 8554
- end: 8571
- name: "class"
value: [...] (1)
Text {...}
- start: 8561
- end: 8570
- type: "Text"
- raw: "game-area"
- data: "game-area svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (9)
Text {...}
- type: "Text"
- start: 8572
- end: 8577
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 8577
- end: 8616
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 8582
- end: 8595
- name: "class"
value: [...] (1)
Text {...}
- start: 8589
- end: 8594
- type: "Text"
- raw: "score"
- data: "score svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (2)
Text {...}
- type: "Text"
- start: 8596
- end: 8603
- raw: "Score: "
- data: "Score: "
} ExpressionTag {...}
- type: "ExpressionTag"
- start: 8603
- end: 8610
expression: Identifier {...}
- type: "Identifier"
- start: 8604
- end: 8609
loc: {...}
start: {...}
- line: 355
- column: 31
}end: {...}
- line: 355
- column: 36
}
}- name: "score"
}
}
]
}
} Text {...}
- type: "Text"
- start: 8616
- end: 8621
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 8621
- end: 9080
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 8626
- end: 8639
- name: "class"
value: [...] (1)
Text {...}
- start: 8633
- end: 8638
- type: "Text"
- raw: "board"
- data: "board svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 8640
- end: 8647
- raw: "\n "
- data: "\n "
} EachBlock {...}
- type: "EachBlock"
- start: 8647
- end: 9069
expression: Identifier {...}
- type: "Identifier"
- start: 8654
- end: 8659
loc: {...}
start: {...}
- line: 357
- column: 13
}end: {...}
- line: 357
- column: 18
}
}- name: "board"
}body: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 8670
- end: 8679
- raw: "\n "
- data: "\n "
} EachBlock {...}
- type: "EachBlock"
- start: 8679
- end: 9055
expression: Identifier {...}
- type: "Identifier"
- start: 8686
- end: 8689
loc: {...}
start: {...}
- line: 358
- column: 15
}end: {...}
- line: 358
- column: 18
}
}- name: "row"
}body: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 8701
- end: 8712
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 8712
- end: 9039
- name: "div"
attributes: [...] (2)
Attribute {...}
- type: "Attribute"
- start: 8730
- end: 8742
- name: "class"
value: [...] (1)
Text {...}
- start: 8737
- end: 8741
- type: "Text"
- raw: "cell"
- data: "cell svelte-1sr72j4"
}
]
} Attribute {...}
- type: "Attribute"
- start: 8755
- end: 9021
- name: "style"
value: [...] (2)
Text {...}
- start: 8762
- end: 8780
- type: "Text"
- raw: "background-color: "
- data: "background-color: "
} ExpressionTag {...}
- type: "ExpressionTag"
- start: 8780
- end: 9020
expression: ConditionalExpression {...}
- type: "ConditionalExpression"
- start: 8781
- end: 9019
loc: {...}
start: {...}
- line: 361
- column: 38
}end: {...}
- line: 361
- column: 276
}
}test: Identifier {...}
- type: "Identifier"
- start: 8781
- end: 8785
loc: {...}
start: {...}
- line: 361
- column: 38
}end: {...}
- line: 361
- column: 42
}
}- name: "cell"
}consequent: MemberExpression {...}
- type: "MemberExpression"
- start: 8788
- end: 8811
loc: {...}
start: {...}
- line: 361
- column: 45
}end: {...}
- line: 361
- column: 68
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 8788
- end: 8801
loc: {...}
start: {...}
- line: 361
- column: 45
}end: {...}
- line: 361
- column: 58
}
}object: Identifier {...}
- type: "Identifier"
- start: 8788
- end: 8794
loc: {...}
start: {...}
- line: 361
- column: 45
}end: {...}
- line: 361
- column: 51
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 8795
- end: 8801
loc: {...}
start: {...}
- line: 361
- column: 52
}end: {...}
- line: 361
- column: 58
}
}- name: "COLORS"
}- computed: false
- optional: false
}property: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8802
- end: 8810
loc: {...}
start: {...}
- line: 361
- column: 59
}end: {...}
- line: 361
- column: 67
}
}left: Identifier {...}
- type: "Identifier"
- start: 8802
- end: 8806
loc: {...}
start: {...}
- line: 361
- column: 59
}end: {...}
- line: 361
- column: 63
}
}- name: "cell"
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 8809
- end: 8810
loc: {...}
start: {...}
- line: 361
- column: 66
}end: {...}
- line: 361
- column: 67
}
}- value: 1
- raw: "1"
}
}- computed: true
- optional: false
}alternate: ConditionalExpression {...}
- type: "ConditionalExpression"
- start: 8814
- end: 9019
loc: {...}
start: {...}
- line: 361
- column: 71
}end: {...}
- line: 361
- column: 276
}
}test: LogicalExpression {...}
- type: "LogicalExpression"
- start: 8814
- end: 8985
loc: {...}
start: {...}
- line: 361
- column: 71
}end: {...}
- line: 361
- column: 242
}
}left: LogicalExpression {...}
- type: "LogicalExpression"
- start: 8814
- end: 8944
loc: {...}
start: {...}
- line: 361
- column: 71
}end: {...}
- line: 361
- column: 201
}
}left: LogicalExpression {...}
- type: "LogicalExpression"
- start: 8814
- end: 8906
loc: {...}
start: {...}
- line: 361
- column: 71
}end: {...}
- line: 361
- column: 163
}
}left: LogicalExpression {...}
- type: "LogicalExpression"
- start: 8814
- end: 8889
loc: {...}
start: {...}
- line: 361
- column: 71
}end: {...}
- line: 361
- column: 146
}
}left: LogicalExpression {...}
- type: "LogicalExpression"
- start: 8814
- end: 8872
loc: {...}
start: {...}
- line: 361
- column: 71
}end: {...}
- line: 361
- column: 129
}
}left: Identifier {...}
- type: "Identifier"
- start: 8814
- end: 8826
loc: {...}
start: {...}
- line: 361
- column: 71
}end: {...}
- line: 361
- column: 83
}
}- name: "currentPiece"
}- operator: "&&"
right: ChainExpression {...}
- type: "ChainExpression"
- start: 8830
- end: 8872
loc: {...}
start: {...}
- line: 361
- column: 87
}end: {...}
- line: 361
- column: 129
}
}expression: MemberExpression {...}
- type: "MemberExpression"
- start: 8830
- end: 8872
loc: {...}
start: {...}
- line: 361
- column: 87
}end: {...}
- line: 361
- column: 129
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 8830
- end: 8856
loc: {...}
start: {...}
- line: 361
- column: 87
}end: {...}
- line: 361
- column: 113
}
}object: Identifier {...}
- type: "Identifier"
- start: 8830
- end: 8842
loc: {...}
start: {...}
- line: 361
- column: 87
}end: {...}
- line: 361
- column: 99
}
}- name: "currentPiece"
}property: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8843
- end: 8855
loc: {...}
start: {...}
- line: 361
- column: 100
}end: {...}
- line: 361
- column: 112
}
}left: Identifier {...}
- type: "Identifier"
- start: 8843
- end: 8844
loc: {...}
start: {...}
- line: 361
- column: 100
}end: {...}
- line: 361
- column: 101
}
}- name: "y"
}- operator: "-"
right: Identifier {...}
- type: "Identifier"
- start: 8847
- end: 8855
loc: {...}
start: {...}
- line: 361
- column: 104
}end: {...}
- line: 361
- column: 112
}
}- name: "currentY"
}
}- computed: true
- optional: false
}property: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8859
- end: 8871
loc: {...}
start: {...}
- line: 361
- column: 116
}end: {...}
- line: 361
- column: 128
}
}left: Identifier {...}
- type: "Identifier"
- start: 8859
- end: 8860
loc: {...}
start: {...}
- line: 361
- column: 116
}end: {...}
- line: 361
- column: 117
}
}- name: "x"
}- operator: "-"
right: Identifier {...}
- type: "Identifier"
- start: 8863
- end: 8871
loc: {...}
start: {...}
- line: 361
- column: 120
}end: {...}
- line: 361
- column: 128
}
}- name: "currentX"
}
}- computed: true
- optional: true
}
}
}- operator: "&&"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8876
- end: 8889
loc: {...}
start: {...}
- line: 361
- column: 133
}end: {...}
- line: 361
- column: 146
}
}left: Identifier {...}
- type: "Identifier"
- start: 8876
- end: 8877
loc: {...}
start: {...}
- line: 361
- column: 133
}end: {...}
- line: 361
- column: 134
}
}- name: "y"
}- operator: ">="
right: Identifier {...}
- type: "Identifier"
- start: 8881
- end: 8889
loc: {...}
start: {...}
- line: 361
- column: 138
}end: {...}
- line: 361
- column: 146
}
}- name: "currentY"
}
}
}- operator: "&&"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8893
- end: 8906
loc: {...}
start: {...}
- line: 361
- column: 150
}end: {...}
- line: 361
- column: 163
}
}left: Identifier {...}
- type: "Identifier"
- start: 8893
- end: 8894
loc: {...}
start: {...}
- line: 361
- column: 150
}end: {...}
- line: 361
- column: 151
}
}- name: "x"
}- operator: ">="
right: Identifier {...}
- type: "Identifier"
- start: 8898
- end: 8906
loc: {...}
start: {...}
- line: 361
- column: 155
}end: {...}
- line: 361
- column: 163
}
}- name: "currentX"
}
}
}- operator: "&&"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8910
- end: 8944
loc: {...}
start: {...}
- line: 361
- column: 167
}end: {...}
- line: 361
- column: 201
}
}left: Identifier {...}
- type: "Identifier"
- start: 8910
- end: 8911
loc: {...}
start: {...}
- line: 361
- column: 167
}end: {...}
- line: 361
- column: 168
}
}- name: "y"
}- operator: "<"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8914
- end: 8944
loc: {...}
start: {...}
- line: 361
- column: 171
}end: {...}
- line: 361
- column: 201
}
}left: Identifier {...}
- type: "Identifier"
- start: 8914
- end: 8922
loc: {...}
start: {...}
- line: 361
- column: 171
}end: {...}
- line: 361
- column: 179
}
}- name: "currentY"
}- operator: "+"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 8925
- end: 8944
loc: {...}
start: {...}
- line: 361
- column: 182
}end: {...}
- line: 361
- column: 201
}
}object: Identifier {...}
- type: "Identifier"
- start: 8925
- end: 8937
loc: {...}
start: {...}
- line: 361
- column: 182
}end: {...}
- line: 361
- column: 194
}
}- name: "currentPiece"
}property: Identifier {...}
- type: "Identifier"
- start: 8938
- end: 8944
loc: {...}
start: {...}
- line: 361
- column: 195
}end: {...}
- line: 361
- column: 201
}
}- name: "length"
}- computed: false
- optional: false
}
}
}
}- operator: "&&"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8948
- end: 8985
loc: {...}
start: {...}
- line: 361
- column: 205
}end: {...}
- line: 361
- column: 242
}
}left: Identifier {...}
- type: "Identifier"
- start: 8948
- end: 8949
loc: {...}
start: {...}
- line: 361
- column: 205
}end: {...}
- line: 361
- column: 206
}
}- name: "x"
}- operator: "<"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 8952
- end: 8985
loc: {...}
start: {...}
- line: 361
- column: 209
}end: {...}
- line: 361
- column: 242
}
}left: Identifier {...}
- type: "Identifier"
- start: 8952
- end: 8960
loc: {...}
start: {...}
- line: 361
- column: 209
}end: {...}
- line: 361
- column: 217
}
}- name: "currentX"
}- operator: "+"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 8963
- end: 8985
loc: {...}
start: {...}
- line: 361
- column: 220
}end: {...}
- line: 361
- column: 242
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 8963
- end: 8978
loc: {...}
start: {...}
- line: 361
- column: 220
}end: {...}
- line: 361
- column: 235
}
}object: Identifier {...}
- type: "Identifier"
- start: 8963
- end: 8975
loc: {...}
start: {...}
- line: 361
- column: 220
}end: {...}
- line: 361
- column: 232
}
}- name: "currentPiece"
}property: Literal {...}
- type: "Literal"
- start: 8976
- end: 8977
loc: {...}
start: {...}
- line: 361
- column: 233
}end: {...}
- line: 361
- column: 234
}
}- value: 0
- raw: "0"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 8979
- end: 8985
loc: {...}
start: {...}
- line: 361
- column: 236
}end: {...}
- line: 361
- column: 242
}
}- name: "length"
}- computed: false
- optional: false
}
}
}
}consequent: MemberExpression {...}
- type: "MemberExpression"
- start: 8988
- end: 9014
loc: {...}
start: {...}
- line: 361
- column: 245
}end: {...}
- line: 361
- column: 271
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 8988
- end: 9001
loc: {...}
start: {...}
- line: 361
- column: 245
}end: {...}
- line: 361
- column: 258
}
}object: Identifier {...}
- type: "Identifier"
- start: 8988
- end: 8994
loc: {...}
start: {...}
- line: 361
- column: 245
}end: {...}
- line: 361
- column: 251
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 8995
- end: 9001
loc: {...}
start: {...}
- line: 361
- column: 252
}end: {...}
- line: 361
- column: 258
}
}- name: "COLORS"
}- computed: false
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 9002
- end: 9013
loc: {...}
start: {...}
- line: 361
- column: 259
}end: {...}
- line: 361
- column: 270
}
}- name: "currentType"
}- computed: true
- optional: false
}alternate: Literal {...}
- type: "Literal"
- start: 9017
- end: 9019
loc: {...}
start: {...}
- line: 361
- column: 274
}end: {...}
- line: 361
- column: 276
}
}- value: ""
- raw: "''"
}
}
}
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
- nodes: []
}
} Text {...}
- type: "Text"
- start: 9039
- end: 9048
- raw: "\n "
- data: "\n "
}
]
}context: Identifier {...}
- type: "Identifier"
- name: "cell"
- start: 8693
loc: {...}
start: {...}
- line: 358
- column: 22
- character: 8693
}end: {...}
- line: 358
- column: 26
- character: 8697
}
}- end: 8697
- typeAnnotation: undefined
}- index: "x"
- key: undefined
} Text {...}
- type: "Text"
- start: 9055
- end: 9062
- raw: "\n "
- data: "\n "
}
]
}context: Identifier {...}
- type: "Identifier"
- name: "row"
- start: 8663
loc: {...}
start: {...}
- line: 357
- column: 22
- character: 8663
}end: {...}
- line: 357
- column: 25
- character: 8666
}
}- end: 8666
- typeAnnotation: undefined
}- index: "y"
- key: undefined
} Text {...}
- type: "Text"
- start: 9069
- end: 9074
- raw: "\n "
- data: "\n "
}
]
}
} Text {...}
- type: "Text"
- start: 9080
- end: 9085
- raw: " "
- data: " "
} IfBlock {...}
- type: "IfBlock"
- elseif: false
- start: 9085
- end: 9200
test: Identifier {...}
- type: "Identifier"
- start: 9090
- end: 9099
loc: {...}
start: {...}
- line: 366
- column: 9
}end: {...}
- line: 366
- column: 18
}
}- name: "countdown"
}consequent: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 9100
- end: 9107
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 9107
- end: 9190
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9112
- end: 9127
- name: "class"
value: [...] (1)
Text {...}
- start: 9119
- end: 9126
- type: "Text"
- raw: "overlay"
- data: "overlay svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 9128
- end: 9137
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 9137
- end: 9177
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9142
- end: 9159
- name: "class"
value: [...] (1)
Text {...}
- start: 9149
- end: 9158
- type: "Text"
- raw: "countdown"
- data: "countdown svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
ExpressionTag {...}
- type: "ExpressionTag"
- start: 9160
- end: 9171
expression: Identifier {...}
- type: "Identifier"
- start: 9161
- end: 9170
loc: {...}
start: {...}
- line: 368
- column: 32
}end: {...}
- line: 368
- column: 41
}
}- name: "countdown"
}
}
]
}
} Text {...}
- type: "Text"
- start: 9177
- end: 9184
- raw: "\n "
- data: "\n "
}
]
}
} Text {...}
- type: "Text"
- start: 9190
- end: 9195
- raw: "\n "
- data: "\n "
}
]
}- alternate: null
} Text {...}
- type: "Text"
- start: 9200
- end: 9205
- raw: " "
- data: " "
} IfBlock {...}
- type: "IfBlock"
- elseif: false
- start: 9205
- end: 9385
test: Identifier {...}
- type: "Identifier"
- start: 9210
- end: 9218
loc: {...}
start: {...}
- line: 371
- column: 9
}end: {...}
- line: 371
- column: 17
}
}- name: "gameOver"
}consequent: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 9219
- end: 9226
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 9226
- end: 9375
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9231
- end: 9246
- name: "class"
value: [...] (1)
Text {...}
- start: 9238
- end: 9245
- type: "Text"
- raw: "overlay"
- data: "overlay svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (5)
Text {...}
- type: "Text"
- start: 9247
- end: 9256
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 9256
- end: 9295
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9261
- end: 9278
- name: "class"
value: [...] (1)
Text {...}
- start: 9268
- end: 9277
- type: "Text"
- raw: "game-over"
- data: "game-over svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9279
- end: 9289
- raw: "Game Over!"
- data: "Game Over!"
}
]
}
} Text {...}
- type: "Text"
- start: 9295
- end: 9304
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9304
- end: 9362
- name: "button"
attributes: [...] (2)
Attribute {...}
- type: "Attribute"
- start: 9312
- end: 9344
- name: "onclick"
value: ExpressionTag {...}
- type: "ExpressionTag"
- start: 9320
- end: 9344
expression: Identifier {...}
- type: "Identifier"
- start: 9321
- end: 9343
loc: {...}
start: {...}
- line: 374
- column: 25
}end: {...}
- line: 374
- column: 47
}
}- name: "startGameWithCountdown"
}
}
} Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9345
- end: 9353
- raw: "New Game"
- data: "New Game"
}
]
}
} Text {...}
- type: "Text"
- start: 9362
- end: 9369
- raw: "\n "
- data: "\n "
}
]
}
} Text {...}
- type: "Text"
- start: 9375
- end: 9380
- raw: "\n "
- data: "\n "
}
]
}- alternate: null
} Text {...}
- type: "Text"
- start: 9385
- end: 9388
- raw: "\n "
- data: "\n "
}
]
}
} Text {...}
- type: "Text"
- start: 9394
- end: 9397
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9397
- end: 9932
- name: "div"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9402
- end: 9418
- name: "class"
value: [...] (1)
Text {...}
- start: 9409
- end: 9417
- type: "Text"
- raw: "controls"
- data: "controls svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (17)
Text {...}
- type: "Text"
- start: 9419
- end: 9424
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 9424
- end: 9441
- name: "h2"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9428
- end: 9436
- raw: "Controls"
- data: "Controls"
}
]
}
} Text {...}
- type: "Text"
- start: 9441
- end: 9446
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9446
- end: 9499
- name: "p"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
RegularElement {...}
- type: "RegularElement"
- start: 9449
- end: 9468
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9455
- end: 9461
- raw: "Rotate"
- data: "Rotate"
}
]
}
} Text {...}
- type: "Text"
- start: 9468
- end: 9469
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9469
- end: 9495
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9475
- end: 9486
- name: "class"
value: [...] (1)
Text {...}
- start: 9482
- end: 9485
- type: "Text"
- raw: "key"
- data: "key svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9487
- end: 9488
- raw: "R"
- data: "R"
}
]
}
}
]
}
} Text {...}
- type: "Text"
- start: 9499
- end: 9504
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9504
- end: 9555
- name: "p"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
RegularElement {...}
- type: "RegularElement"
- start: 9507
- end: 9524
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9513
- end: 9517
- raw: "Left"
- data: "Left"
}
]
}
} Text {...}
- type: "Text"
- start: 9524
- end: 9525
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9525
- end: 9551
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9531
- end: 9542
- name: "class"
value: [...] (1)
Text {...}
- start: 9538
- end: 9541
- type: "Text"
- raw: "key"
- data: "key svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9543
- end: 9544
- raw: "←"
- data: "←"
}
]
}
}
]
}
} Text {...}
- type: "Text"
- start: 9555
- end: 9560
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9560
- end: 9612
- name: "p"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
RegularElement {...}
- type: "RegularElement"
- start: 9563
- end: 9581
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9569
- end: 9574
- raw: "Right"
- data: "Right"
}
]
}
} Text {...}
- type: "Text"
- start: 9581
- end: 9582
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9582
- end: 9608
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9588
- end: 9599
- name: "class"
value: [...] (1)
Text {...}
- start: 9595
- end: 9598
- type: "Text"
- raw: "key"
- data: "key svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9600
- end: 9601
- raw: "→"
- data: "→"
}
]
}
}
]
}
} Text {...}
- type: "Text"
- start: 9612
- end: 9617
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9617
- end: 9673
- name: "p"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
RegularElement {...}
- type: "RegularElement"
- start: 9620
- end: 9642
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9626
- end: 9635
- raw: "Soft Drop"
- data: "Soft Drop"
}
]
}
} Text {...}
- type: "Text"
- start: 9642
- end: 9643
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9643
- end: 9669
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9649
- end: 9660
- name: "class"
value: [...] (1)
Text {...}
- start: 9656
- end: 9659
- type: "Text"
- raw: "key"
- data: "key svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9661
- end: 9662
- raw: "↓"
- data: "↓"
}
]
}
}
]
}
} Text {...}
- type: "Text"
- start: 9673
- end: 9678
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9678
- end: 9738
- name: "p"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
RegularElement {...}
- type: "RegularElement"
- start: 9681
- end: 9703
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9687
- end: 9696
- raw: "Hard Drop"
- data: "Hard Drop"
}
]
}
} Text {...}
- type: "Text"
- start: 9703
- end: 9704
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9704
- end: 9734
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9710
- end: 9721
- name: "class"
value: [...] (1)
Text {...}
- start: 9717
- end: 9720
- type: "Text"
- raw: "key"
- data: "key svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9722
- end: 9727
- raw: "Space"
- data: "Space"
}
]
}
}
]
}
} Text {...}
- type: "Text"
- start: 9738
- end: 9743
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9743
- end: 9795
- name: "p"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
RegularElement {...}
- type: "RegularElement"
- start: 9746
- end: 9764
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9752
- end: 9757
- raw: "Pause"
- data: "Pause"
}
]
}
} Text {...}
- type: "Text"
- start: 9764
- end: 9765
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9765
- end: 9791
- name: "span"
attributes: [...] (1)
Attribute {...}
- type: "Attribute"
- start: 9771
- end: 9782
- name: "class"
value: [...] (1)
Text {...}
- start: 9778
- end: 9781
- type: "Text"
- raw: "key"
- data: "key svelte-1sr72j4"
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (1)
Text {...}
- type: "Text"
- start: 9783
- end: 9784
- raw: "P"
- data: "P"
}
]
}
}
]
}
} Text {...}
- type: "Text"
- start: 9795
- end: 9800
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9800
- end: 9923
- name: "button"
attributes: [...] (2)
Attribute {...}
- type: "Attribute"
- start: 9808
- end: 9829
- name: "class"
value: [...] (1)
Text {...}
- start: 9815
- end: 9828
- type: "Text"
- raw: "music-control"
- data: "music-control svelte-1sr72j4"
}
]
} Attribute {...}
- type: "Attribute"
- start: 9830
- end: 9851
- name: "onclick"
value: ExpressionTag {...}
- type: "ExpressionTag"
- start: 9838
- end: 9851
expression: Identifier {...}
- type: "Identifier"
- start: 9839
- end: 9850
loc: {...}
start: {...}
- line: 386
- column: 43
}end: {...}
- line: 386
- column: 54
}
}- name: "toggleMusic"
}
}
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 9852
- end: 9859
- raw: "\n "
- data: "\n "
} ExpressionTag {...}
- type: "ExpressionTag"
- start: 9859
- end: 9909
expression: ConditionalExpression {...}
- type: "ConditionalExpression"
- start: 9860
- end: 9908
loc: {...}
start: {...}
- line: 387
- column: 7
}end: {...}
- line: 387
- column: 55
}
}test: Identifier {...}
- type: "Identifier"
- start: 9860
- end: 9872
loc: {...}
start: {...}
- line: 387
- column: 7
}end: {...}
- line: 387
- column: 19
}
}- name: "audioPlaying"
}consequent: Literal {...}
- type: "Literal"
- start: 9875
- end: 9890
loc: {...}
start: {...}
- line: 387
- column: 22
}end: {...}
- line: 387
- column: 37
}
}- value: "🔇 Stop Music"
- raw: "'🔇 Stop Music'"
}alternate: Literal {...}
- type: "Literal"
- start: 9893
- end: 9908
loc: {...}
start: {...}
- line: 387
- column: 40
}end: {...}
- line: 387
- column: 55
}
}- value: "🎵 Play Music"
- raw: "'🎵 Play Music'"
}
}
} Text {...}
- type: "Text"
- start: 9909
- end: 9914
- raw: "\n "
- data: "\n "
}
]
}
} Text {...}
- type: "Text"
- start: 9923
- end: 9926
- raw: "\n "
- data: "\n "
}
]
}
} Text {...}
- type: "Text"
- start: 9932
- end: 9935
- raw: " "
- data: " "
} RegularElement {...}
- type: "RegularElement"
- start: 9935
- end: 10097
- name: "audio"
attributes: [...] (4)
BindDirective {...}
- start: 9942
- end: 9965
- type: "BindDirective"
- name: "this"
- modifiers: []
expression: Identifier {...}
- type: "Identifier"
- start: 9953
- end: 9964
loc: {...}
start: {...}
- line: 390
- column: 20
}end: {...}
- line: 390
- column: 31
}
}- name: "tetrisTheme"
}
} Attribute {...}
- type: "Attribute"
- start: 9966
- end: 9982
- name: "id"
value: [...] (1)
Text {...}
- start: 9970
- end: 9981
- type: "Text"
- raw: "tetrisTheme"
- data: "tetrisTheme"
}
]
} Attribute {...}
- type: "Attribute"
- start: 9983
- end: 9987
- name: "loop"
- value: true
} Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
nodes: [...] (3)
Text {...}
- type: "Text"
- start: 9988
- end: 9993
- raw: "\n "
- data: "\n "
} RegularElement {...}
- type: "RegularElement"
- start: 9993
- end: 10086
- name: "source"
attributes: [...] (3)
Attribute {...}
- type: "Attribute"
- start: 10001
- end: 10068
- name: "src"
value: [...] (1)
Text {...}
- start: 10006
- end: 10067
- type: "Text"
- raw: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"
- data: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"
}
]
} Attribute {...}
- type: "Attribute"
- start: 10069
- end: 10085
- name: "type"
value: [...] (1)
Text {...}
- start: 10075
- end: 10084
- type: "Text"
- raw: "audio/mp3"
- data: "audio/mp3"
}
]
} Attribute {...}
- type: "Attribute"
- start: -1
- end: -1
- name: "class"
value: [...] (1)
Text {...}
- type: "Text"
- data: "svelte-1sr72j4"
- raw: "svelte-1sr72j4"
- start: -1
- end: -1
}
]
}
]fragment: Fragment {...}
- type: "Fragment"
- nodes: []
}
} Text {...}
- type: "Text"
- start: 10086
- end: 10089
- raw: "\n "
- data: "\n "
}
]
}
} Text {...}
- type: "Text"
- start: 10097
- end: 10098
- raw: "\n"
- data: "\n"
}
]
}
}
]
}- options: null
instance: Script {...}
- type: "Script"
- start: 0
- end: 5779
- context: "default"
content: Program {...}
- type: "Program"
- start: 8
- end: 5770
loc: {...}
start: {...}
- line: 1
- column: 0
}end: {...}
- line: 215
- column: 0
}
}body: [...] (33)
ImportDeclaration {...}
- type: "ImportDeclaration"
- start: 62
- end: 106
loc: {...}
start: {...}
- line: 4
- column: 2
}end: {...}
- line: 4
- column: 46
}
}specifiers: [...] (2)
ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 71
- end: 78
loc: {...}
start: {...}
- line: 4
- column: 11
}end: {...}
- line: 4
- column: 18
}
}imported: Identifier {...}
- type: "Identifier"
- start: 71
- end: 78
loc: {...}
start: {...}
- line: 4
- column: 11
}end: {...}
- line: 4
- column: 18
}
}- name: "onMount"
}local: Identifier {...}
- type: "Identifier"
- start: 71
- end: 78
loc: {...}
start: {...}
- line: 4
- column: 11
}end: {...}
- line: 4
- column: 18
}
}- name: "onMount"
}
} ImportSpecifier {...}
- type: "ImportSpecifier"
- start: 80
- end: 89
loc: {...}
start: {...}
- line: 4
- column: 20
}end: {...}
- line: 4
- column: 29
}
}imported: Identifier {...}
- type: "Identifier"
- start: 80
- end: 89
loc: {...}
start: {...}
- line: 4
- column: 20
}end: {...}
- line: 4
- column: 29
}
}- name: "onDestroy"
}local: Identifier {...}
- type: "Identifier"
- start: 80
- end: 89
loc: {...}
start: {...}
- line: 4
- column: 20
}end: {...}
- line: 4
- column: 29
}
}- name: "onDestroy"
}
}
]source: Literal {...}
- type: "Literal"
- start: 97
- end: 105
loc: {...}
start: {...}
- line: 4
- column: 37
}end: {...}
- line: 4
- column: 45
}
}- value: "svelte"
- raw: "'svelte'"
}
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 110
- end: 139
loc: {...}
start: {...}
- line: 6
- column: 2
}end: {...}
- line: 6
- column: 31
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 114
- end: 138
loc: {...}
start: {...}
- line: 6
- column: 6
}end: {...}
- line: 6
- column: 30
}
}id: Identifier {...}
- type: "Identifier"
- start: 114
- end: 123
loc: {...}
start: {...}
- line: 6
- column: 6
}end: {...}
- line: 6
- column: 15
}
}- name: "countdown"
}init: CallExpression {...}
- type: "CallExpression"
- start: 126
- end: 138
loc: {...}
start: {...}
- line: 6
- column: 18
}end: {...}
- line: 6
- column: 30
}
}callee: Identifier {...}
- type: "Identifier"
- start: 126
- end: 132
loc: {...}
start: {...}
- line: 6
- column: 18
}end: {...}
- line: 6
- column: 24
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 133
- end: 137
loc: {...}
start: {...}
- line: 6
- column: 25
}end: {...}
- line: 6
- column: 29
}
}- value: null
- raw: "null"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 142
- end: 174
loc: {...}
start: {...}
- line: 7
- column: 2
}end: {...}
- line: 7
- column: 34
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 146
- end: 173
loc: {...}
start: {...}
- line: 7
- column: 6
}end: {...}
- line: 7
- column: 33
}
}id: Identifier {...}
- type: "Identifier"
- start: 146
- end: 157
loc: {...}
start: {...}
- line: 7
- column: 6
}end: {...}
- line: 7
- column: 17
}
}- name: "gameStarted"
}init: CallExpression {...}
- type: "CallExpression"
- start: 160
- end: 173
loc: {...}
start: {...}
- line: 7
- column: 20
}end: {...}
- line: 7
- column: 33
}
}callee: Identifier {...}
- type: "Identifier"
- start: 160
- end: 166
loc: {...}
start: {...}
- line: 7
- column: 20
}end: {...}
- line: 7
- column: 26
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 167
- end: 172
loc: {...}
start: {...}
- line: 7
- column: 27
}end: {...}
- line: 7
- column: 32
}
}- value: false
- raw: "false"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 178
- end: 989
loc: {...}
start: {...}
- line: 9
- column: 2
}end: {...}
- line: 23
- column: 4
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 184
- end: 988
loc: {...}
start: {...}
- line: 9
- column: 8
}end: {...}
- line: 23
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 184
- end: 190
loc: {...}
start: {...}
- line: 9
- column: 8
}end: {...}
- line: 9
- column: 14
}
}- name: "CONFIG"
}init: ObjectExpression {...}
- type: "ObjectExpression"
- start: 193
- end: 988
loc: {...}
start: {...}
- line: 9
- column: 17
}end: {...}
- line: 23
- column: 3
}
}properties: [...] (5)
Property {...}
- type: "Property"
- start: 199
- end: 207
loc: {...}
start: {...}
- line: 10
- column: 4
}end: {...}
- line: 10
- column: 12
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 199
- end: 203
loc: {...}
start: {...}
- line: 10
- column: 4
}end: {...}
- line: 10
- column: 8
}
}- name: "COLS"
}value: Literal {...}
- type: "Literal"
- start: 205
- end: 207
loc: {...}
start: {...}
- line: 10
- column: 10
}end: {...}
- line: 10
- column: 12
}
}- value: 10
- raw: "10"
}- kind: "init"
} Property {...}
- type: "Property"
- start: 213
- end: 221
loc: {...}
start: {...}
- line: 11
- column: 4
}end: {...}
- line: 11
- column: 12
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 213
- end: 217
loc: {...}
start: {...}
- line: 11
- column: 4
}end: {...}
- line: 11
- column: 8
}
}- name: "ROWS"
}value: Literal {...}
- type: "Literal"
- start: 219
- end: 221
loc: {...}
start: {...}
- line: 11
- column: 10
}end: {...}
- line: 11
- column: 12
}
}- value: 20
- raw: "20"
}- kind: "init"
} Property {...}
- type: "Property"
- start: 227
- end: 245
loc: {...}
start: {...}
- line: 12
- column: 4
}end: {...}
- line: 12
- column: 22
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 227
- end: 240
loc: {...}
start: {...}
- line: 12
- column: 4
}end: {...}
- line: 12
- column: 17
}
}- name: "DROP_INTERVAL"
}value: Literal {...}
- type: "Literal"
- start: 242
- end: 245
loc: {...}
start: {...}
- line: 12
- column: 19
}end: {...}
- line: 12
- column: 22
}
}- value: 800
- raw: "800"
}- kind: "init"
} Property {...}
- type: "Property"
- start: 251
- end: 336
loc: {...}
start: {...}
- line: 13
- column: 4
}end: {...}
- line: 13
- column: 89
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 251
- end: 257
loc: {...}
start: {...}
- line: 13
- column: 4
}end: {...}
- line: 13
- column: 10
}
}- name: "COLORS"
}value: ArrayExpression {...}
- type: "ArrayExpression"
- start: 259
- end: 336
loc: {...}
start: {...}
- line: 13
- column: 12
}end: {...}
- line: 13
- column: 89
}
}elements: [...] (7)
Literal {...}
- type: "Literal"
- start: 260
- end: 269
loc: {...}
start: {...}
- line: 13
- column: 13
}end: {...}
- line: 13
- column: 22
}
}- value: "#20B2AA"
- raw: "'#20B2AA'"
} Literal {...}
- type: "Literal"
- start: 271
- end: 280
loc: {...}
start: {...}
- line: 13
- column: 24
}end: {...}
- line: 13
- column: 33
}
}- value: "#9370DB"
- raw: "'#9370DB'"
} Literal {...}
- type: "Literal"
- start: 282
- end: 291
loc: {...}
start: {...}
- line: 13
- column: 35
}end: {...}
- line: 13
- column: 44
}
}- value: "#F4A460"
- raw: "'#F4A460'"
} Literal {...}
- type: "Literal"
- start: 293
- end: 302
loc: {...}
start: {...}
- line: 13
- column: 46
}end: {...}
- line: 13
- column: 55
}
}- value: "#4682B4"
- raw: "'#4682B4'"
} Literal {...}
- type: "Literal"
- start: 304
- end: 313
loc: {...}
start: {...}
- line: 13
- column: 57
}end: {...}
- line: 13
- column: 66
}
}- value: "#CD5C5C"
- raw: "'#CD5C5C'"
} Literal {...}
- type: "Literal"
- start: 315
- end: 324
loc: {...}
start: {...}
- line: 13
- column: 68
}end: {...}
- line: 13
- column: 77
}
}- value: "#3CB371"
- raw: "'#3CB371'"
} Literal {...}
- type: "Literal"
- start: 326
- end: 335
loc: {...}
start: {...}
- line: 13
- column: 79
}end: {...}
- line: 13
- column: 88
}
}- value: "#DAA520"
- raw: "'#DAA520'"
}
]
}- kind: "init"
} Property {...}
- type: "Property"
- start: 342
- end: 984
loc: {...}
start: {...}
- line: 14
- column: 4
}end: {...}
- line: 22
- column: 5
}
}- method: false
- shorthand: false
- computed: false
key: Identifier {...}
- type: "Identifier"
- start: 342
- end: 348
loc: {...}
start: {...}
- line: 14
- column: 4
}end: {...}
- line: 14
- column: 10
}
}- name: "PIECES"
}value: ArrayExpression {...}
- type: "ArrayExpression"
- start: 350
- end: 984
loc: {...}
start: {...}
- line: 14
- column: 12
}end: {...}
- line: 22
- column: 5
}
}elements: [...] (7)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 358
- end: 450
loc: {...}
start: {...}
- line: 15
- column: 6
}end: {...}
- line: 15
- column: 98
}
}elements: [...] (2)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 359
- end: 403
loc: {...}
start: {...}
- line: 15
- column: 7
}end: {...}
- line: 15
- column: 51
}
}elements: [...] (4)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 360
- end: 369
loc: {...}
start: {...}
- line: 15
- column: 8
}end: {...}
- line: 15
- column: 17
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 361
- end: 362
loc: {...}
start: {...}
- line: 15
- column: 9
}end: {...}
- line: 15
- column: 10
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 363
- end: 364
loc: {...}
start: {...}
- line: 15
- column: 11
}end: {...}
- line: 15
- column: 12
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 365
- end: 366
loc: {...}
start: {...}
- line: 15
- column: 13
}end: {...}
- line: 15
- column: 14
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 367
- end: 368
loc: {...}
start: {...}
- line: 15
- column: 15
}end: {...}
- line: 15
- column: 16
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 371
- end: 380
loc: {...}
start: {...}
- line: 15
- column: 19
}end: {...}
- line: 15
- column: 28
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 372
- end: 373
loc: {...}
start: {...}
- line: 15
- column: 20
}end: {...}
- line: 15
- column: 21
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 374
- end: 375
loc: {...}
start: {...}
- line: 15
- column: 22
}end: {...}
- line: 15
- column: 23
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 376
- end: 377
loc: {...}
start: {...}
- line: 15
- column: 24
}end: {...}
- line: 15
- column: 25
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 378
- end: 379
loc: {...}
start: {...}
- line: 15
- column: 26
}end: {...}
- line: 15
- column: 27
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 382
- end: 391
loc: {...}
start: {...}
- line: 15
- column: 30
}end: {...}
- line: 15
- column: 39
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 383
- end: 384
loc: {...}
start: {...}
- line: 15
- column: 31
}end: {...}
- line: 15
- column: 32
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 385
- end: 386
loc: {...}
start: {...}
- line: 15
- column: 33
}end: {...}
- line: 15
- column: 34
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 387
- end: 388
loc: {...}
start: {...}
- line: 15
- column: 35
}end: {...}
- line: 15
- column: 36
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 389
- end: 390
loc: {...}
start: {...}
- line: 15
- column: 37
}end: {...}
- line: 15
- column: 38
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 393
- end: 402
loc: {...}
start: {...}
- line: 15
- column: 41
}end: {...}
- line: 15
- column: 50
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 394
- end: 395
loc: {...}
start: {...}
- line: 15
- column: 42
}end: {...}
- line: 15
- column: 43
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 396
- end: 397
loc: {...}
start: {...}
- line: 15
- column: 44
}end: {...}
- line: 15
- column: 45
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 398
- end: 399
loc: {...}
start: {...}
- line: 15
- column: 46
}end: {...}
- line: 15
- column: 47
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 400
- end: 401
loc: {...}
start: {...}
- line: 15
- column: 48
}end: {...}
- line: 15
- column: 49
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 405
- end: 449
loc: {...}
start: {...}
- line: 15
- column: 53
}end: {...}
- line: 15
- column: 97
}
}elements: [...] (4)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 406
- end: 415
loc: {...}
start: {...}
- line: 15
- column: 54
}end: {...}
- line: 15
- column: 63
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 407
- end: 408
loc: {...}
start: {...}
- line: 15
- column: 55
}end: {...}
- line: 15
- column: 56
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 409
- end: 410
loc: {...}
start: {...}
- line: 15
- column: 57
}end: {...}
- line: 15
- column: 58
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 411
- end: 412
loc: {...}
start: {...}
- line: 15
- column: 59
}end: {...}
- line: 15
- column: 60
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 413
- end: 414
loc: {...}
start: {...}
- line: 15
- column: 61
}end: {...}
- line: 15
- column: 62
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 417
- end: 426
loc: {...}
start: {...}
- line: 15
- column: 65
}end: {...}
- line: 15
- column: 74
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 418
- end: 419
loc: {...}
start: {...}
- line: 15
- column: 66
}end: {...}
- line: 15
- column: 67
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 420
- end: 421
loc: {...}
start: {...}
- line: 15
- column: 68
}end: {...}
- line: 15
- column: 69
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 422
- end: 423
loc: {...}
start: {...}
- line: 15
- column: 70
}end: {...}
- line: 15
- column: 71
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 424
- end: 425
loc: {...}
start: {...}
- line: 15
- column: 72
}end: {...}
- line: 15
- column: 73
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 428
- end: 437
loc: {...}
start: {...}
- line: 15
- column: 76
}end: {...}
- line: 15
- column: 85
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 429
- end: 430
loc: {...}
start: {...}
- line: 15
- column: 77
}end: {...}
- line: 15
- column: 78
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 431
- end: 432
loc: {...}
start: {...}
- line: 15
- column: 79
}end: {...}
- line: 15
- column: 80
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 433
- end: 434
loc: {...}
start: {...}
- line: 15
- column: 81
}end: {...}
- line: 15
- column: 82
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 435
- end: 436
loc: {...}
start: {...}
- line: 15
- column: 83
}end: {...}
- line: 15
- column: 84
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 439
- end: 448
loc: {...}
start: {...}
- line: 15
- column: 87
}end: {...}
- line: 15
- column: 96
}
}elements: [...] (4)
Literal {...}
- type: "Literal"
- start: 440
- end: 441
loc: {...}
start: {...}
- line: 15
- column: 88
}end: {...}
- line: 15
- column: 89
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 442
- end: 443
loc: {...}
start: {...}
- line: 15
- column: 90
}end: {...}
- line: 15
- column: 91
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 444
- end: 445
loc: {...}
start: {...}
- line: 15
- column: 92
}end: {...}
- line: 15
- column: 93
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 446
- end: 447
loc: {...}
start: {...}
- line: 15
- column: 94
}end: {...}
- line: 15
- column: 95
}
}- value: 0
- raw: "0"
}
]
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 458
- end: 574
loc: {...}
start: {...}
- line: 16
- column: 6
}end: {...}
- line: 16
- column: 122
}
}elements: [...] (4)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 459
- end: 486
loc: {...}
start: {...}
- line: 16
- column: 7
}end: {...}
- line: 16
- column: 34
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 460
- end: 467
loc: {...}
start: {...}
- line: 16
- column: 8
}end: {...}
- line: 16
- column: 15
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 461
- end: 462
loc: {...}
start: {...}
- line: 16
- column: 9
}end: {...}
- line: 16
- column: 10
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 463
- end: 464
loc: {...}
start: {...}
- line: 16
- column: 11
}end: {...}
- line: 16
- column: 12
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 465
- end: 466
loc: {...}
start: {...}
- line: 16
- column: 13
}end: {...}
- line: 16
- column: 14
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 469
- end: 476
loc: {...}
start: {...}
- line: 16
- column: 17
}end: {...}
- line: 16
- column: 24
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 470
- end: 471
loc: {...}
start: {...}
- line: 16
- column: 18
}end: {...}
- line: 16
- column: 19
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 472
- end: 473
loc: {...}
start: {...}
- line: 16
- column: 20
}end: {...}
- line: 16
- column: 21
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 474
- end: 475
loc: {...}
start: {...}
- line: 16
- column: 22
}end: {...}
- line: 16
- column: 23
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 478
- end: 485
loc: {...}
start: {...}
- line: 16
- column: 26
}end: {...}
- line: 16
- column: 33
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 479
- end: 480
loc: {...}
start: {...}
- line: 16
- column: 27
}end: {...}
- line: 16
- column: 28
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 481
- end: 482
loc: {...}
start: {...}
- line: 16
- column: 29
}end: {...}
- line: 16
- column: 30
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 483
- end: 484
loc: {...}
start: {...}
- line: 16
- column: 31
}end: {...}
- line: 16
- column: 32
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 488
- end: 515
loc: {...}
start: {...}
- line: 16
- column: 36
}end: {...}
- line: 16
- column: 63
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 489
- end: 496
loc: {...}
start: {...}
- line: 16
- column: 37
}end: {...}
- line: 16
- column: 44
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 490
- end: 491
loc: {...}
start: {...}
- line: 16
- column: 38
}end: {...}
- line: 16
- column: 39
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 492
- end: 493
loc: {...}
start: {...}
- line: 16
- column: 40
}end: {...}
- line: 16
- column: 41
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 494
- end: 495
loc: {...}
start: {...}
- line: 16
- column: 42
}end: {...}
- line: 16
- column: 43
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 498
- end: 505
loc: {...}
start: {...}
- line: 16
- column: 46
}end: {...}
- line: 16
- column: 53
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 499
- end: 500
loc: {...}
start: {...}
- line: 16
- column: 47
}end: {...}
- line: 16
- column: 48
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 501
- end: 502
loc: {...}
start: {...}
- line: 16
- column: 49
}end: {...}
- line: 16
- column: 50
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 503
- end: 504
loc: {...}
start: {...}
- line: 16
- column: 51
}end: {...}
- line: 16
- column: 52
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 507
- end: 514
loc: {...}
start: {...}
- line: 16
- column: 55
}end: {...}
- line: 16
- column: 62
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 508
- end: 509
loc: {...}
start: {...}
- line: 16
- column: 56
}end: {...}
- line: 16
- column: 57
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 510
- end: 511
loc: {...}
start: {...}
- line: 16
- column: 58
}end: {...}
- line: 16
- column: 59
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 512
- end: 513
loc: {...}
start: {...}
- line: 16
- column: 60
}end: {...}
- line: 16
- column: 61
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 517
- end: 544
loc: {...}
start: {...}
- line: 16
- column: 65
}end: {...}
- line: 16
- column: 92
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 518
- end: 525
loc: {...}
start: {...}
- line: 16
- column: 66
}end: {...}
- line: 16
- column: 73
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 519
- end: 520
loc: {...}
start: {...}
- line: 16
- column: 67
}end: {...}
- line: 16
- column: 68
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 521
- end: 522
loc: {...}
start: {...}
- line: 16
- column: 69
}end: {...}
- line: 16
- column: 70
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 523
- end: 524
loc: {...}
start: {...}
- line: 16
- column: 71
}end: {...}
- line: 16
- column: 72
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 527
- end: 534
loc: {...}
start: {...}
- line: 16
- column: 75
}end: {...}
- line: 16
- column: 82
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 528
- end: 529
loc: {...}
start: {...}
- line: 16
- column: 76
}end: {...}
- line: 16
- column: 77
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 530
- end: 531
loc: {...}
start: {...}
- line: 16
- column: 78
}end: {...}
- line: 16
- column: 79
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 532
- end: 533
loc: {...}
start: {...}
- line: 16
- column: 80
}end: {...}
- line: 16
- column: 81
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 536
- end: 543
loc: {...}
start: {...}
- line: 16
- column: 84
}end: {...}
- line: 16
- column: 91
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 537
- end: 538
loc: {...}
start: {...}
- line: 16
- column: 85
}end: {...}
- line: 16
- column: 86
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 539
- end: 540
loc: {...}
start: {...}
- line: 16
- column: 87
}end: {...}
- line: 16
- column: 88
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 541
- end: 542
loc: {...}
start: {...}
- line: 16
- column: 89
}end: {...}
- line: 16
- column: 90
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 546
- end: 573
loc: {...}
start: {...}
- line: 16
- column: 94
}end: {...}
- line: 16
- column: 121
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 547
- end: 554
loc: {...}
start: {...}
- line: 16
- column: 95
}end: {...}
- line: 16
- column: 102
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 548
- end: 549
loc: {...}
start: {...}
- line: 16
- column: 96
}end: {...}
- line: 16
- column: 97
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 550
- end: 551
loc: {...}
start: {...}
- line: 16
- column: 98
}end: {...}
- line: 16
- column: 99
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 552
- end: 553
loc: {...}
start: {...}
- line: 16
- column: 100
}end: {...}
- line: 16
- column: 101
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 556
- end: 563
loc: {...}
start: {...}
- line: 16
- column: 104
}end: {...}
- line: 16
- column: 111
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 557
- end: 558
loc: {...}
start: {...}
- line: 16
- column: 105
}end: {...}
- line: 16
- column: 106
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 559
- end: 560
loc: {...}
start: {...}
- line: 16
- column: 107
}end: {...}
- line: 16
- column: 108
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 561
- end: 562
loc: {...}
start: {...}
- line: 16
- column: 109
}end: {...}
- line: 16
- column: 110
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 565
- end: 572
loc: {...}
start: {...}
- line: 16
- column: 113
}end: {...}
- line: 16
- column: 120
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 566
- end: 567
loc: {...}
start: {...}
- line: 16
- column: 114
}end: {...}
- line: 16
- column: 115
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 568
- end: 569
loc: {...}
start: {...}
- line: 16
- column: 116
}end: {...}
- line: 16
- column: 117
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 570
- end: 571
loc: {...}
start: {...}
- line: 16
- column: 118
}end: {...}
- line: 16
- column: 119
}
}- value: 0
- raw: "0"
}
]
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 582
- end: 698
loc: {...}
start: {...}
- line: 17
- column: 6
}end: {...}
- line: 17
- column: 122
}
}elements: [...] (4)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 583
- end: 610
loc: {...}
start: {...}
- line: 17
- column: 7
}end: {...}
- line: 17
- column: 34
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 584
- end: 591
loc: {...}
start: {...}
- line: 17
- column: 8
}end: {...}
- line: 17
- column: 15
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 585
- end: 586
loc: {...}
start: {...}
- line: 17
- column: 9
}end: {...}
- line: 17
- column: 10
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 587
- end: 588
loc: {...}
start: {...}
- line: 17
- column: 11
}end: {...}
- line: 17
- column: 12
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 589
- end: 590
loc: {...}
start: {...}
- line: 17
- column: 13
}end: {...}
- line: 17
- column: 14
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 593
- end: 600
loc: {...}
start: {...}
- line: 17
- column: 17
}end: {...}
- line: 17
- column: 24
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 594
- end: 595
loc: {...}
start: {...}
- line: 17
- column: 18
}end: {...}
- line: 17
- column: 19
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 596
- end: 597
loc: {...}
start: {...}
- line: 17
- column: 20
}end: {...}
- line: 17
- column: 21
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 598
- end: 599
loc: {...}
start: {...}
- line: 17
- column: 22
}end: {...}
- line: 17
- column: 23
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 602
- end: 609
loc: {...}
start: {...}
- line: 17
- column: 26
}end: {...}
- line: 17
- column: 33
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 603
- end: 604
loc: {...}
start: {...}
- line: 17
- column: 27
}end: {...}
- line: 17
- column: 28
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 605
- end: 606
loc: {...}
start: {...}
- line: 17
- column: 29
}end: {...}
- line: 17
- column: 30
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 607
- end: 608
loc: {...}
start: {...}
- line: 17
- column: 31
}end: {...}
- line: 17
- column: 32
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 612
- end: 639
loc: {...}
start: {...}
- line: 17
- column: 36
}end: {...}
- line: 17
- column: 63
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 613
- end: 620
loc: {...}
start: {...}
- line: 17
- column: 37
}end: {...}
- line: 17
- column: 44
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 614
- end: 615
loc: {...}
start: {...}
- line: 17
- column: 38
}end: {...}
- line: 17
- column: 39
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 616
- end: 617
loc: {...}
start: {...}
- line: 17
- column: 40
}end: {...}
- line: 17
- column: 41
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 618
- end: 619
loc: {...}
start: {...}
- line: 17
- column: 42
}end: {...}
- line: 17
- column: 43
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 622
- end: 629
loc: {...}
start: {...}
- line: 17
- column: 46
}end: {...}
- line: 17
- column: 53
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 623
- end: 624
loc: {...}
start: {...}
- line: 17
- column: 47
}end: {...}
- line: 17
- column: 48
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 625
- end: 626
loc: {...}
start: {...}
- line: 17
- column: 49
}end: {...}
- line: 17
- column: 50
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 627
- end: 628
loc: {...}
start: {...}
- line: 17
- column: 51
}end: {...}
- line: 17
- column: 52
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 631
- end: 638
loc: {...}
start: {...}
- line: 17
- column: 55
}end: {...}
- line: 17
- column: 62
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 632
- end: 633
loc: {...}
start: {...}
- line: 17
- column: 56
}end: {...}
- line: 17
- column: 57
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 634
- end: 635
loc: {...}
start: {...}
- line: 17
- column: 58
}end: {...}
- line: 17
- column: 59
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 636
- end: 637
loc: {...}
start: {...}
- line: 17
- column: 60
}end: {...}
- line: 17
- column: 61
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 641
- end: 668
loc: {...}
start: {...}
- line: 17
- column: 65
}end: {...}
- line: 17
- column: 92
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 642
- end: 649
loc: {...}
start: {...}
- line: 17
- column: 66
}end: {...}
- line: 17
- column: 73
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 643
- end: 644
loc: {...}
start: {...}
- line: 17
- column: 67
}end: {...}
- line: 17
- column: 68
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 645
- end: 646
loc: {...}
start: {...}
- line: 17
- column: 69
}end: {...}
- line: 17
- column: 70
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 647
- end: 648
loc: {...}
start: {...}
- line: 17
- column: 71
}end: {...}
- line: 17
- column: 72
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 651
- end: 658
loc: {...}
start: {...}
- line: 17
- column: 75
}end: {...}
- line: 17
- column: 82
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 652
- end: 653
loc: {...}
start: {...}
- line: 17
- column: 76
}end: {...}
- line: 17
- column: 77
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 654
- end: 655
loc: {...}
start: {...}
- line: 17
- column: 78
}end: {...}
- line: 17
- column: 79
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 656
- end: 657
loc: {...}
start: {...}
- line: 17
- column: 80
}end: {...}
- line: 17
- column: 81
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 660
- end: 667
loc: {...}
start: {...}
- line: 17
- column: 84
}end: {...}
- line: 17
- column: 91
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 661
- end: 662
loc: {...}
start: {...}
- line: 17
- column: 85
}end: {...}
- line: 17
- column: 86
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 663
- end: 664
loc: {...}
start: {...}
- line: 17
- column: 87
}end: {...}
- line: 17
- column: 88
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 665
- end: 666
loc: {...}
start: {...}
- line: 17
- column: 89
}end: {...}
- line: 17
- column: 90
}
}- value: 1
- raw: "1"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 670
- end: 697
loc: {...}
start: {...}
- line: 17
- column: 94
}end: {...}
- line: 17
- column: 121
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 671
- end: 678
loc: {...}
start: {...}
- line: 17
- column: 95
}end: {...}
- line: 17
- column: 102
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 672
- end: 673
loc: {...}
start: {...}
- line: 17
- column: 96
}end: {...}
- line: 17
- column: 97
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 674
- end: 675
loc: {...}
start: {...}
- line: 17
- column: 98
}end: {...}
- line: 17
- column: 99
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 676
- end: 677
loc: {...}
start: {...}
- line: 17
- column: 100
}end: {...}
- line: 17
- column: 101
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 680
- end: 687
loc: {...}
start: {...}
- line: 17
- column: 104
}end: {...}
- line: 17
- column: 111
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 681
- end: 682
loc: {...}
start: {...}
- line: 17
- column: 105
}end: {...}
- line: 17
- column: 106
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 683
- end: 684
loc: {...}
start: {...}
- line: 17
- column: 107
}end: {...}
- line: 17
- column: 108
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 685
- end: 686
loc: {...}
start: {...}
- line: 17
- column: 109
}end: {...}
- line: 17
- column: 110
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 689
- end: 696
loc: {...}
start: {...}
- line: 17
- column: 113
}end: {...}
- line: 17
- column: 120
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 690
- end: 691
loc: {...}
start: {...}
- line: 17
- column: 114
}end: {...}
- line: 17
- column: 115
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 692
- end: 693
loc: {...}
start: {...}
- line: 17
- column: 116
}end: {...}
- line: 17
- column: 117
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 694
- end: 695
loc: {...}
start: {...}
- line: 17
- column: 118
}end: {...}
- line: 17
- column: 119
}
}- value: 0
- raw: "0"
}
]
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 706
- end: 822
loc: {...}
start: {...}
- line: 18
- column: 6
}end: {...}
- line: 18
- column: 122
}
}elements: [...] (4)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 707
- end: 734
loc: {...}
start: {...}
- line: 18
- column: 7
}end: {...}
- line: 18
- column: 34
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 708
- end: 715
loc: {...}
start: {...}
- line: 18
- column: 8
}end: {...}
- line: 18
- column: 15
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 709
- end: 710
loc: {...}
start: {...}
- line: 18
- column: 9
}end: {...}
- line: 18
- column: 10
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 711
- end: 712
loc: {...}
start: {...}
- line: 18
- column: 11
}end: {...}
- line: 18
- column: 12
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 713
- end: 714
loc: {...}
start: {...}
- line: 18
- column: 13
}end: {...}
- line: 18
- column: 14
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 717
- end: 724
loc: {...}
start: {...}
- line: 18
- column: 17
}end: {...}
- line: 18
- column: 24
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 718
- end: 719
loc: {...}
start: {...}
- line: 18
- column: 18
}end: {...}
- line: 18
- column: 19
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 720
- end: 721
loc: {...}
start: {...}
- line: 18
- column: 20
}end: {...}
- line: 18
- column: 21
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 722
- end: 723
loc: {...}
start: {...}
- line: 18
- column: 22
}end: {...}
- line: 18
- column: 23
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 726
- end: 733
loc: {...}
start: {...}
- line: 18
- column: 26
}end: {...}
- line: 18
- column: 33
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 727
- end: 728
loc: {...}
start: {...}
- line: 18
- column: 27
}end: {...}
- line: 18
- column: 28
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 729
- end: 730
loc: {...}
start: {...}
- line: 18
- column: 29
}end: {...}
- line: 18
- column: 30
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 731
- end: 732
loc: {...}
start: {...}
- line: 18
- column: 31
}end: {...}
- line: 18
- column: 32
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 736
- end: 763
loc: {...}
start: {...}
- line: 18
- column: 36
}end: {...}
- line: 18
- column: 63
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 737
- end: 744
loc: {...}
start: {...}
- line: 18
- column: 37
}end: {...}
- line: 18
- column: 44
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 738
- end: 739
loc: {...}
start: {...}
- line: 18
- column: 38
}end: {...}
- line: 18
- column: 39
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 740
- end: 741
loc: {...}
start: {...}
- line: 18
- column: 40
}end: {...}
- line: 18
- column: 41
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 742
- end: 743
loc: {...}
start: {...}
- line: 18
- column: 42
}end: {...}
- line: 18
- column: 43
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 746
- end: 753
loc: {...}
start: {...}
- line: 18
- column: 46
}end: {...}
- line: 18
- column: 53
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 747
- end: 748
loc: {...}
start: {...}
- line: 18
- column: 47
}end: {...}
- line: 18
- column: 48
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 749
- end: 750
loc: {...}
start: {...}
- line: 18
- column: 49
}end: {...}
- line: 18
- column: 50
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 751
- end: 752
loc: {...}
start: {...}
- line: 18
- column: 51
}end: {...}
- line: 18
- column: 52
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 755
- end: 762
loc: {...}
start: {...}
- line: 18
- column: 55
}end: {...}
- line: 18
- column: 62
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 756
- end: 757
loc: {...}
start: {...}
- line: 18
- column: 56
}end: {...}
- line: 18
- column: 57
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 758
- end: 759
loc: {...}
start: {...}
- line: 18
- column: 58
}end: {...}
- line: 18
- column: 59
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 760
- end: 761
loc: {...}
start: {...}
- line: 18
- column: 60
}end: {...}
- line: 18
- column: 61
}
}- value: 1
- raw: "1"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 765
- end: 792
loc: {...}
start: {...}
- line: 18
- column: 65
}end: {...}
- line: 18
- column: 92
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 766
- end: 773
loc: {...}
start: {...}
- line: 18
- column: 66
}end: {...}
- line: 18
- column: 73
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 767
- end: 768
loc: {...}
start: {...}
- line: 18
- column: 67
}end: {...}
- line: 18
- column: 68
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 769
- end: 770
loc: {...}
start: {...}
- line: 18
- column: 69
}end: {...}
- line: 18
- column: 70
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 771
- end: 772
loc: {...}
start: {...}
- line: 18
- column: 71
}end: {...}
- line: 18
- column: 72
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 775
- end: 782
loc: {...}
start: {...}
- line: 18
- column: 75
}end: {...}
- line: 18
- column: 82
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 776
- end: 777
loc: {...}
start: {...}
- line: 18
- column: 76
}end: {...}
- line: 18
- column: 77
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 778
- end: 779
loc: {...}
start: {...}
- line: 18
- column: 78
}end: {...}
- line: 18
- column: 79
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 780
- end: 781
loc: {...}
start: {...}
- line: 18
- column: 80
}end: {...}
- line: 18
- column: 81
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 784
- end: 791
loc: {...}
start: {...}
- line: 18
- column: 84
}end: {...}
- line: 18
- column: 91
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 785
- end: 786
loc: {...}
start: {...}
- line: 18
- column: 85
}end: {...}
- line: 18
- column: 86
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 787
- end: 788
loc: {...}
start: {...}
- line: 18
- column: 87
}end: {...}
- line: 18
- column: 88
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 789
- end: 790
loc: {...}
start: {...}
- line: 18
- column: 89
}end: {...}
- line: 18
- column: 90
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 794
- end: 821
loc: {...}
start: {...}
- line: 18
- column: 94
}end: {...}
- line: 18
- column: 121
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 795
- end: 802
loc: {...}
start: {...}
- line: 18
- column: 95
}end: {...}
- line: 18
- column: 102
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 796
- end: 797
loc: {...}
start: {...}
- line: 18
- column: 96
}end: {...}
- line: 18
- column: 97
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 798
- end: 799
loc: {...}
start: {...}
- line: 18
- column: 98
}end: {...}
- line: 18
- column: 99
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 800
- end: 801
loc: {...}
start: {...}
- line: 18
- column: 100
}end: {...}
- line: 18
- column: 101
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 804
- end: 811
loc: {...}
start: {...}
- line: 18
- column: 104
}end: {...}
- line: 18
- column: 111
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 805
- end: 806
loc: {...}
start: {...}
- line: 18
- column: 105
}end: {...}
- line: 18
- column: 106
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 807
- end: 808
loc: {...}
start: {...}
- line: 18
- column: 107
}end: {...}
- line: 18
- column: 108
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 809
- end: 810
loc: {...}
start: {...}
- line: 18
- column: 109
}end: {...}
- line: 18
- column: 110
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 813
- end: 820
loc: {...}
start: {...}
- line: 18
- column: 113
}end: {...}
- line: 18
- column: 120
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 814
- end: 815
loc: {...}
start: {...}
- line: 18
- column: 114
}end: {...}
- line: 18
- column: 115
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 816
- end: 817
loc: {...}
start: {...}
- line: 18
- column: 116
}end: {...}
- line: 18
- column: 117
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 818
- end: 819
loc: {...}
start: {...}
- line: 18
- column: 118
}end: {...}
- line: 18
- column: 119
}
}- value: 0
- raw: "0"
}
]
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 830
- end: 888
loc: {...}
start: {...}
- line: 19
- column: 6
}end: {...}
- line: 19
- column: 64
}
}elements: [...] (2)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 831
- end: 858
loc: {...}
start: {...}
- line: 19
- column: 7
}end: {...}
- line: 19
- column: 34
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 832
- end: 839
loc: {...}
start: {...}
- line: 19
- column: 8
}end: {...}
- line: 19
- column: 15
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 833
- end: 834
loc: {...}
start: {...}
- line: 19
- column: 9
}end: {...}
- line: 19
- column: 10
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 835
- end: 836
loc: {...}
start: {...}
- line: 19
- column: 11
}end: {...}
- line: 19
- column: 12
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 837
- end: 838
loc: {...}
start: {...}
- line: 19
- column: 13
}end: {...}
- line: 19
- column: 14
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 841
- end: 848
loc: {...}
start: {...}
- line: 19
- column: 17
}end: {...}
- line: 19
- column: 24
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 842
- end: 843
loc: {...}
start: {...}
- line: 19
- column: 18
}end: {...}
- line: 19
- column: 19
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 844
- end: 845
loc: {...}
start: {...}
- line: 19
- column: 20
}end: {...}
- line: 19
- column: 21
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 846
- end: 847
loc: {...}
start: {...}
- line: 19
- column: 22
}end: {...}
- line: 19
- column: 23
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 850
- end: 857
loc: {...}
start: {...}
- line: 19
- column: 26
}end: {...}
- line: 19
- column: 33
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 851
- end: 852
loc: {...}
start: {...}
- line: 19
- column: 27
}end: {...}
- line: 19
- column: 28
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 853
- end: 854
loc: {...}
start: {...}
- line: 19
- column: 29
}end: {...}
- line: 19
- column: 30
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 855
- end: 856
loc: {...}
start: {...}
- line: 19
- column: 31
}end: {...}
- line: 19
- column: 32
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 860
- end: 887
loc: {...}
start: {...}
- line: 19
- column: 36
}end: {...}
- line: 19
- column: 63
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 861
- end: 868
loc: {...}
start: {...}
- line: 19
- column: 37
}end: {...}
- line: 19
- column: 44
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 862
- end: 863
loc: {...}
start: {...}
- line: 19
- column: 38
}end: {...}
- line: 19
- column: 39
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 864
- end: 865
loc: {...}
start: {...}
- line: 19
- column: 40
}end: {...}
- line: 19
- column: 41
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 866
- end: 867
loc: {...}
start: {...}
- line: 19
- column: 42
}end: {...}
- line: 19
- column: 43
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 870
- end: 877
loc: {...}
start: {...}
- line: 19
- column: 46
}end: {...}
- line: 19
- column: 53
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 871
- end: 872
loc: {...}
start: {...}
- line: 19
- column: 47
}end: {...}
- line: 19
- column: 48
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 873
- end: 874
loc: {...}
start: {...}
- line: 19
- column: 49
}end: {...}
- line: 19
- column: 50
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 875
- end: 876
loc: {...}
start: {...}
- line: 19
- column: 51
}end: {...}
- line: 19
- column: 52
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 879
- end: 886
loc: {...}
start: {...}
- line: 19
- column: 55
}end: {...}
- line: 19
- column: 62
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 880
- end: 881
loc: {...}
start: {...}
- line: 19
- column: 56
}end: {...}
- line: 19
- column: 57
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 882
- end: 883
loc: {...}
start: {...}
- line: 19
- column: 58
}end: {...}
- line: 19
- column: 59
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 884
- end: 885
loc: {...}
start: {...}
- line: 19
- column: 60
}end: {...}
- line: 19
- column: 61
}
}- value: 0
- raw: "0"
}
]
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 896
- end: 954
loc: {...}
start: {...}
- line: 20
- column: 6
}end: {...}
- line: 20
- column: 64
}
}elements: [...] (2)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 897
- end: 924
loc: {...}
start: {...}
- line: 20
- column: 7
}end: {...}
- line: 20
- column: 34
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 898
- end: 905
loc: {...}
start: {...}
- line: 20
- column: 8
}end: {...}
- line: 20
- column: 15
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 899
- end: 900
loc: {...}
start: {...}
- line: 20
- column: 9
}end: {...}
- line: 20
- column: 10
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 901
- end: 902
loc: {...}
start: {...}
- line: 20
- column: 11
}end: {...}
- line: 20
- column: 12
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 903
- end: 904
loc: {...}
start: {...}
- line: 20
- column: 13
}end: {...}
- line: 20
- column: 14
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 907
- end: 914
loc: {...}
start: {...}
- line: 20
- column: 17
}end: {...}
- line: 20
- column: 24
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 908
- end: 909
loc: {...}
start: {...}
- line: 20
- column: 18
}end: {...}
- line: 20
- column: 19
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 910
- end: 911
loc: {...}
start: {...}
- line: 20
- column: 20
}end: {...}
- line: 20
- column: 21
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 912
- end: 913
loc: {...}
start: {...}
- line: 20
- column: 22
}end: {...}
- line: 20
- column: 23
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 916
- end: 923
loc: {...}
start: {...}
- line: 20
- column: 26
}end: {...}
- line: 20
- column: 33
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 917
- end: 918
loc: {...}
start: {...}
- line: 20
- column: 27
}end: {...}
- line: 20
- column: 28
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 919
- end: 920
loc: {...}
start: {...}
- line: 20
- column: 29
}end: {...}
- line: 20
- column: 30
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 921
- end: 922
loc: {...}
start: {...}
- line: 20
- column: 31
}end: {...}
- line: 20
- column: 32
}
}- value: 0
- raw: "0"
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 926
- end: 953
loc: {...}
start: {...}
- line: 20
- column: 36
}end: {...}
- line: 20
- column: 63
}
}elements: [...] (3)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 927
- end: 934
loc: {...}
start: {...}
- line: 20
- column: 37
}end: {...}
- line: 20
- column: 44
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 928
- end: 929
loc: {...}
start: {...}
- line: 20
- column: 38
}end: {...}
- line: 20
- column: 39
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 930
- end: 931
loc: {...}
start: {...}
- line: 20
- column: 40
}end: {...}
- line: 20
- column: 41
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 932
- end: 933
loc: {...}
start: {...}
- line: 20
- column: 42
}end: {...}
- line: 20
- column: 43
}
}- value: 0
- raw: "0"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 936
- end: 943
loc: {...}
start: {...}
- line: 20
- column: 46
}end: {...}
- line: 20
- column: 53
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 937
- end: 938
loc: {...}
start: {...}
- line: 20
- column: 47
}end: {...}
- line: 20
- column: 48
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 939
- end: 940
loc: {...}
start: {...}
- line: 20
- column: 49
}end: {...}
- line: 20
- column: 50
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 941
- end: 942
loc: {...}
start: {...}
- line: 20
- column: 51
}end: {...}
- line: 20
- column: 52
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 945
- end: 952
loc: {...}
start: {...}
- line: 20
- column: 55
}end: {...}
- line: 20
- column: 62
}
}elements: [...] (3)
Literal {...}
- type: "Literal"
- start: 946
- end: 947
loc: {...}
start: {...}
- line: 20
- column: 56
}end: {...}
- line: 20
- column: 57
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 948
- end: 949
loc: {...}
start: {...}
- line: 20
- column: 58
}end: {...}
- line: 20
- column: 59
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 950
- end: 951
loc: {...}
start: {...}
- line: 20
- column: 60
}end: {...}
- line: 20
- column: 61
}
}- value: 1
- raw: "1"
}
]
}
]
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 962
- end: 978
loc: {...}
start: {...}
- line: 21
- column: 6
}end: {...}
- line: 21
- column: 22
}
}elements: [...] (1)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 963
- end: 977
loc: {...}
start: {...}
- line: 21
- column: 7
}end: {...}
- line: 21
- column: 21
}
}elements: [...] (2)
ArrayExpression {...}
- type: "ArrayExpression"
- start: 964
- end: 969
loc: {...}
start: {...}
- line: 21
- column: 8
}end: {...}
- line: 21
- column: 13
}
}elements: [...] (2)
Literal {...}
- type: "Literal"
- start: 965
- end: 966
loc: {...}
start: {...}
- line: 21
- column: 9
}end: {...}
- line: 21
- column: 10
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 967
- end: 968
loc: {...}
start: {...}
- line: 21
- column: 11
}end: {...}
- line: 21
- column: 12
}
}- value: 1
- raw: "1"
}
]
} ArrayExpression {...}
- type: "ArrayExpression"
- start: 971
- end: 976
loc: {...}
start: {...}
- line: 21
- column: 15
}end: {...}
- line: 21
- column: 20
}
}elements: [...] (2)
Literal {...}
- type: "Literal"
- start: 972
- end: 973
loc: {...}
start: {...}
- line: 21
- column: 16
}end: {...}
- line: 21
- column: 17
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 974
- end: 975
loc: {...}
start: {...}
- line: 21
- column: 18
}end: {...}
- line: 21
- column: 19
}
}- value: 1
- raw: "1"
}
]
}
]
}
]
}
]
}- kind: "init"
}
]
}
}
]- kind: "const"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 993
- end: 1015
loc: {...}
start: {...}
- line: 25
- column: 2
}end: {...}
- line: 25
- column: 24
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 997
- end: 1014
loc: {...}
start: {...}
- line: 25
- column: 6
}end: {...}
- line: 25
- column: 23
}
}id: Identifier {...}
- type: "Identifier"
- start: 997
- end: 1002
loc: {...}
start: {...}
- line: 25
- column: 6
}end: {...}
- line: 25
- column: 11
}
}- name: "score"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1005
- end: 1014
loc: {...}
start: {...}
- line: 25
- column: 14
}end: {...}
- line: 25
- column: 23
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1005
- end: 1011
loc: {...}
start: {...}
- line: 25
- column: 14
}end: {...}
- line: 25
- column: 20
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1012
- end: 1013
loc: {...}
start: {...}
- line: 25
- column: 21
}end: {...}
- line: 25
- column: 22
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1018
- end: 1047
loc: {...}
start: {...}
- line: 26
- column: 2
}end: {...}
- line: 26
- column: 31
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1022
- end: 1046
loc: {...}
start: {...}
- line: 26
- column: 6
}end: {...}
- line: 26
- column: 30
}
}id: Identifier {...}
- type: "Identifier"
- start: 1022
- end: 1030
loc: {...}
start: {...}
- line: 26
- column: 6
}end: {...}
- line: 26
- column: 14
}
}- name: "gameOver"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1033
- end: 1046
loc: {...}
start: {...}
- line: 26
- column: 17
}end: {...}
- line: 26
- column: 30
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1033
- end: 1039
loc: {...}
start: {...}
- line: 26
- column: 17
}end: {...}
- line: 26
- column: 23
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1040
- end: 1045
loc: {...}
start: {...}
- line: 26
- column: 24
}end: {...}
- line: 26
- column: 29
}
}- value: false
- raw: "false"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1050
- end: 1077
loc: {...}
start: {...}
- line: 27
- column: 2
}end: {...}
- line: 27
- column: 29
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1054
- end: 1076
loc: {...}
start: {...}
- line: 27
- column: 6
}end: {...}
- line: 27
- column: 28
}
}id: Identifier {...}
- type: "Identifier"
- start: 1054
- end: 1060
loc: {...}
start: {...}
- line: 27
- column: 6
}end: {...}
- line: 27
- column: 12
}
}- name: "paused"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1063
- end: 1076
loc: {...}
start: {...}
- line: 27
- column: 15
}end: {...}
- line: 27
- column: 28
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1063
- end: 1069
loc: {...}
start: {...}
- line: 27
- column: 15
}end: {...}
- line: 27
- column: 21
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1070
- end: 1075
loc: {...}
start: {...}
- line: 27
- column: 22
}end: {...}
- line: 27
- column: 27
}
}- value: false
- raw: "false"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1080
- end: 1112
loc: {...}
start: {...}
- line: 28
- column: 2
}end: {...}
- line: 28
- column: 34
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1084
- end: 1111
loc: {...}
start: {...}
- line: 28
- column: 6
}end: {...}
- line: 28
- column: 33
}
}id: Identifier {...}
- type: "Identifier"
- start: 1084
- end: 1096
loc: {...}
start: {...}
- line: 28
- column: 6
}end: {...}
- line: 28
- column: 18
}
}- name: "audioPlaying"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1099
- end: 1111
loc: {...}
start: {...}
- line: 28
- column: 21
}end: {...}
- line: 28
- column: 33
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1099
- end: 1105
loc: {...}
start: {...}
- line: 28
- column: 21
}end: {...}
- line: 28
- column: 27
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1106
- end: 1110
loc: {...}
start: {...}
- line: 28
- column: 28
}end: {...}
- line: 28
- column: 32
}
}- value: true
- raw: "true"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1116
- end: 1200
loc: {...}
start: {...}
- line: 30
- column: 2
}end: {...}
- line: 30
- column: 86
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1120
- end: 1199
loc: {...}
start: {...}
- line: 30
- column: 6
}end: {...}
- line: 30
- column: 85
}
}id: Identifier {...}
- type: "Identifier"
- start: 1120
- end: 1125
loc: {...}
start: {...}
- line: 30
- column: 6
}end: {...}
- line: 30
- column: 11
}
}- name: "board"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1128
- end: 1199
loc: {...}
start: {...}
- line: 30
- column: 14
}end: {...}
- line: 30
- column: 85
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1128
- end: 1134
loc: {...}
start: {...}
- line: 30
- column: 14
}end: {...}
- line: 30
- column: 20
}
}- name: "$state"
}arguments: [...] (1)
CallExpression {...}
- type: "CallExpression"
- start: 1135
- end: 1198
loc: {...}
start: {...}
- line: 30
- column: 21
}end: {...}
- line: 30
- column: 84
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1135
- end: 1164
loc: {...}
start: {...}
- line: 30
- column: 21
}end: {...}
- line: 30
- column: 50
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 1135
- end: 1160
loc: {...}
start: {...}
- line: 30
- column: 21
}end: {...}
- line: 30
- column: 46
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1135
- end: 1158
loc: {...}
start: {...}
- line: 30
- column: 21
}end: {...}
- line: 30
- column: 44
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 1135
- end: 1153
loc: {...}
start: {...}
- line: 30
- column: 21
}end: {...}
- line: 30
- column: 39
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1135
- end: 1140
loc: {...}
start: {...}
- line: 30
- column: 21
}end: {...}
- line: 30
- column: 26
}
}- name: "Array"
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 1141
- end: 1152
loc: {...}
start: {...}
- line: 30
- column: 27
}end: {...}
- line: 30
- column: 38
}
}object: Identifier {...}
- type: "Identifier"
- start: 1141
- end: 1147
loc: {...}
start: {...}
- line: 30
- column: 27
}end: {...}
- line: 30
- column: 33
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 1148
- end: 1152
loc: {...}
start: {...}
- line: 30
- column: 34
}end: {...}
- line: 30
- column: 38
}
}- name: "ROWS"
}- computed: false
- optional: false
}
]- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1154
- end: 1158
loc: {...}
start: {...}
- line: 30
- column: 40
}end: {...}
- line: 30
- column: 44
}
}- name: "fill"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1161
- end: 1164
loc: {...}
start: {...}
- line: 30
- column: 47
}end: {...}
- line: 30
- column: 50
}
}- name: "map"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1165
- end: 1197
loc: {...}
start: {...}
- line: 30
- column: 51
}end: {...}
- line: 30
- column: 83
}
}- id: null
- expression: true
- generator: false
- async: false
- params: []
body: CallExpression {...}
- type: "CallExpression"
- start: 1171
- end: 1197
loc: {...}
start: {...}
- line: 30
- column: 57
}end: {...}
- line: 30
- column: 83
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1171
- end: 1194
loc: {...}
start: {...}
- line: 30
- column: 57
}end: {...}
- line: 30
- column: 80
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 1171
- end: 1189
loc: {...}
start: {...}
- line: 30
- column: 57
}end: {...}
- line: 30
- column: 75
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1171
- end: 1176
loc: {...}
start: {...}
- line: 30
- column: 57
}end: {...}
- line: 30
- column: 62
}
}- name: "Array"
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 1177
- end: 1188
loc: {...}
start: {...}
- line: 30
- column: 63
}end: {...}
- line: 30
- column: 74
}
}object: Identifier {...}
- type: "Identifier"
- start: 1177
- end: 1183
loc: {...}
start: {...}
- line: 30
- column: 63
}end: {...}
- line: 30
- column: 69
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 1184
- end: 1188
loc: {...}
start: {...}
- line: 30
- column: 70
}end: {...}
- line: 30
- column: 74
}
}- name: "COLS"
}- computed: false
- optional: false
}
]- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1190
- end: 1194
loc: {...}
start: {...}
- line: 30
- column: 76
}end: {...}
- line: 30
- column: 80
}
}- name: "fill"
}- computed: false
- optional: false
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1195
- end: 1196
loc: {...}
start: {...}
- line: 30
- column: 81
}end: {...}
- line: 30
- column: 82
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- optional: false
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1203
- end: 1235
loc: {...}
start: {...}
- line: 31
- column: 2
}end: {...}
- line: 31
- column: 34
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1207
- end: 1234
loc: {...}
start: {...}
- line: 31
- column: 6
}end: {...}
- line: 31
- column: 33
}
}id: Identifier {...}
- type: "Identifier"
- start: 1207
- end: 1219
loc: {...}
start: {...}
- line: 31
- column: 6
}end: {...}
- line: 31
- column: 18
}
}- name: "currentPiece"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1222
- end: 1234
loc: {...}
start: {...}
- line: 31
- column: 21
}end: {...}
- line: 31
- column: 33
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1222
- end: 1228
loc: {...}
start: {...}
- line: 31
- column: 21
}end: {...}
- line: 31
- column: 27
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1229
- end: 1233
loc: {...}
start: {...}
- line: 31
- column: 28
}end: {...}
- line: 31
- column: 32
}
}- value: null
- raw: "null"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1238
- end: 1263
loc: {...}
start: {...}
- line: 32
- column: 2
}end: {...}
- line: 32
- column: 27
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1242
- end: 1262
loc: {...}
start: {...}
- line: 32
- column: 6
}end: {...}
- line: 32
- column: 26
}
}id: Identifier {...}
- type: "Identifier"
- start: 1242
- end: 1250
loc: {...}
start: {...}
- line: 32
- column: 6
}end: {...}
- line: 32
- column: 14
}
}- name: "currentX"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1253
- end: 1262
loc: {...}
start: {...}
- line: 32
- column: 17
}end: {...}
- line: 32
- column: 26
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1253
- end: 1259
loc: {...}
start: {...}
- line: 32
- column: 17
}end: {...}
- line: 32
- column: 23
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1260
- end: 1261
loc: {...}
start: {...}
- line: 32
- column: 24
}end: {...}
- line: 32
- column: 25
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1266
- end: 1291
loc: {...}
start: {...}
- line: 33
- column: 2
}end: {...}
- line: 33
- column: 27
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1270
- end: 1290
loc: {...}
start: {...}
- line: 33
- column: 6
}end: {...}
- line: 33
- column: 26
}
}id: Identifier {...}
- type: "Identifier"
- start: 1270
- end: 1278
loc: {...}
start: {...}
- line: 33
- column: 6
}end: {...}
- line: 33
- column: 14
}
}- name: "currentY"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1281
- end: 1290
loc: {...}
start: {...}
- line: 33
- column: 17
}end: {...}
- line: 33
- column: 26
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1281
- end: 1287
loc: {...}
start: {...}
- line: 33
- column: 17
}end: {...}
- line: 33
- column: 23
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1288
- end: 1289
loc: {...}
start: {...}
- line: 33
- column: 24
}end: {...}
- line: 33
- column: 25
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1294
- end: 1322
loc: {...}
start: {...}
- line: 34
- column: 2
}end: {...}
- line: 34
- column: 30
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1298
- end: 1321
loc: {...}
start: {...}
- line: 34
- column: 6
}end: {...}
- line: 34
- column: 29
}
}id: Identifier {...}
- type: "Identifier"
- start: 1298
- end: 1309
loc: {...}
start: {...}
- line: 34
- column: 6
}end: {...}
- line: 34
- column: 17
}
}- name: "currentType"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1312
- end: 1321
loc: {...}
start: {...}
- line: 34
- column: 20
}end: {...}
- line: 34
- column: 29
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1312
- end: 1318
loc: {...}
start: {...}
- line: 34
- column: 20
}end: {...}
- line: 34
- column: 26
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1319
- end: 1320
loc: {...}
start: {...}
- line: 34
- column: 27
}end: {...}
- line: 34
- column: 28
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1325
- end: 1357
loc: {...}
start: {...}
- line: 35
- column: 2
}end: {...}
- line: 35
- column: 34
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1329
- end: 1356
loc: {...}
start: {...}
- line: 35
- column: 6
}end: {...}
- line: 35
- column: 33
}
}id: Identifier {...}
- type: "Identifier"
- start: 1329
- end: 1344
loc: {...}
start: {...}
- line: 35
- column: 6
}end: {...}
- line: 35
- column: 21
}
}- name: "currentRotation"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1347
- end: 1356
loc: {...}
start: {...}
- line: 35
- column: 24
}end: {...}
- line: 35
- column: 33
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1347
- end: 1353
loc: {...}
start: {...}
- line: 35
- column: 24
}end: {...}
- line: 35
- column: 30
}
}- name: "$state"
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1354
- end: 1355
loc: {...}
start: {...}
- line: 35
- column: 31
}end: {...}
- line: 35
- column: 32
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1359
- end: 1386
loc: {...}
start: {...}
- line: 36
- column: 1
}end: {...}
- line: 36
- column: 28
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1363
- end: 1385
loc: {...}
start: {...}
- line: 36
- column: 5
}end: {...}
- line: 36
- column: 27
}
}id: Identifier {...}
- type: "Identifier"
- start: 1363
- end: 1374
loc: {...}
start: {...}
- line: 36
- column: 5
}end: {...}
- line: 36
- column: 16
}
}- name: "tetrisTheme"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1377
- end: 1385
loc: {...}
start: {...}
- line: 36
- column: 19
}end: {...}
- line: 36
- column: 27
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1377
- end: 1383
loc: {...}
start: {...}
- line: 36
- column: 19
}end: {...}
- line: 36
- column: 25
}
}- name: "$state"
}- arguments: []
- optional: false
}
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1389
- end: 1406
loc: {...}
start: {...}
- line: 37
- column: 2
}end: {...}
- line: 37
- column: 19
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1393
- end: 1405
loc: {...}
start: {...}
- line: 37
- column: 6
}end: {...}
- line: 37
- column: 18
}
}id: Identifier {...}
- type: "Identifier"
- start: 1393
- end: 1405
loc: {...}
start: {...}
- line: 37
- column: 6
}end: {...}
- line: 37
- column: 18
}
}- name: "dropInterval"
}- init: null
}
]- kind: "let"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1410
- end: 1469
loc: {...}
start: {...}
- line: 39
- column: 2
}end: {...}
- line: 39
- column: 61
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1414
- end: 1468
loc: {...}
start: {...}
- line: 39
- column: 6
}end: {...}
- line: 39
- column: 60
}
}id: Identifier {...}
- type: "Identifier"
- start: 1414
- end: 1421
loc: {...}
start: {...}
- line: 39
- column: 6
}end: {...}
- line: 39
- column: 13
}
}- name: "canMove"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1424
- end: 1468
loc: {...}
start: {...}
- line: 39
- column: 16
}end: {...}
- line: 39
- column: 60
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1424
- end: 1432
loc: {...}
start: {...}
- line: 39
- column: 16
}end: {...}
- line: 39
- column: 24
}
}- name: "$derived"
}arguments: [...] (1)
LogicalExpression {...}
- type: "LogicalExpression"
- start: 1433
- end: 1467
loc: {...}
start: {...}
- line: 39
- column: 25
}end: {...}
- line: 39
- column: 59
}
}left: LogicalExpression {...}
- type: "LogicalExpression"
- start: 1433
- end: 1453
loc: {...}
start: {...}
- line: 39
- column: 25
}end: {...}
- line: 39
- column: 45
}
}left: UnaryExpression {...}
- type: "UnaryExpression"
- start: 1433
- end: 1442
loc: {...}
start: {...}
- line: 39
- column: 25
}end: {...}
- line: 39
- column: 34
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 1434
- end: 1442
loc: {...}
start: {...}
- line: 39
- column: 26
}end: {...}
- line: 39
- column: 34
}
}- name: "gameOver"
}
}- operator: "&&"
right: UnaryExpression {...}
- type: "UnaryExpression"
- start: 1446
- end: 1453
loc: {...}
start: {...}
- line: 39
- column: 38
}end: {...}
- line: 39
- column: 45
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 1447
- end: 1453
loc: {...}
start: {...}
- line: 39
- column: 39
}end: {...}
- line: 39
- column: 45
}
}- name: "paused"
}
}
}- operator: "&&"
right: UnaryExpression {...}
- type: "UnaryExpression"
- start: 1457
- end: 1467
loc: {...}
start: {...}
- line: 39
- column: 49
}end: {...}
- line: 39
- column: 59
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 1458
- end: 1467
loc: {...}
start: {...}
- line: 39
- column: 50
}end: {...}
- line: 39
- column: 59
}
}- name: "countdown"
}
}
}
]- optional: false
}
}
]- kind: "let"
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 1473
- end: 1583
loc: {...}
start: {...}
- line: 41
- column: 2
}end: {...}
- line: 43
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 1482
- end: 1492
loc: {...}
start: {...}
- line: 41
- column: 11
}end: {...}
- line: 41
- column: 21
}
}- name: "isGameOver"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 1495
- end: 1583
loc: {...}
start: {...}
- line: 41
- column: 24
}end: {...}
- line: 43
- column: 3
}
}body: [...] (1)
ReturnStatement {...}
- type: "ReturnStatement"
- start: 1501
- end: 1579
loc: {...}
start: {...}
- line: 42
- column: 4
}end: {...}
- line: 42
- column: 82
}
}argument: LogicalExpression {...}
- type: "LogicalExpression"
- start: 1508
- end: 1578
loc: {...}
start: {...}
- line: 42
- column: 11
}end: {...}
- line: 42
- column: 81
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 1508
- end: 1541
loc: {...}
start: {...}
- line: 42
- column: 11
}end: {...}
- line: 42
- column: 44
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1508
- end: 1521
loc: {...}
start: {...}
- line: 42
- column: 11
}end: {...}
- line: 42
- column: 24
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 1508
- end: 1516
loc: {...}
start: {...}
- line: 42
- column: 11
}end: {...}
- line: 42
- column: 19
}
}object: Identifier {...}
- type: "Identifier"
- start: 1508
- end: 1513
loc: {...}
start: {...}
- line: 42
- column: 11
}end: {...}
- line: 42
- column: 16
}
}- name: "board"
}property: Literal {...}
- type: "Literal"
- start: 1514
- end: 1515
loc: {...}
start: {...}
- line: 42
- column: 17
}end: {...}
- line: 42
- column: 18
}
}- value: 0
- raw: "0"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1517
- end: 1521
loc: {...}
start: {...}
- line: 42
- column: 20
}end: {...}
- line: 42
- column: 24
}
}- name: "some"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1522
- end: 1540
loc: {...}
start: {...}
- line: 42
- column: 25
}end: {...}
- line: 42
- column: 43
}
}- id: null
- expression: true
- generator: false
- async: false
params: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 1522
- end: 1526
loc: {...}
start: {...}
- line: 42
- column: 25
}end: {...}
- line: 42
- column: 29
}
}- name: "cell"
}
]body: BinaryExpression {...}
- type: "BinaryExpression"
- start: 1530
- end: 1540
loc: {...}
start: {...}
- line: 42
- column: 33
}end: {...}
- line: 42
- column: 43
}
}left: Identifier {...}
- type: "Identifier"
- start: 1530
- end: 1534
loc: {...}
start: {...}
- line: 42
- column: 33
}end: {...}
- line: 42
- column: 37
}
}- name: "cell"
}- operator: "!=="
right: Literal {...}
- type: "Literal"
- start: 1539
- end: 1540
loc: {...}
start: {...}
- line: 42
- column: 42
}end: {...}
- line: 42
- column: 43
}
}- value: 0
- raw: "0"
}
}
}
]- optional: false
}- operator: "||"
right: CallExpression {...}
- type: "CallExpression"
- start: 1545
- end: 1578
loc: {...}
start: {...}
- line: 42
- column: 48
}end: {...}
- line: 42
- column: 81
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1545
- end: 1558
loc: {...}
start: {...}
- line: 42
- column: 48
}end: {...}
- line: 42
- column: 61
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 1545
- end: 1553
loc: {...}
start: {...}
- line: 42
- column: 48
}end: {...}
- line: 42
- column: 56
}
}object: Identifier {...}
- type: "Identifier"
- start: 1545
- end: 1550
loc: {...}
start: {...}
- line: 42
- column: 48
}end: {...}
- line: 42
- column: 53
}
}- name: "board"
}property: Literal {...}
- type: "Literal"
- start: 1551
- end: 1552
loc: {...}
start: {...}
- line: 42
- column: 54
}end: {...}
- line: 42
- column: 55
}
}- value: 1
- raw: "1"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1554
- end: 1558
loc: {...}
start: {...}
- line: 42
- column: 57
}end: {...}
- line: 42
- column: 61
}
}- name: "some"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1559
- end: 1577
loc: {...}
start: {...}
- line: 42
- column: 62
}end: {...}
- line: 42
- column: 80
}
}- id: null
- expression: true
- generator: false
- async: false
params: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 1559
- end: 1563
loc: {...}
start: {...}
- line: 42
- column: 62
}end: {...}
- line: 42
- column: 66
}
}- name: "cell"
}
]body: BinaryExpression {...}
- type: "BinaryExpression"
- start: 1567
- end: 1577
loc: {...}
start: {...}
- line: 42
- column: 70
}end: {...}
- line: 42
- column: 80
}
}left: Identifier {...}
- type: "Identifier"
- start: 1567
- end: 1571
loc: {...}
start: {...}
- line: 42
- column: 70
}end: {...}
- line: 42
- column: 74
}
}- name: "cell"
}- operator: "!=="
right: Literal {...}
- type: "Literal"
- start: 1576
- end: 1577
loc: {...}
start: {...}
- line: 42
- column: 79
}end: {...}
- line: 42
- column: 80
}
}- value: 0
- raw: "0"
}
}
}
]- optional: false
}
}
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 1587
- end: 2079
loc: {...}
start: {...}
- line: 45
- column: 2
}end: {...}
- line: 64
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 1596
- end: 1618
loc: {...}
start: {...}
- line: 45
- column: 11
}end: {...}
- line: 45
- column: 33
}
}- name: "startGameWithCountdown"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 1621
- end: 2079
loc: {...}
start: {...}
- line: 45
- column: 36
}end: {...}
- line: 64
- column: 3
}
}body: [...] (8)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1625
- end: 1644
loc: {...}
start: {...}
- line: 46
- column: 2
}end: {...}
- line: 46
- column: 21
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 1625
- end: 1643
loc: {...}
start: {...}
- line: 46
- column: 2
}end: {...}
- line: 46
- column: 20
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1625
- end: 1641
loc: {...}
start: {...}
- line: 46
- column: 2
}end: {...}
- line: 46
- column: 18
}
}object: Identifier {...}
- type: "Identifier"
- start: 1625
- end: 1636
loc: {...}
start: {...}
- line: 46
- column: 2
}end: {...}
- line: 46
- column: 13
}
}- name: "tetrisTheme"
}property: Identifier {...}
- type: "Identifier"
- start: 1637
- end: 1641
loc: {...}
start: {...}
- line: 46
- column: 14
}end: {...}
- line: 46
- column: 18
}
}- name: "play"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1649
- end: 1721
loc: {...}
start: {...}
- line: 47
- column: 4
}end: {...}
- line: 47
- column: 76
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1649
- end: 1720
loc: {...}
start: {...}
- line: 47
- column: 4
}end: {...}
- line: 47
- column: 75
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1649
- end: 1654
loc: {...}
start: {...}
- line: 47
- column: 4
}end: {...}
- line: 47
- column: 9
}
}- name: "board"
}right: CallExpression {...}
- type: "CallExpression"
- start: 1657
- end: 1720
loc: {...}
start: {...}
- line: 47
- column: 12
}end: {...}
- line: 47
- column: 75
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1657
- end: 1686
loc: {...}
start: {...}
- line: 47
- column: 12
}end: {...}
- line: 47
- column: 41
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 1657
- end: 1682
loc: {...}
start: {...}
- line: 47
- column: 12
}end: {...}
- line: 47
- column: 37
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1657
- end: 1680
loc: {...}
start: {...}
- line: 47
- column: 12
}end: {...}
- line: 47
- column: 35
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 1657
- end: 1675
loc: {...}
start: {...}
- line: 47
- column: 12
}end: {...}
- line: 47
- column: 30
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1657
- end: 1662
loc: {...}
start: {...}
- line: 47
- column: 12
}end: {...}
- line: 47
- column: 17
}
}- name: "Array"
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 1663
- end: 1674
loc: {...}
start: {...}
- line: 47
- column: 18
}end: {...}
- line: 47
- column: 29
}
}object: Identifier {...}
- type: "Identifier"
- start: 1663
- end: 1669
loc: {...}
start: {...}
- line: 47
- column: 18
}end: {...}
- line: 47
- column: 24
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 1670
- end: 1674
loc: {...}
start: {...}
- line: 47
- column: 25
}end: {...}
- line: 47
- column: 29
}
}- name: "ROWS"
}- computed: false
- optional: false
}
]- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1676
- end: 1680
loc: {...}
start: {...}
- line: 47
- column: 31
}end: {...}
- line: 47
- column: 35
}
}- name: "fill"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1683
- end: 1686
loc: {...}
start: {...}
- line: 47
- column: 38
}end: {...}
- line: 47
- column: 41
}
}- name: "map"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1687
- end: 1719
loc: {...}
start: {...}
- line: 47
- column: 42
}end: {...}
- line: 47
- column: 74
}
}- id: null
- expression: true
- generator: false
- async: false
- params: []
body: CallExpression {...}
- type: "CallExpression"
- start: 1693
- end: 1719
loc: {...}
start: {...}
- line: 47
- column: 48
}end: {...}
- line: 47
- column: 74
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 1693
- end: 1716
loc: {...}
start: {...}
- line: 47
- column: 48
}end: {...}
- line: 47
- column: 71
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 1693
- end: 1711
loc: {...}
start: {...}
- line: 47
- column: 48
}end: {...}
- line: 47
- column: 66
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1693
- end: 1698
loc: {...}
start: {...}
- line: 47
- column: 48
}end: {...}
- line: 47
- column: 53
}
}- name: "Array"
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 1699
- end: 1710
loc: {...}
start: {...}
- line: 47
- column: 54
}end: {...}
- line: 47
- column: 65
}
}object: Identifier {...}
- type: "Identifier"
- start: 1699
- end: 1705
loc: {...}
start: {...}
- line: 47
- column: 54
}end: {...}
- line: 47
- column: 60
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 1706
- end: 1710
loc: {...}
start: {...}
- line: 47
- column: 61
}end: {...}
- line: 47
- column: 65
}
}- name: "COLS"
}- computed: false
- optional: false
}
]- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 1712
- end: 1716
loc: {...}
start: {...}
- line: 47
- column: 67
}end: {...}
- line: 47
- column: 71
}
}- name: "fill"
}- computed: false
- optional: false
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 1717
- end: 1718
loc: {...}
start: {...}
- line: 47
- column: 72
}end: {...}
- line: 47
- column: 73
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1726
- end: 1736
loc: {...}
start: {...}
- line: 48
- column: 4
}end: {...}
- line: 48
- column: 14
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1726
- end: 1735
loc: {...}
start: {...}
- line: 48
- column: 4
}end: {...}
- line: 48
- column: 13
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1726
- end: 1731
loc: {...}
start: {...}
- line: 48
- column: 4
}end: {...}
- line: 48
- column: 9
}
}- name: "score"
}right: Literal {...}
- type: "Literal"
- start: 1734
- end: 1735
loc: {...}
start: {...}
- line: 48
- column: 12
}end: {...}
- line: 48
- column: 13
}
}- value: 0
- raw: "0"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1741
- end: 1758
loc: {...}
start: {...}
- line: 49
- column: 4
}end: {...}
- line: 49
- column: 21
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1741
- end: 1757
loc: {...}
start: {...}
- line: 49
- column: 4
}end: {...}
- line: 49
- column: 20
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1741
- end: 1749
loc: {...}
start: {...}
- line: 49
- column: 4
}end: {...}
- line: 49
- column: 12
}
}- name: "gameOver"
}right: Literal {...}
- type: "Literal"
- start: 1752
- end: 1757
loc: {...}
start: {...}
- line: 49
- column: 15
}end: {...}
- line: 49
- column: 20
}
}- value: false
- raw: "false"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1763
- end: 1778
loc: {...}
start: {...}
- line: 50
- column: 4
}end: {...}
- line: 50
- column: 19
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1763
- end: 1777
loc: {...}
start: {...}
- line: 50
- column: 4
}end: {...}
- line: 50
- column: 18
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1763
- end: 1769
loc: {...}
start: {...}
- line: 50
- column: 4
}end: {...}
- line: 50
- column: 10
}
}- name: "paused"
}right: Literal {...}
- type: "Literal"
- start: 1772
- end: 1777
loc: {...}
start: {...}
- line: 50
- column: 13
}end: {...}
- line: 50
- column: 18
}
}- value: false
- raw: "false"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1783
- end: 1803
loc: {...}
start: {...}
- line: 51
- column: 4
}end: {...}
- line: 51
- column: 24
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1783
- end: 1802
loc: {...}
start: {...}
- line: 51
- column: 4
}end: {...}
- line: 51
- column: 23
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1783
- end: 1794
loc: {...}
start: {...}
- line: 51
- column: 4
}end: {...}
- line: 51
- column: 15
}
}- name: "gameStarted"
}right: Literal {...}
- type: "Literal"
- start: 1797
- end: 1802
loc: {...}
start: {...}
- line: 51
- column: 18
}end: {...}
- line: 51
- column: 23
}
}- value: false
- raw: "false"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1808
- end: 1822
loc: {...}
start: {...}
- line: 52
- column: 4
}end: {...}
- line: 52
- column: 18
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1808
- end: 1821
loc: {...}
start: {...}
- line: 52
- column: 4
}end: {...}
- line: 52
- column: 17
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1808
- end: 1817
loc: {...}
start: {...}
- line: 52
- column: 4
}end: {...}
- line: 52
- column: 13
}
}- name: "countdown"
}right: Literal {...}
- type: "Literal"
- start: 1820
- end: 1821
loc: {...}
start: {...}
- line: 52
- column: 16
}end: {...}
- line: 52
- column: 17
}
}- value: 3
- raw: "3"
}
}
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 1828
- end: 2075
loc: {...}
start: {...}
- line: 54
- column: 4
}end: {...}
- line: 63
- column: 13
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 1834
- end: 2074
loc: {...}
start: {...}
- line: 54
- column: 10
}end: {...}
- line: 63
- column: 12
}
}id: Identifier {...}
- type: "Identifier"
- start: 1834
- end: 1851
loc: {...}
start: {...}
- line: 54
- column: 10
}end: {...}
- line: 54
- column: 27
}
}- name: "countdownInterval"
}init: CallExpression {...}
- type: "CallExpression"
- start: 1854
- end: 2074
loc: {...}
start: {...}
- line: 54
- column: 30
}end: {...}
- line: 63
- column: 12
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1854
- end: 1865
loc: {...}
start: {...}
- line: 54
- column: 30
}end: {...}
- line: 54
- column: 41
}
}- name: "setInterval"
}arguments: [...] (2)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 1866
- end: 2067
loc: {...}
start: {...}
- line: 54
- column: 42
}end: {...}
- line: 63
- column: 5
}
}- id: null
- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 1872
- end: 2067
loc: {...}
start: {...}
- line: 54
- column: 48
}end: {...}
- line: 63
- column: 5
}
}body: [...] (1)
IfStatement {...}
- type: "IfStatement"
- start: 1880
- end: 2061
loc: {...}
start: {...}
- line: 55
- column: 6
}end: {...}
- line: 62
- column: 7
}
}test: BinaryExpression {...}
- type: "BinaryExpression"
- start: 1884
- end: 1897
loc: {...}
start: {...}
- line: 55
- column: 10
}end: {...}
- line: 55
- column: 23
}
}left: Identifier {...}
- type: "Identifier"
- start: 1884
- end: 1893
loc: {...}
start: {...}
- line: 55
- column: 10
}end: {...}
- line: 55
- column: 19
}
}- name: "countdown"
}- operator: ">"
right: Literal {...}
- type: "Literal"
- start: 1896
- end: 1897
loc: {...}
start: {...}
- line: 55
- column: 22
}end: {...}
- line: 55
- column: 23
}
}- value: 1
- raw: "1"
}
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 1899
- end: 1929
loc: {...}
start: {...}
- line: 55
- column: 25
}end: {...}
- line: 57
- column: 7
}
}body: [...] (1)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1909
- end: 1921
loc: {...}
start: {...}
- line: 56
- column: 8
}end: {...}
- line: 56
- column: 20
}
}expression: UpdateExpression {...}
- type: "UpdateExpression"
- start: 1909
- end: 1920
loc: {...}
start: {...}
- line: 56
- column: 8
}end: {...}
- line: 56
- column: 19
}
}- operator: "--"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 1909
- end: 1918
loc: {...}
start: {...}
- line: 56
- column: 8
}end: {...}
- line: 56
- column: 17
}
}- name: "countdown"
}
}
}
]
}alternate: BlockStatement {...}
- type: "BlockStatement"
- start: 1935
- end: 2061
loc: {...}
start: {...}
- line: 57
- column: 13
}end: {...}
- line: 62
- column: 7
}
}body: [...] (4)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1945
- end: 1978
loc: {...}
start: {...}
- line: 58
- column: 8
}end: {...}
- line: 58
- column: 41
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 1945
- end: 1977
loc: {...}
start: {...}
- line: 58
- column: 8
}end: {...}
- line: 58
- column: 40
}
}callee: Identifier {...}
- type: "Identifier"
- start: 1945
- end: 1958
loc: {...}
start: {...}
- line: 58
- column: 8
}end: {...}
- line: 58
- column: 21
}
}- name: "clearInterval"
}arguments: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 1959
- end: 1976
loc: {...}
start: {...}
- line: 58
- column: 22
}end: {...}
- line: 58
- column: 39
}
}- name: "countdownInterval"
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 1987
- end: 2004
loc: {...}
start: {...}
- line: 59
- column: 8
}end: {...}
- line: 59
- column: 25
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 1987
- end: 2003
loc: {...}
start: {...}
- line: 59
- column: 8
}end: {...}
- line: 59
- column: 24
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 1987
- end: 1996
loc: {...}
start: {...}
- line: 59
- column: 8
}end: {...}
- line: 59
- column: 17
}
}- name: "countdown"
}right: Literal {...}
- type: "Literal"
- start: 1999
- end: 2003
loc: {...}
start: {...}
- line: 59
- column: 20
}end: {...}
- line: 59
- column: 24
}
}- value: null
- raw: "null"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2013
- end: 2032
loc: {...}
start: {...}
- line: 60
- column: 8
}end: {...}
- line: 60
- column: 27
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2013
- end: 2031
loc: {...}
start: {...}
- line: 60
- column: 8
}end: {...}
- line: 60
- column: 26
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2013
- end: 2024
loc: {...}
start: {...}
- line: 60
- column: 8
}end: {...}
- line: 60
- column: 19
}
}- name: "gameStarted"
}right: Literal {...}
- type: "Literal"
- start: 2027
- end: 2031
loc: {...}
start: {...}
- line: 60
- column: 22
}end: {...}
- line: 60
- column: 26
}
}- value: true
- raw: "true"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2041
- end: 2053
loc: {...}
start: {...}
- line: 61
- column: 8
}end: {...}
- line: 61
- column: 20
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 2041
- end: 2052
loc: {...}
start: {...}
- line: 61
- column: 8
}end: {...}
- line: 61
- column: 19
}
}callee: Identifier {...}
- type: "Identifier"
- start: 2041
- end: 2050
loc: {...}
start: {...}
- line: 61
- column: 8
}end: {...}
- line: 61
- column: 17
}
}- name: "resetGame"
}- arguments: []
- optional: false
}
}
]
}
}
]
}
} Literal {...}
- type: "Literal"
- start: 2069
- end: 2073
loc: {...}
start: {...}
- line: 63
- column: 7
}end: {...}
- line: 63
- column: 11
}
}- value: 1000
- raw: "1000"
}
]- optional: false
}
}
]- kind: "const"
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 2083
- end: 2475
loc: {...}
start: {...}
- line: 66
- column: 2
}end: {...}
- line: 77
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 2092
- end: 2100
loc: {...}
start: {...}
- line: 66
- column: 11
}end: {...}
- line: 66
- column: 19
}
}- name: "newPiece"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 2103
- end: 2475
loc: {...}
start: {...}
- line: 66
- column: 22
}end: {...}
- line: 77
- column: 3
}
}body: [...] (6)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2109
- end: 2172
loc: {...}
start: {...}
- line: 67
- column: 4
}end: {...}
- line: 67
- column: 67
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2109
- end: 2171
loc: {...}
start: {...}
- line: 67
- column: 4
}end: {...}
- line: 67
- column: 66
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2109
- end: 2120
loc: {...}
start: {...}
- line: 67
- column: 4
}end: {...}
- line: 67
- column: 15
}
}- name: "currentType"
}right: CallExpression {...}
- type: "CallExpression"
- start: 2123
- end: 2171
loc: {...}
start: {...}
- line: 67
- column: 18
}end: {...}
- line: 67
- column: 66
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 2123
- end: 2133
loc: {...}
start: {...}
- line: 67
- column: 18
}end: {...}
- line: 67
- column: 28
}
}object: Identifier {...}
- type: "Identifier"
- start: 2123
- end: 2127
loc: {...}
start: {...}
- line: 67
- column: 18
}end: {...}
- line: 67
- column: 22
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2128
- end: 2133
loc: {...}
start: {...}
- line: 67
- column: 23
}end: {...}
- line: 67
- column: 28
}
}- name: "floor"
}- computed: false
- optional: false
}arguments: [...] (1)
BinaryExpression {...}
- type: "BinaryExpression"
- start: 2134
- end: 2170
loc: {...}
start: {...}
- line: 67
- column: 29
}end: {...}
- line: 67
- column: 65
}
}left: CallExpression {...}
- type: "CallExpression"
- start: 2134
- end: 2147
loc: {...}
start: {...}
- line: 67
- column: 29
}end: {...}
- line: 67
- column: 42
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 2134
- end: 2145
loc: {...}
start: {...}
- line: 67
- column: 29
}end: {...}
- line: 67
- column: 40
}
}object: Identifier {...}
- type: "Identifier"
- start: 2134
- end: 2138
loc: {...}
start: {...}
- line: 67
- column: 29
}end: {...}
- line: 67
- column: 33
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2139
- end: 2145
loc: {...}
start: {...}
- line: 67
- column: 34
}end: {...}
- line: 67
- column: 40
}
}- name: "random"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}- operator: "*"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2150
- end: 2170
loc: {...}
start: {...}
- line: 67
- column: 45
}end: {...}
- line: 67
- column: 65
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2150
- end: 2163
loc: {...}
start: {...}
- line: 67
- column: 45
}end: {...}
- line: 67
- column: 58
}
}object: Identifier {...}
- type: "Identifier"
- start: 2150
- end: 2156
loc: {...}
start: {...}
- line: 67
- column: 45
}end: {...}
- line: 67
- column: 51
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 2157
- end: 2163
loc: {...}
start: {...}
- line: 67
- column: 52
}end: {...}
- line: 67
- column: 58
}
}- name: "PIECES"
}- computed: false
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2164
- end: 2170
loc: {...}
start: {...}
- line: 67
- column: 59
}end: {...}
- line: 67
- column: 65
}
}- name: "length"
}- computed: false
- optional: false
}
}
]- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2177
- end: 2197
loc: {...}
start: {...}
- line: 68
- column: 4
}end: {...}
- line: 68
- column: 24
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2177
- end: 2196
loc: {...}
start: {...}
- line: 68
- column: 4
}end: {...}
- line: 68
- column: 23
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2177
- end: 2192
loc: {...}
start: {...}
- line: 68
- column: 4
}end: {...}
- line: 68
- column: 19
}
}- name: "currentRotation"
}right: Literal {...}
- type: "Literal"
- start: 2195
- end: 2196
loc: {...}
start: {...}
- line: 68
- column: 22
}end: {...}
- line: 68
- column: 23
}
}- value: 0
- raw: "0"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2202
- end: 2261
loc: {...}
start: {...}
- line: 69
- column: 4
}end: {...}
- line: 69
- column: 63
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2202
- end: 2260
loc: {...}
start: {...}
- line: 69
- column: 4
}end: {...}
- line: 69
- column: 62
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2202
- end: 2214
loc: {...}
start: {...}
- line: 69
- column: 4
}end: {...}
- line: 69
- column: 16
}
}- name: "currentPiece"
}right: MemberExpression {...}
- type: "MemberExpression"
- start: 2217
- end: 2260
loc: {...}
start: {...}
- line: 69
- column: 19
}end: {...}
- line: 69
- column: 62
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2217
- end: 2243
loc: {...}
start: {...}
- line: 69
- column: 19
}end: {...}
- line: 69
- column: 45
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2217
- end: 2230
loc: {...}
start: {...}
- line: 69
- column: 19
}end: {...}
- line: 69
- column: 32
}
}object: Identifier {...}
- type: "Identifier"
- start: 2217
- end: 2223
loc: {...}
start: {...}
- line: 69
- column: 19
}end: {...}
- line: 69
- column: 25
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 2224
- end: 2230
loc: {...}
start: {...}
- line: 69
- column: 26
}end: {...}
- line: 69
- column: 32
}
}- name: "PIECES"
}- computed: false
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2231
- end: 2242
loc: {...}
start: {...}
- line: 69
- column: 33
}end: {...}
- line: 69
- column: 44
}
}- name: "currentType"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2244
- end: 2259
loc: {...}
start: {...}
- line: 69
- column: 46
}end: {...}
- line: 69
- column: 61
}
}- name: "currentRotation"
}- computed: true
- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2266
- end: 2332
loc: {...}
start: {...}
- line: 70
- column: 4
}end: {...}
- line: 70
- column: 70
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2266
- end: 2331
loc: {...}
start: {...}
- line: 70
- column: 4
}end: {...}
- line: 70
- column: 69
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2266
- end: 2274
loc: {...}
start: {...}
- line: 70
- column: 4
}end: {...}
- line: 70
- column: 12
}
}- name: "currentX"
}right: CallExpression {...}
- type: "CallExpression"
- start: 2277
- end: 2331
loc: {...}
start: {...}
- line: 70
- column: 15
}end: {...}
- line: 70
- column: 69
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 2277
- end: 2287
loc: {...}
start: {...}
- line: 70
- column: 15
}end: {...}
- line: 70
- column: 25
}
}object: Identifier {...}
- type: "Identifier"
- start: 2277
- end: 2281
loc: {...}
start: {...}
- line: 70
- column: 15
}end: {...}
- line: 70
- column: 19
}
}- name: "Math"
}property: Identifier {...}
- type: "Identifier"
- start: 2282
- end: 2287
loc: {...}
start: {...}
- line: 70
- column: 20
}end: {...}
- line: 70
- column: 25
}
}- name: "floor"
}- computed: false
- optional: false
}arguments: [...] (1)
BinaryExpression {...}
- type: "BinaryExpression"
- start: 2288
- end: 2330
loc: {...}
start: {...}
- line: 70
- column: 26
}end: {...}
- line: 70
- column: 68
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2289
- end: 2325
loc: {...}
start: {...}
- line: 70
- column: 27
}end: {...}
- line: 70
- column: 63
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 2289
- end: 2300
loc: {...}
start: {...}
- line: 70
- column: 27
}end: {...}
- line: 70
- column: 38
}
}object: Identifier {...}
- type: "Identifier"
- start: 2289
- end: 2295
loc: {...}
start: {...}
- line: 70
- column: 27
}end: {...}
- line: 70
- column: 33
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 2296
- end: 2300
loc: {...}
start: {...}
- line: 70
- column: 34
}end: {...}
- line: 70
- column: 38
}
}- name: "COLS"
}- computed: false
- optional: false
}- operator: "-"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2303
- end: 2325
loc: {...}
start: {...}
- line: 70
- column: 41
}end: {...}
- line: 70
- column: 63
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2303
- end: 2318
loc: {...}
start: {...}
- line: 70
- column: 41
}end: {...}
- line: 70
- column: 56
}
}object: Identifier {...}
- type: "Identifier"
- start: 2303
- end: 2315
loc: {...}
start: {...}
- line: 70
- column: 41
}end: {...}
- line: 70
- column: 53
}
}- name: "currentPiece"
}property: Literal {...}
- type: "Literal"
- start: 2316
- end: 2317
loc: {...}
start: {...}
- line: 70
- column: 54
}end: {...}
- line: 70
- column: 55
}
}- value: 0
- raw: "0"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2319
- end: 2325
loc: {...}
start: {...}
- line: 70
- column: 57
}end: {...}
- line: 70
- column: 63
}
}- name: "length"
}- computed: false
- optional: false
}
}- operator: "/"
right: Literal {...}
- type: "Literal"
- start: 2329
- end: 2330
loc: {...}
start: {...}
- line: 70
- column: 67
}end: {...}
- line: 70
- column: 68
}
}- value: 2
- raw: "2"
}
}
]- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2337
- end: 2350
loc: {...}
start: {...}
- line: 71
- column: 4
}end: {...}
- line: 71
- column: 17
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2337
- end: 2349
loc: {...}
start: {...}
- line: 71
- column: 4
}end: {...}
- line: 71
- column: 16
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2337
- end: 2345
loc: {...}
start: {...}
- line: 71
- column: 4
}end: {...}
- line: 71
- column: 12
}
}- name: "currentY"
}right: Literal {...}
- type: "Literal"
- start: 2348
- end: 2349
loc: {...}
start: {...}
- line: 71
- column: 15
}end: {...}
- line: 71
- column: 16
}
}- value: 0
- raw: "0"
}
}
} IfStatement {...}
- type: "IfStatement"
- start: 2356
- end: 2471
loc: {...}
start: {...}
- line: 73
- column: 4
}end: {...}
- line: 76
- column: 5
}
}test: LogicalExpression {...}
- type: "LogicalExpression"
- start: 2360
- end: 2404
loc: {...}
start: {...}
- line: 73
- column: 8
}end: {...}
- line: 73
- column: 52
}
}left: UnaryExpression {...}
- type: "UnaryExpression"
- start: 2360
- end: 2388
loc: {...}
start: {...}
- line: 73
- column: 8
}end: {...}
- line: 73
- column: 36
}
}- operator: "!"
- prefix: true
argument: CallExpression {...}
- type: "CallExpression"
- start: 2361
- end: 2388
loc: {...}
start: {...}
- line: 73
- column: 9
}end: {...}
- line: 73
- column: 36
}
}callee: Identifier {...}
- type: "Identifier"
- start: 2361
- end: 2368
loc: {...}
start: {...}
- line: 73
- column: 9
}end: {...}
- line: 73
- column: 16
}
}- name: "isValid"
}arguments: [...] (3)
Literal {...}
- type: "Literal"
- start: 2369
- end: 2370
loc: {...}
start: {...}
- line: 73
- column: 17
}end: {...}
- line: 73
- column: 18
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 2372
- end: 2373
loc: {...}
start: {...}
- line: 73
- column: 20
}end: {...}
- line: 73
- column: 21
}
}- value: 0
- raw: "0"
} Identifier {...}
- type: "Identifier"
- start: 2375
- end: 2387
loc: {...}
start: {...}
- line: 73
- column: 23
}end: {...}
- line: 73
- column: 35
}
}- name: "currentPiece"
}
]- optional: false
}
}- operator: "||"
right: CallExpression {...}
- type: "CallExpression"
- start: 2392
- end: 2404
loc: {...}
start: {...}
- line: 73
- column: 40
}end: {...}
- line: 73
- column: 52
}
}callee: Identifier {...}
- type: "Identifier"
- start: 2392
- end: 2402
loc: {...}
start: {...}
- line: 73
- column: 40
}end: {...}
- line: 73
- column: 50
}
}- name: "isGameOver"
}- arguments: []
- optional: false
}
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 2406
- end: 2471
loc: {...}
start: {...}
- line: 73
- column: 54
}end: {...}
- line: 76
- column: 5
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2414
- end: 2430
loc: {...}
start: {...}
- line: 74
- column: 6
}end: {...}
- line: 74
- column: 22
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2414
- end: 2429
loc: {...}
start: {...}
- line: 74
- column: 6
}end: {...}
- line: 74
- column: 21
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2414
- end: 2422
loc: {...}
start: {...}
- line: 74
- column: 6
}end: {...}
- line: 74
- column: 14
}
}- name: "gameOver"
}right: Literal {...}
- type: "Literal"
- start: 2425
- end: 2429
loc: {...}
start: {...}
- line: 74
- column: 17
}end: {...}
- line: 74
- column: 21
}
}- value: true
- raw: "true"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2437
- end: 2465
loc: {...}
start: {...}
- line: 75
- column: 6
}end: {...}
- line: 75
- column: 34
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 2437
- end: 2464
loc: {...}
start: {...}
- line: 75
- column: 6
}end: {...}
- line: 75
- column: 33
}
}callee: Identifier {...}
- type: "Identifier"
- start: 2437
- end: 2450
loc: {...}
start: {...}
- line: 75
- column: 6
}end: {...}
- line: 75
- column: 19
}
}- name: "clearInterval"
}arguments: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 2451
- end: 2463
loc: {...}
start: {...}
- line: 75
- column: 20
}end: {...}
- line: 75
- column: 32
}
}- name: "dropInterval"
}
]- optional: false
}
}
]
}- alternate: null
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 2479
- end: 2865
loc: {...}
start: {...}
- line: 79
- column: 2
}end: {...}
- line: 90
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 2488
- end: 2494
loc: {...}
start: {...}
- line: 79
- column: 11
}end: {...}
- line: 79
- column: 17
}
}- name: "rotate"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 2497
- end: 2865
loc: {...}
start: {...}
- line: 79
- column: 20
}end: {...}
- line: 90
- column: 3
}
}body: [...] (3)
VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 2503
- end: 2582
loc: {...}
start: {...}
- line: 80
- column: 4
}end: {...}
- line: 80
- column: 83
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 2509
- end: 2581
loc: {...}
start: {...}
- line: 80
- column: 10
}end: {...}
- line: 80
- column: 82
}
}id: Identifier {...}
- type: "Identifier"
- start: 2509
- end: 2521
loc: {...}
start: {...}
- line: 80
- column: 10
}end: {...}
- line: 80
- column: 22
}
}- name: "nextRotation"
}init: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2524
- end: 2581
loc: {...}
start: {...}
- line: 80
- column: 25
}end: {...}
- line: 80
- column: 82
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2525
- end: 2544
loc: {...}
start: {...}
- line: 80
- column: 26
}end: {...}
- line: 80
- column: 45
}
}left: Identifier {...}
- type: "Identifier"
- start: 2525
- end: 2540
loc: {...}
start: {...}
- line: 80
- column: 26
}end: {...}
- line: 80
- column: 41
}
}- name: "currentRotation"
}- operator: "+"
right: Literal {...}
- type: "Literal"
- start: 2543
- end: 2544
loc: {...}
start: {...}
- line: 80
- column: 44
}end: {...}
- line: 80
- column: 45
}
}- value: 1
- raw: "1"
}
}- operator: "%"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2548
- end: 2581
loc: {...}
start: {...}
- line: 80
- column: 49
}end: {...}
- line: 80
- column: 82
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2548
- end: 2574
loc: {...}
start: {...}
- line: 80
- column: 49
}end: {...}
- line: 80
- column: 75
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2548
- end: 2561
loc: {...}
start: {...}
- line: 80
- column: 49
}end: {...}
- line: 80
- column: 62
}
}object: Identifier {...}
- type: "Identifier"
- start: 2548
- end: 2554
loc: {...}
start: {...}
- line: 80
- column: 49
}end: {...}
- line: 80
- column: 55
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 2555
- end: 2561
loc: {...}
start: {...}
- line: 80
- column: 56
}end: {...}
- line: 80
- column: 62
}
}- name: "PIECES"
}- computed: false
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2562
- end: 2573
loc: {...}
start: {...}
- line: 80
- column: 63
}end: {...}
- line: 80
- column: 74
}
}- name: "currentType"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2575
- end: 2581
loc: {...}
start: {...}
- line: 80
- column: 76
}end: {...}
- line: 80
- column: 82
}
}- name: "length"
}- computed: false
- optional: false
}
}
}
]- kind: "const"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 2587
- end: 2646
loc: {...}
start: {...}
- line: 81
- column: 4
}end: {...}
- line: 81
- column: 63
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 2593
- end: 2645
loc: {...}
start: {...}
- line: 81
- column: 10
}end: {...}
- line: 81
- column: 62
}
}id: Identifier {...}
- type: "Identifier"
- start: 2593
- end: 2602
loc: {...}
start: {...}
- line: 81
- column: 10
}end: {...}
- line: 81
- column: 19
}
}- name: "nextPiece"
}init: MemberExpression {...}
- type: "MemberExpression"
- start: 2605
- end: 2645
loc: {...}
start: {...}
- line: 81
- column: 22
}end: {...}
- line: 81
- column: 62
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2605
- end: 2631
loc: {...}
start: {...}
- line: 81
- column: 22
}end: {...}
- line: 81
- column: 48
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2605
- end: 2618
loc: {...}
start: {...}
- line: 81
- column: 22
}end: {...}
- line: 81
- column: 35
}
}object: Identifier {...}
- type: "Identifier"
- start: 2605
- end: 2611
loc: {...}
start: {...}
- line: 81
- column: 22
}end: {...}
- line: 81
- column: 28
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 2612
- end: 2618
loc: {...}
start: {...}
- line: 81
- column: 29
}end: {...}
- line: 81
- column: 35
}
}- name: "PIECES"
}- computed: false
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2619
- end: 2630
loc: {...}
start: {...}
- line: 81
- column: 36
}end: {...}
- line: 81
- column: 47
}
}- name: "currentType"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2632
- end: 2644
loc: {...}
start: {...}
- line: 81
- column: 49
}end: {...}
- line: 81
- column: 61
}
}- name: "nextRotation"
}- computed: true
- optional: false
}
}
]- kind: "const"
} ForOfStatement {...}
- type: "ForOfStatement"
- start: 2651
- end: 2861
loc: {...}
start: {...}
- line: 82
- column: 4
}end: {...}
- line: 89
- column: 5
}
}- await: false
left: VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 2656
- end: 2666
loc: {...}
start: {...}
- line: 82
- column: 9
}end: {...}
- line: 82
- column: 19
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 2662
- end: 2666
loc: {...}
start: {...}
- line: 82
- column: 15
}end: {...}
- line: 82
- column: 19
}
}id: Identifier {...}
- type: "Identifier"
- start: 2662
- end: 2666
loc: {...}
start: {...}
- line: 82
- column: 15
}end: {...}
- line: 82
- column: 19
}
}- name: "kick"
}- init: null
}
]- kind: "const"
}right: ArrayExpression {...}
- type: "ArrayExpression"
- start: 2670
- end: 2687
loc: {...}
start: {...}
- line: 82
- column: 23
}end: {...}
- line: 82
- column: 40
}
}elements: [...] (5)
Literal {...}
- type: "Literal"
- start: 2671
- end: 2672
loc: {...}
start: {...}
- line: 82
- column: 24
}end: {...}
- line: 82
- column: 25
}
}- value: 0
- raw: "0"
} UnaryExpression {...}
- type: "UnaryExpression"
- start: 2674
- end: 2676
loc: {...}
start: {...}
- line: 82
- column: 27
}end: {...}
- line: 82
- column: 29
}
}- operator: "-"
- prefix: true
argument: Literal {...}
- type: "Literal"
- start: 2675
- end: 2676
loc: {...}
start: {...}
- line: 82
- column: 28
}end: {...}
- line: 82
- column: 29
}
}- value: 1
- raw: "1"
}
} Literal {...}
- type: "Literal"
- start: 2678
- end: 2679
loc: {...}
start: {...}
- line: 82
- column: 31
}end: {...}
- line: 82
- column: 32
}
}- value: 1
- raw: "1"
} UnaryExpression {...}
- type: "UnaryExpression"
- start: 2681
- end: 2683
loc: {...}
start: {...}
- line: 82
- column: 34
}end: {...}
- line: 82
- column: 36
}
}- operator: "-"
- prefix: true
argument: Literal {...}
- type: "Literal"
- start: 2682
- end: 2683
loc: {...}
start: {...}
- line: 82
- column: 35
}end: {...}
- line: 82
- column: 36
}
}- value: 2
- raw: "2"
}
} Literal {...}
- type: "Literal"
- start: 2685
- end: 2686
loc: {...}
start: {...}
- line: 82
- column: 38
}end: {...}
- line: 82
- column: 39
}
}- value: 2
- raw: "2"
}
]
}body: BlockStatement {...}
- type: "BlockStatement"
- start: 2689
- end: 2861
loc: {...}
start: {...}
- line: 82
- column: 42
}end: {...}
- line: 89
- column: 5
}
}body: [...] (1)
IfStatement {...}
- type: "IfStatement"
- start: 2697
- end: 2855
loc: {...}
start: {...}
- line: 83
- column: 6
}end: {...}
- line: 88
- column: 7
}
}test: CallExpression {...}
- type: "CallExpression"
- start: 2701
- end: 2728
loc: {...}
start: {...}
- line: 83
- column: 10
}end: {...}
- line: 83
- column: 37
}
}callee: Identifier {...}
- type: "Identifier"
- start: 2701
- end: 2708
loc: {...}
start: {...}
- line: 83
- column: 10
}end: {...}
- line: 83
- column: 17
}
}- name: "isValid"
}arguments: [...] (3)
Identifier {...}
- type: "Identifier"
- start: 2709
- end: 2713
loc: {...}
start: {...}
- line: 83
- column: 18
}end: {...}
- line: 83
- column: 22
}
}- name: "kick"
} Literal {...}
- type: "Literal"
- start: 2715
- end: 2716
loc: {...}
start: {...}
- line: 83
- column: 24
}end: {...}
- line: 83
- column: 25
}
}- value: 0
- raw: "0"
} Identifier {...}
- type: "Identifier"
- start: 2718
- end: 2727
loc: {...}
start: {...}
- line: 83
- column: 27
}end: {...}
- line: 83
- column: 36
}
}- name: "nextPiece"
}
]- optional: false
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 2730
- end: 2855
loc: {...}
start: {...}
- line: 83
- column: 39
}end: {...}
- line: 88
- column: 7
}
}body: [...] (4)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2740
- end: 2765
loc: {...}
start: {...}
- line: 84
- column: 8
}end: {...}
- line: 84
- column: 33
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2740
- end: 2764
loc: {...}
start: {...}
- line: 84
- column: 8
}end: {...}
- line: 84
- column: 32
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2740
- end: 2752
loc: {...}
start: {...}
- line: 84
- column: 8
}end: {...}
- line: 84
- column: 20
}
}- name: "currentPiece"
}right: Identifier {...}
- type: "Identifier"
- start: 2755
- end: 2764
loc: {...}
start: {...}
- line: 84
- column: 23
}end: {...}
- line: 84
- column: 32
}
}- name: "nextPiece"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2774
- end: 2805
loc: {...}
start: {...}
- line: 85
- column: 8
}end: {...}
- line: 85
- column: 39
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2774
- end: 2804
loc: {...}
start: {...}
- line: 85
- column: 8
}end: {...}
- line: 85
- column: 38
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 2774
- end: 2789
loc: {...}
start: {...}
- line: 85
- column: 8
}end: {...}
- line: 85
- column: 23
}
}- name: "currentRotation"
}right: Identifier {...}
- type: "Identifier"
- start: 2792
- end: 2804
loc: {...}
start: {...}
- line: 85
- column: 26
}end: {...}
- line: 85
- column: 38
}
}- name: "nextRotation"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 2814
- end: 2831
loc: {...}
start: {...}
- line: 86
- column: 8
}end: {...}
- line: 86
- column: 25
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 2814
- end: 2830
loc: {...}
start: {...}
- line: 86
- column: 8
}end: {...}
- line: 86
- column: 24
}
}- operator: "+="
left: Identifier {...}
- type: "Identifier"
- start: 2814
- end: 2822
loc: {...}
start: {...}
- line: 86
- column: 8
}end: {...}
- line: 86
- column: 16
}
}- name: "currentX"
}right: Identifier {...}
- type: "Identifier"
- start: 2826
- end: 2830
loc: {...}
start: {...}
- line: 86
- column: 20
}end: {...}
- line: 86
- column: 24
}
}- name: "kick"
}
}
} ReturnStatement {...}
- type: "ReturnStatement"
- start: 2840
- end: 2847
loc: {...}
start: {...}
- line: 87
- column: 8
}end: {...}
- line: 87
- column: 15
}
}- argument: null
}
]
}- alternate: null
}
]
}
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 2869
- end: 3327
loc: {...}
start: {...}
- line: 92
- column: 2
}end: {...}
- line: 104
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 2878
- end: 2885
loc: {...}
start: {...}
- line: 92
- column: 11
}end: {...}
- line: 92
- column: 18
}
}- name: "isValid"
}- expression: false
- generator: false
- async: false
params: [...] (3)
Identifier {...}
- type: "Identifier"
- start: 2886
- end: 2893
loc: {...}
start: {...}
- line: 92
- column: 19
}end: {...}
- line: 92
- column: 26
}
}- name: "offsetX"
} Identifier {...}
- type: "Identifier"
- start: 2895
- end: 2902
loc: {...}
start: {...}
- line: 92
- column: 28
}end: {...}
- line: 92
- column: 35
}
}- name: "offsetY"
} Identifier {...}
- type: "Identifier"
- start: 2904
- end: 2909
loc: {...}
start: {...}
- line: 92
- column: 37
}end: {...}
- line: 92
- column: 42
}
}- name: "piece"
}
]body: BlockStatement {...}
- type: "BlockStatement"
- start: 2911
- end: 3327
loc: {...}
start: {...}
- line: 92
- column: 44
}end: {...}
- line: 104
- column: 3
}
}body: [...] (2)
ForStatement {...}
- type: "ForStatement"
- start: 2917
- end: 3306
loc: {...}
start: {...}
- line: 93
- column: 4
}end: {...}
- line: 102
- column: 5
}
}init: VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 2922
- end: 2931
loc: {...}
start: {...}
- line: 93
- column: 9
}end: {...}
- line: 93
- column: 18
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 2926
- end: 2931
loc: {...}
start: {...}
- line: 93
- column: 13
}end: {...}
- line: 93
- column: 18
}
}id: Identifier {...}
- type: "Identifier"
- start: 2926
- end: 2927
loc: {...}
start: {...}
- line: 93
- column: 13
}end: {...}
- line: 93
- column: 14
}
}- name: "y"
}init: Literal {...}
- type: "Literal"
- start: 2930
- end: 2931
loc: {...}
start: {...}
- line: 93
- column: 17
}end: {...}
- line: 93
- column: 18
}
}- value: 0
- raw: "0"
}
}
]- kind: "let"
}test: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2933
- end: 2949
loc: {...}
start: {...}
- line: 93
- column: 20
}end: {...}
- line: 93
- column: 36
}
}left: Identifier {...}
- type: "Identifier"
- start: 2933
- end: 2934
loc: {...}
start: {...}
- line: 93
- column: 20
}end: {...}
- line: 93
- column: 21
}
}- name: "y"
}- operator: "<"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2937
- end: 2949
loc: {...}
start: {...}
- line: 93
- column: 24
}end: {...}
- line: 93
- column: 36
}
}object: Identifier {...}
- type: "Identifier"
- start: 2937
- end: 2942
loc: {...}
start: {...}
- line: 93
- column: 24
}end: {...}
- line: 93
- column: 29
}
}- name: "piece"
}property: Identifier {...}
- type: "Identifier"
- start: 2943
- end: 2949
loc: {...}
start: {...}
- line: 93
- column: 30
}end: {...}
- line: 93
- column: 36
}
}- name: "length"
}- computed: false
- optional: false
}
}update: UpdateExpression {...}
- type: "UpdateExpression"
- start: 2951
- end: 2954
loc: {...}
start: {...}
- line: 93
- column: 38
}end: {...}
- line: 93
- column: 41
}
}- operator: "++"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 2951
- end: 2952
loc: {...}
start: {...}
- line: 93
- column: 38
}end: {...}
- line: 93
- column: 39
}
}- name: "y"
}
}body: BlockStatement {...}
- type: "BlockStatement"
- start: 2956
- end: 3306
loc: {...}
start: {...}
- line: 93
- column: 43
}end: {...}
- line: 102
- column: 5
}
}body: [...] (1)
ForStatement {...}
- type: "ForStatement"
- start: 2964
- end: 3300
loc: {...}
start: {...}
- line: 94
- column: 6
}end: {...}
- line: 101
- column: 7
}
}init: VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 2969
- end: 2978
loc: {...}
start: {...}
- line: 94
- column: 11
}end: {...}
- line: 94
- column: 20
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 2973
- end: 2978
loc: {...}
start: {...}
- line: 94
- column: 15
}end: {...}
- line: 94
- column: 20
}
}id: Identifier {...}
- type: "Identifier"
- start: 2973
- end: 2974
loc: {...}
start: {...}
- line: 94
- column: 15
}end: {...}
- line: 94
- column: 16
}
}- name: "x"
}init: Literal {...}
- type: "Literal"
- start: 2977
- end: 2978
loc: {...}
start: {...}
- line: 94
- column: 19
}end: {...}
- line: 94
- column: 20
}
}- value: 0
- raw: "0"
}
}
]- kind: "let"
}test: BinaryExpression {...}
- type: "BinaryExpression"
- start: 2980
- end: 2999
loc: {...}
start: {...}
- line: 94
- column: 22
}end: {...}
- line: 94
- column: 41
}
}left: Identifier {...}
- type: "Identifier"
- start: 2980
- end: 2981
loc: {...}
start: {...}
- line: 94
- column: 22
}end: {...}
- line: 94
- column: 23
}
}- name: "x"
}- operator: "<"
right: MemberExpression {...}
- type: "MemberExpression"
- start: 2984
- end: 2999
loc: {...}
start: {...}
- line: 94
- column: 26
}end: {...}
- line: 94
- column: 41
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 2984
- end: 2992
loc: {...}
start: {...}
- line: 94
- column: 26
}end: {...}
- line: 94
- column: 34
}
}object: Identifier {...}
- type: "Identifier"
- start: 2984
- end: 2989
loc: {...}
start: {...}
- line: 94
- column: 26
}end: {...}
- line: 94
- column: 31
}
}- name: "piece"
}property: Identifier {...}
- type: "Identifier"
- start: 2990
- end: 2991
loc: {...}
start: {...}
- line: 94
- column: 32
}end: {...}
- line: 94
- column: 33
}
}- name: "y"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 2993
- end: 2999
loc: {...}
start: {...}
- line: 94
- column: 35
}end: {...}
- line: 94
- column: 41
}
}- name: "length"
}- computed: false
- optional: false
}
}update: UpdateExpression {...}
- type: "UpdateExpression"
- start: 3001
- end: 3004
loc: {...}
start: {...}
- line: 94
- column: 43
}end: {...}
- line: 94
- column: 46
}
}- operator: "++"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 3001
- end: 3002
loc: {...}
start: {...}
- line: 94
- column: 43
}end: {...}
- line: 94
- column: 44
}
}- name: "x"
}
}body: BlockStatement {...}
- type: "BlockStatement"
- start: 3006
- end: 3300
loc: {...}
start: {...}
- line: 94
- column: 48
}end: {...}
- line: 101
- column: 7
}
}body: [...] (6)
IfStatement {...}
- type: "IfStatement"
- start: 3016
- end: 3043
loc: {...}
start: {...}
- line: 95
- column: 8
}end: {...}
- line: 95
- column: 35
}
}test: UnaryExpression {...}
- type: "UnaryExpression"
- start: 3020
- end: 3032
loc: {...}
start: {...}
- line: 95
- column: 12
}end: {...}
- line: 95
- column: 24
}
}- operator: "!"
- prefix: true
argument: MemberExpression {...}
- type: "MemberExpression"
- start: 3021
- end: 3032
loc: {...}
start: {...}
- line: 95
- column: 13
}end: {...}
- line: 95
- column: 24
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 3021
- end: 3029
loc: {...}
start: {...}
- line: 95
- column: 13
}end: {...}
- line: 95
- column: 21
}
}object: Identifier {...}
- type: "Identifier"
- start: 3021
- end: 3026
loc: {...}
start: {...}
- line: 95
- column: 13
}end: {...}
- line: 95
- column: 18
}
}- name: "piece"
}property: Identifier {...}
- type: "Identifier"
- start: 3027
- end: 3028
loc: {...}
start: {...}
- line: 95
- column: 19
}end: {...}
- line: 95
- column: 20
}
}- name: "y"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 3030
- end: 3031
loc: {...}
start: {...}
- line: 95
- column: 22
}end: {...}
- line: 95
- column: 23
}
}- name: "x"
}- computed: true
- optional: false
}
}consequent: ContinueStatement {...}
- type: "ContinueStatement"
- start: 3034
- end: 3043
loc: {...}
start: {...}
- line: 95
- column: 26
}end: {...}
- line: 95
- column: 35
}
}- label: null
}- alternate: null
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 3052
- end: 3088
loc: {...}
start: {...}
- line: 96
- column: 8
}end: {...}
- line: 96
- column: 44
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 3058
- end: 3087
loc: {...}
start: {...}
- line: 96
- column: 14
}end: {...}
- line: 96
- column: 43
}
}id: Identifier {...}
- type: "Identifier"
- start: 3058
- end: 3062
loc: {...}
start: {...}
- line: 96
- column: 14
}end: {...}
- line: 96
- column: 18
}
}- name: "newX"
}init: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3065
- end: 3087
loc: {...}
start: {...}
- line: 96
- column: 21
}end: {...}
- line: 96
- column: 43
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3065
- end: 3077
loc: {...}
start: {...}
- line: 96
- column: 21
}end: {...}
- line: 96
- column: 33
}
}left: Identifier {...}
- type: "Identifier"
- start: 3065
- end: 3073
loc: {...}
start: {...}
- line: 96
- column: 21
}end: {...}
- line: 96
- column: 29
}
}- name: "currentX"
}- operator: "+"
right: Identifier {...}
- type: "Identifier"
- start: 3076
- end: 3077
loc: {...}
start: {...}
- line: 96
- column: 32
}end: {...}
- line: 96
- column: 33
}
}- name: "x"
}
}- operator: "+"
right: Identifier {...}
- type: "Identifier"
- start: 3080
- end: 3087
loc: {...}
start: {...}
- line: 96
- column: 36
}end: {...}
- line: 96
- column: 43
}
}- name: "offsetX"
}
}
}
]- kind: "const"
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 3097
- end: 3133
loc: {...}
start: {...}
- line: 97
- column: 8
}end: {...}
- line: 97
- column: 44
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 3103
- end: 3132
loc: {...}
start: {...}
- line: 97
- column: 14
}end: {...}
- line: 97
- column: 43
}
}id: Identifier {...}
- type: "Identifier"
- start: 3103
- end: 3107
loc: {...}
start: {...}
- line: 97
- column: 14
}end: {...}
- line: 97
- column: 18
}
}- name: "newY"
}init: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3110
- end: 3132
loc: {...}
start: {...}
- line: 97
- column: 21
}end: {...}
- line: 97
- column: 43
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3110
- end: 3122
loc: {...}
start: {...}
- line: 97
- column: 21
}end: {...}
- line: 97
- column: 33
}
}left: Identifier {...}
- type: "Identifier"
- start: 3110
- end: 3118
loc: {...}
start: {...}
- line: 97
- column: 21
}end: {...}
- line: 97
- column: 29
}
}- name: "currentY"
}- operator: "+"
right: Identifier {...}
- type: "Identifier"
- start: 3121
- end: 3122
loc: {...}
start: {...}
- line: 97
- column: 32
}end: {...}
- line: 97
- column: 33
}
}- name: "y"
}
}- operator: "+"
right: Identifier {...}
- type: "Identifier"
- start: 3125
- end: 3132
loc: {...}
start: {...}
- line: 97
- column: 36
}end: {...}
- line: 97
- column: 43
}
}- name: "offsetY"
}
}
}
]- kind: "const"
} IfStatement {...}
- type: "IfStatement"
- start: 3142
- end: 3215
loc: {...}
start: {...}
- line: 98
- column: 8
}end: {...}
- line: 98
- column: 81
}
}test: LogicalExpression {...}
- type: "LogicalExpression"
- start: 3146
- end: 3200
loc: {...}
start: {...}
- line: 98
- column: 12
}end: {...}
- line: 98
- column: 66
}
}left: LogicalExpression {...}
- type: "LogicalExpression"
- start: 3146
- end: 3177
loc: {...}
start: {...}
- line: 98
- column: 12
}end: {...}
- line: 98
- column: 43
}
}left: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3146
- end: 3154
loc: {...}
start: {...}
- line: 98
- column: 12
}end: {...}
- line: 98
- column: 20
}
}left: Identifier {...}
- type: "Identifier"
- start: 3146
- end: 3150
loc: {...}
start: {...}
- line: 98
- column: 12
}end: {...}
- line: 98
- column: 16
}
}- name: "newX"
}- operator: "<"
right: Literal {...}
- type: "Literal"
- start: 3153
- end: 3154
loc: {...}
start: {...}
- line: 98
- column: 19
}end: {...}
- line: 98
- column: 20
}
}- value: 0
- raw: "0"
}
}- operator: "||"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3158
- end: 3177
loc: {...}
start: {...}
- line: 98
- column: 24
}end: {...}
- line: 98
- column: 43
}
}left: Identifier {...}
- type: "Identifier"
- start: 3158
- end: 3162
loc: {...}
start: {...}
- line: 98
- column: 24
}end: {...}
- line: 98
- column: 28
}
}- name: "newX"
}- operator: ">="
right: MemberExpression {...}
- type: "MemberExpression"
- start: 3166
- end: 3177
loc: {...}
start: {...}
- line: 98
- column: 32
}end: {...}
- line: 98
- column: 43
}
}object: Identifier {...}
- type: "Identifier"
- start: 3166
- end: 3172
loc: {...}
start: {...}
- line: 98
- column: 32
}end: {...}
- line: 98
- column: 38
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 3173
- end: 3177
loc: {...}
start: {...}
- line: 98
- column: 39
}end: {...}
- line: 98
- column: 43
}
}- name: "COLS"
}- computed: false
- optional: false
}
}
}- operator: "||"
right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3181
- end: 3200
loc: {...}
start: {...}
- line: 98
- column: 47
}end: {...}
- line: 98
- column: 66
}
}left: Identifier {...}
- type: "Identifier"
- start: 3181
- end: 3185
loc: {...}
start: {...}
- line: 98
- column: 47
}end: {...}
- line: 98
- column: 51
}
}- name: "newY"
}- operator: ">="
right: MemberExpression {...}
- type: "MemberExpression"
- start: 3189
- end: 3200
loc: {...}
start: {...}
- line: 98
- column: 55
}end: {...}
- line: 98
- column: 66
}
}object: Identifier {...}
- type: "Identifier"
- start: 3189
- end: 3195
loc: {...}
start: {...}
- line: 98
- column: 55
}end: {...}
- line: 98
- column: 61
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 3196
- end: 3200
loc: {...}
start: {...}
- line: 98
- column: 62
}end: {...}
- line: 98
- column: 66
}
}- name: "ROWS"
}- computed: false
- optional: false
}
}
}consequent: ReturnStatement {...}
- type: "ReturnStatement"
- start: 3202
- end: 3215
loc: {...}
start: {...}
- line: 98
- column: 68
}end: {...}
- line: 98
- column: 81
}
}argument: Literal {...}
- type: "Literal"
- start: 3209
- end: 3214
loc: {...}
start: {...}
- line: 98
- column: 75
}end: {...}
- line: 98
- column: 80
}
}- value: false
- raw: "false"
}
}- alternate: null
} IfStatement {...}
- type: "IfStatement"
- start: 3224
- end: 3247
loc: {...}
start: {...}
- line: 99
- column: 8
}end: {...}
- line: 99
- column: 31
}
}test: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3228
- end: 3236
loc: {...}
start: {...}
- line: 99
- column: 12
}end: {...}
- line: 99
- column: 20
}
}left: Identifier {...}
- type: "Identifier"
- start: 3228
- end: 3232
loc: {...}
start: {...}
- line: 99
- column: 12
}end: {...}
- line: 99
- column: 16
}
}- name: "newY"
}- operator: "<"
right: Literal {...}
- type: "Literal"
- start: 3235
- end: 3236
loc: {...}
start: {...}
- line: 99
- column: 19
}end: {...}
- line: 99
- column: 20
}
}- value: 0
- raw: "0"
}
}consequent: ContinueStatement {...}
- type: "ContinueStatement"
- start: 3238
- end: 3247
loc: {...}
start: {...}
- line: 99
- column: 22
}end: {...}
- line: 99
- column: 31
}
}- label: null
}- alternate: null
} IfStatement {...}
- type: "IfStatement"
- start: 3256
- end: 3292
loc: {...}
start: {...}
- line: 100
- column: 8
}end: {...}
- line: 100
- column: 44
}
}test: MemberExpression {...}
- type: "MemberExpression"
- start: 3260
- end: 3277
loc: {...}
start: {...}
- line: 100
- column: 12
}end: {...}
- line: 100
- column: 29
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 3260
- end: 3271
loc: {...}
start: {...}
- line: 100
- column: 12
}end: {...}
- line: 100
- column: 23
}
}object: Identifier {...}
- type: "Identifier"
- start: 3260
- end: 3265
loc: {...}
start: {...}
- line: 100
- column: 12
}end: {...}
- line: 100
- column: 17
}
}- name: "board"
}property: Identifier {...}
- type: "Identifier"
- start: 3266
- end: 3270
loc: {...}
start: {...}
- line: 100
- column: 18
}end: {...}
- line: 100
- column: 22
}
}- name: "newY"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 3272
- end: 3276
loc: {...}
start: {...}
- line: 100
- column: 24
}end: {...}
- line: 100
- column: 28
}
}- name: "newX"
}- computed: true
- optional: false
}consequent: ReturnStatement {...}
- type: "ReturnStatement"
- start: 3279
- end: 3292
loc: {...}
start: {...}
- line: 100
- column: 31
}end: {...}
- line: 100
- column: 44
}
}argument: Literal {...}
- type: "Literal"
- start: 3286
- end: 3291
loc: {...}
start: {...}
- line: 100
- column: 38
}end: {...}
- line: 100
- column: 43
}
}- value: false
- raw: "false"
}
}- alternate: null
}
]
}
}
]
}
} ReturnStatement {...}
- type: "ReturnStatement"
- start: 3311
- end: 3323
loc: {...}
start: {...}
- line: 103
- column: 4
}end: {...}
- line: 103
- column: 16
}
}argument: Literal {...}
- type: "Literal"
- start: 3318
- end: 3322
loc: {...}
start: {...}
- line: 103
- column: 11
}end: {...}
- line: 103
- column: 15
}
}- value: true
- raw: "true"
}
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 3331
- end: 3562
loc: {...}
start: {...}
- line: 106
- column: 2
}end: {...}
- line: 115
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 3340
- end: 3345
loc: {...}
start: {...}
- line: 106
- column: 11
}end: {...}
- line: 106
- column: 16
}
}- name: "merge"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 3348
- end: 3562
loc: {...}
start: {...}
- line: 106
- column: 19
}end: {...}
- line: 115
- column: 3
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3354
- end: 3534
loc: {...}
start: {...}
- line: 107
- column: 4
}end: {...}
- line: 113
- column: 7
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 3354
- end: 3533
loc: {...}
start: {...}
- line: 107
- column: 4
}end: {...}
- line: 113
- column: 6
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 3354
- end: 3374
loc: {...}
start: {...}
- line: 107
- column: 4
}end: {...}
- line: 107
- column: 24
}
}object: Identifier {...}
- type: "Identifier"
- start: 3354
- end: 3366
loc: {...}
start: {...}
- line: 107
- column: 4
}end: {...}
- line: 107
- column: 16
}
}- name: "currentPiece"
}property: Identifier {...}
- type: "Identifier"
- start: 3367
- end: 3374
loc: {...}
start: {...}
- line: 107
- column: 17
}end: {...}
- line: 107
- column: 24
}
}- name: "forEach"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 3375
- end: 3532
loc: {...}
start: {...}
- line: 107
- column: 25
}end: {...}
- line: 113
- column: 5
}
}- id: null
- expression: false
- generator: false
- async: false
params: [...] (2)
Identifier {...}
- type: "Identifier"
- start: 3376
- end: 3379
loc: {...}
start: {...}
- line: 107
- column: 26
}end: {...}
- line: 107
- column: 29
}
}- name: "row"
} Identifier {...}
- type: "Identifier"
- start: 3381
- end: 3382
loc: {...}
start: {...}
- line: 107
- column: 31
}end: {...}
- line: 107
- column: 32
}
}- name: "y"
}
]body: BlockStatement {...}
- type: "BlockStatement"
- start: 3387
- end: 3532
loc: {...}
start: {...}
- line: 107
- column: 37
}end: {...}
- line: 113
- column: 5
}
}body: [...] (1)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3395
- end: 3526
loc: {...}
start: {...}
- line: 108
- column: 6
}end: {...}
- line: 112
- column: 9
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 3395
- end: 3525
loc: {...}
start: {...}
- line: 108
- column: 6
}end: {...}
- line: 112
- column: 8
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 3395
- end: 3406
loc: {...}
start: {...}
- line: 108
- column: 6
}end: {...}
- line: 108
- column: 17
}
}object: Identifier {...}
- type: "Identifier"
- start: 3395
- end: 3398
loc: {...}
start: {...}
- line: 108
- column: 6
}end: {...}
- line: 108
- column: 9
}
}- name: "row"
}property: Identifier {...}
- type: "Identifier"
- start: 3399
- end: 3406
loc: {...}
start: {...}
- line: 108
- column: 10
}end: {...}
- line: 108
- column: 17
}
}- name: "forEach"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 3407
- end: 3524
loc: {...}
start: {...}
- line: 108
- column: 18
}end: {...}
- line: 112
- column: 7
}
}- id: null
- expression: false
- generator: false
- async: false
params: [...] (2)
Identifier {...}
- type: "Identifier"
- start: 3408
- end: 3413
loc: {...}
start: {...}
- line: 108
- column: 19
}end: {...}
- line: 108
- column: 24
}
}- name: "value"
} Identifier {...}
- type: "Identifier"
- start: 3415
- end: 3416
loc: {...}
start: {...}
- line: 108
- column: 26
}end: {...}
- line: 108
- column: 27
}
}- name: "x"
}
]body: BlockStatement {...}
- type: "BlockStatement"
- start: 3421
- end: 3524
loc: {...}
start: {...}
- line: 108
- column: 32
}end: {...}
- line: 112
- column: 7
}
}body: [...] (1)
IfStatement {...}
- type: "IfStatement"
- start: 3431
- end: 3516
loc: {...}
start: {...}
- line: 109
- column: 8
}end: {...}
- line: 111
- column: 9
}
}test: Identifier {...}
- type: "Identifier"
- start: 3435
- end: 3440
loc: {...}
start: {...}
- line: 109
- column: 12
}end: {...}
- line: 109
- column: 17
}
}- name: "value"
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 3442
- end: 3516
loc: {...}
start: {...}
- line: 109
- column: 19
}end: {...}
- line: 111
- column: 9
}
}body: [...] (1)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3454
- end: 3506
loc: {...}
start: {...}
- line: 110
- column: 10
}end: {...}
- line: 110
- column: 62
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 3454
- end: 3505
loc: {...}
start: {...}
- line: 110
- column: 10
}end: {...}
- line: 110
- column: 61
}
}- operator: "="
left: MemberExpression {...}
- type: "MemberExpression"
- start: 3454
- end: 3487
loc: {...}
start: {...}
- line: 110
- column: 10
}end: {...}
- line: 110
- column: 43
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 3454
- end: 3473
loc: {...}
start: {...}
- line: 110
- column: 10
}end: {...}
- line: 110
- column: 29
}
}object: Identifier {...}
- type: "Identifier"
- start: 3454
- end: 3459
loc: {...}
start: {...}
- line: 110
- column: 10
}end: {...}
- line: 110
- column: 15
}
}- name: "board"
}property: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3460
- end: 3472
loc: {...}
start: {...}
- line: 110
- column: 16
}end: {...}
- line: 110
- column: 28
}
}left: Identifier {...}
- type: "Identifier"
- start: 3460
- end: 3468
loc: {...}
start: {...}
- line: 110
- column: 16
}end: {...}
- line: 110
- column: 24
}
}- name: "currentY"
}- operator: "+"
right: Identifier {...}
- type: "Identifier"
- start: 3471
- end: 3472
loc: {...}
start: {...}
- line: 110
- column: 27
}end: {...}
- line: 110
- column: 28
}
}- name: "y"
}
}- computed: true
- optional: false
}property: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3474
- end: 3486
loc: {...}
start: {...}
- line: 110
- column: 30
}end: {...}
- line: 110
- column: 42
}
}left: Identifier {...}
- type: "Identifier"
- start: 3474
- end: 3482
loc: {...}
start: {...}
- line: 110
- column: 30
}end: {...}
- line: 110
- column: 38
}
}- name: "currentX"
}- operator: "+"
right: Identifier {...}
- type: "Identifier"
- start: 3485
- end: 3486
loc: {...}
start: {...}
- line: 110
- column: 41
}end: {...}
- line: 110
- column: 42
}
}- name: "x"
}
}- computed: true
- optional: false
}right: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3490
- end: 3505
loc: {...}
start: {...}
- line: 110
- column: 46
}end: {...}
- line: 110
- column: 61
}
}left: Identifier {...}
- type: "Identifier"
- start: 3490
- end: 3501
loc: {...}
start: {...}
- line: 110
- column: 46
}end: {...}
- line: 110
- column: 57
}
}- name: "currentType"
}- operator: "+"
right: Literal {...}
- type: "Literal"
- start: 3504
- end: 3505
loc: {...}
start: {...}
- line: 110
- column: 60
}end: {...}
- line: 110
- column: 61
}
}- value: 1
- raw: "1"
}
}
}
}
]
}- alternate: null
}
]
}
}
]- optional: false
}
}
]
}
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3539
- end: 3558
loc: {...}
start: {...}
- line: 114
- column: 4
}end: {...}
- line: 114
- column: 23
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 3539
- end: 3557
loc: {...}
start: {...}
- line: 114
- column: 4
}end: {...}
- line: 114
- column: 22
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 3539
- end: 3544
loc: {...}
start: {...}
- line: 114
- column: 4
}end: {...}
- line: 114
- column: 9
}
}- name: "board"
}right: ArrayExpression {...}
- type: "ArrayExpression"
- start: 3547
- end: 3557
loc: {...}
start: {...}
- line: 114
- column: 12
}end: {...}
- line: 114
- column: 22
}
}elements: [...] (1)
SpreadElement {...}
- type: "SpreadElement"
- start: 3548
- end: 3556
loc: {...}
start: {...}
- line: 114
- column: 13
}end: {...}
- line: 114
- column: 21
}
}argument: Identifier {...}
- type: "Identifier"
- start: 3551
- end: 3556
loc: {...}
start: {...}
- line: 114
- column: 16
}end: {...}
- line: 114
- column: 21
}
}- name: "board"
}
}
]
}
}
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 3566
- end: 3960
loc: {...}
start: {...}
- line: 117
- column: 2
}end: {...}
- line: 131
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 3575
- end: 3585
loc: {...}
start: {...}
- line: 117
- column: 11
}end: {...}
- line: 117
- column: 21
}
}- name: "clearLines"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 3588
- end: 3960
loc: {...}
start: {...}
- line: 117
- column: 24
}end: {...}
- line: 131
- column: 3
}
}body: [...] (3)
VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 3594
- end: 3615
loc: {...}
start: {...}
- line: 118
- column: 4
}end: {...}
- line: 118
- column: 25
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 3598
- end: 3614
loc: {...}
start: {...}
- line: 118
- column: 8
}end: {...}
- line: 118
- column: 24
}
}id: Identifier {...}
- type: "Identifier"
- start: 3598
- end: 3610
loc: {...}
start: {...}
- line: 118
- column: 8
}end: {...}
- line: 118
- column: 20
}
}- name: "linesCleared"
}init: Literal {...}
- type: "Literal"
- start: 3613
- end: 3614
loc: {...}
start: {...}
- line: 118
- column: 23
}end: {...}
- line: 118
- column: 24
}
}- value: 0
- raw: "0"
}
}
]- kind: "let"
} ForStatement {...}
- type: "ForStatement"
- start: 3620
- end: 3842
loc: {...}
start: {...}
- line: 119
- column: 4
}end: {...}
- line: 126
- column: 5
}
}init: VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 3625
- end: 3648
loc: {...}
start: {...}
- line: 119
- column: 9
}end: {...}
- line: 119
- column: 32
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 3629
- end: 3648
loc: {...}
start: {...}
- line: 119
- column: 13
}end: {...}
- line: 119
- column: 32
}
}id: Identifier {...}
- type: "Identifier"
- start: 3629
- end: 3630
loc: {...}
start: {...}
- line: 119
- column: 13
}end: {...}
- line: 119
- column: 14
}
}- name: "y"
}init: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3633
- end: 3648
loc: {...}
start: {...}
- line: 119
- column: 17
}end: {...}
- line: 119
- column: 32
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 3633
- end: 3644
loc: {...}
start: {...}
- line: 119
- column: 17
}end: {...}
- line: 119
- column: 28
}
}object: Identifier {...}
- type: "Identifier"
- start: 3633
- end: 3639
loc: {...}
start: {...}
- line: 119
- column: 17
}end: {...}
- line: 119
- column: 23
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 3640
- end: 3644
loc: {...}
start: {...}
- line: 119
- column: 24
}end: {...}
- line: 119
- column: 28
}
}- name: "ROWS"
}- computed: false
- optional: false
}- operator: "-"
right: Literal {...}
- type: "Literal"
- start: 3647
- end: 3648
loc: {...}
start: {...}
- line: 119
- column: 31
}end: {...}
- line: 119
- column: 32
}
}- value: 1
- raw: "1"
}
}
}
]- kind: "let"
}test: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3650
- end: 3656
loc: {...}
start: {...}
- line: 119
- column: 34
}end: {...}
- line: 119
- column: 40
}
}left: Identifier {...}
- type: "Identifier"
- start: 3650
- end: 3651
loc: {...}
start: {...}
- line: 119
- column: 34
}end: {...}
- line: 119
- column: 35
}
}- name: "y"
}- operator: ">="
right: Literal {...}
- type: "Literal"
- start: 3655
- end: 3656
loc: {...}
start: {...}
- line: 119
- column: 39
}end: {...}
- line: 119
- column: 40
}
}- value: 0
- raw: "0"
}
}update: UpdateExpression {...}
- type: "UpdateExpression"
- start: 3658
- end: 3661
loc: {...}
start: {...}
- line: 119
- column: 42
}end: {...}
- line: 119
- column: 45
}
}- operator: "--"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 3658
- end: 3659
loc: {...}
start: {...}
- line: 119
- column: 42
}end: {...}
- line: 119
- column: 43
}
}- name: "y"
}
}body: BlockStatement {...}
- type: "BlockStatement"
- start: 3663
- end: 3842
loc: {...}
start: {...}
- line: 119
- column: 47
}end: {...}
- line: 126
- column: 5
}
}body: [...] (1)
IfStatement {...}
- type: "IfStatement"
- start: 3671
- end: 3836
loc: {...}
start: {...}
- line: 120
- column: 6
}end: {...}
- line: 125
- column: 7
}
}test: CallExpression {...}
- type: "CallExpression"
- start: 3675
- end: 3709
loc: {...}
start: {...}
- line: 120
- column: 10
}end: {...}
- line: 120
- column: 44
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 3675
- end: 3689
loc: {...}
start: {...}
- line: 120
- column: 10
}end: {...}
- line: 120
- column: 24
}
}object: MemberExpression {...}
- type: "MemberExpression"
- start: 3675
- end: 3683
loc: {...}
start: {...}
- line: 120
- column: 10
}end: {...}
- line: 120
- column: 18
}
}object: Identifier {...}
- type: "Identifier"
- start: 3675
- end: 3680
loc: {...}
start: {...}
- line: 120
- column: 10
}end: {...}
- line: 120
- column: 15
}
}- name: "board"
}property: Identifier {...}
- type: "Identifier"
- start: 3681
- end: 3682
loc: {...}
start: {...}
- line: 120
- column: 16
}end: {...}
- line: 120
- column: 17
}
}- name: "y"
}- computed: true
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 3684
- end: 3689
loc: {...}
start: {...}
- line: 120
- column: 19
}end: {...}
- line: 120
- column: 24
}
}- name: "every"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 3690
- end: 3708
loc: {...}
start: {...}
- line: 120
- column: 25
}end: {...}
- line: 120
- column: 43
}
}- id: null
- expression: true
- generator: false
- async: false
params: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 3690
- end: 3694
loc: {...}
start: {...}
- line: 120
- column: 25
}end: {...}
- line: 120
- column: 29
}
}- name: "cell"
}
]body: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3698
- end: 3708
loc: {...}
start: {...}
- line: 120
- column: 33
}end: {...}
- line: 120
- column: 43
}
}left: Identifier {...}
- type: "Identifier"
- start: 3698
- end: 3702
loc: {...}
start: {...}
- line: 120
- column: 33
}end: {...}
- line: 120
- column: 37
}
}- name: "cell"
}- operator: "!=="
right: Literal {...}
- type: "Literal"
- start: 3707
- end: 3708
loc: {...}
start: {...}
- line: 120
- column: 42
}end: {...}
- line: 120
- column: 43
}
}- value: 0
- raw: "0"
}
}
}
]- optional: false
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 3711
- end: 3836
loc: {...}
start: {...}
- line: 120
- column: 46
}end: {...}
- line: 125
- column: 7
}
}body: [...] (4)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3721
- end: 3740
loc: {...}
start: {...}
- line: 121
- column: 8
}end: {...}
- line: 121
- column: 27
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 3721
- end: 3739
loc: {...}
start: {...}
- line: 121
- column: 8
}end: {...}
- line: 121
- column: 26
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 3721
- end: 3733
loc: {...}
start: {...}
- line: 121
- column: 8
}end: {...}
- line: 121
- column: 20
}
}object: Identifier {...}
- type: "Identifier"
- start: 3721
- end: 3726
loc: {...}
start: {...}
- line: 121
- column: 8
}end: {...}
- line: 121
- column: 13
}
}- name: "board"
}property: Identifier {...}
- type: "Identifier"
- start: 3727
- end: 3733
loc: {...}
start: {...}
- line: 121
- column: 14
}end: {...}
- line: 121
- column: 20
}
}- name: "splice"
}- computed: false
- optional: false
}arguments: [...] (2)
Identifier {...}
- type: "Identifier"
- start: 3734
- end: 3735
loc: {...}
start: {...}
- line: 121
- column: 21
}end: {...}
- line: 121
- column: 22
}
}- name: "y"
} Literal {...}
- type: "Literal"
- start: 3737
- end: 3738
loc: {...}
start: {...}
- line: 121
- column: 24
}end: {...}
- line: 121
- column: 25
}
}- value: 1
- raw: "1"
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3749
- end: 3791
loc: {...}
start: {...}
- line: 122
- column: 8
}end: {...}
- line: 122
- column: 50
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 3749
- end: 3790
loc: {...}
start: {...}
- line: 122
- column: 8
}end: {...}
- line: 122
- column: 49
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 3749
- end: 3762
loc: {...}
start: {...}
- line: 122
- column: 8
}end: {...}
- line: 122
- column: 21
}
}object: Identifier {...}
- type: "Identifier"
- start: 3749
- end: 3754
loc: {...}
start: {...}
- line: 122
- column: 8
}end: {...}
- line: 122
- column: 13
}
}- name: "board"
}property: Identifier {...}
- type: "Identifier"
- start: 3755
- end: 3762
loc: {...}
start: {...}
- line: 122
- column: 14
}end: {...}
- line: 122
- column: 21
}
}- name: "unshift"
}- computed: false
- optional: false
}arguments: [...] (1)
CallExpression {...}
- type: "CallExpression"
- start: 3763
- end: 3789
loc: {...}
start: {...}
- line: 122
- column: 22
}end: {...}
- line: 122
- column: 48
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 3763
- end: 3786
loc: {...}
start: {...}
- line: 122
- column: 22
}end: {...}
- line: 122
- column: 45
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 3763
- end: 3781
loc: {...}
start: {...}
- line: 122
- column: 22
}end: {...}
- line: 122
- column: 40
}
}callee: Identifier {...}
- type: "Identifier"
- start: 3763
- end: 3768
loc: {...}
start: {...}
- line: 122
- column: 22
}end: {...}
- line: 122
- column: 27
}
}- name: "Array"
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 3769
- end: 3780
loc: {...}
start: {...}
- line: 122
- column: 28
}end: {...}
- line: 122
- column: 39
}
}object: Identifier {...}
- type: "Identifier"
- start: 3769
- end: 3775
loc: {...}
start: {...}
- line: 122
- column: 28
}end: {...}
- line: 122
- column: 34
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 3776
- end: 3780
loc: {...}
start: {...}
- line: 122
- column: 35
}end: {...}
- line: 122
- column: 39
}
}- name: "COLS"
}- computed: false
- optional: false
}
]- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 3782
- end: 3786
loc: {...}
start: {...}
- line: 122
- column: 41
}end: {...}
- line: 122
- column: 45
}
}- name: "fill"
}- computed: false
- optional: false
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 3787
- end: 3788
loc: {...}
start: {...}
- line: 122
- column: 46
}end: {...}
- line: 122
- column: 47
}
}- value: 0
- raw: "0"
}
]- optional: false
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3800
- end: 3815
loc: {...}
start: {...}
- line: 123
- column: 8
}end: {...}
- line: 123
- column: 23
}
}expression: UpdateExpression {...}
- type: "UpdateExpression"
- start: 3800
- end: 3814
loc: {...}
start: {...}
- line: 123
- column: 8
}end: {...}
- line: 123
- column: 22
}
}- operator: "++"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 3800
- end: 3812
loc: {...}
start: {...}
- line: 123
- column: 8
}end: {...}
- line: 123
- column: 20
}
}- name: "linesCleared"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3824
- end: 3828
loc: {...}
start: {...}
- line: 124
- column: 8
}end: {...}
- line: 124
- column: 12
}
}expression: UpdateExpression {...}
- type: "UpdateExpression"
- start: 3824
- end: 3827
loc: {...}
start: {...}
- line: 124
- column: 8
}end: {...}
- line: 124
- column: 11
}
}- operator: "++"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 3824
- end: 3825
loc: {...}
start: {...}
- line: 124
- column: 8
}end: {...}
- line: 124
- column: 9
}
}- name: "y"
}
}
}
]
}- alternate: null
}
]
}
} IfStatement {...}
- type: "IfStatement"
- start: 3847
- end: 3956
loc: {...}
start: {...}
- line: 127
- column: 4
}end: {...}
- line: 130
- column: 5
}
}test: BinaryExpression {...}
- type: "BinaryExpression"
- start: 3851
- end: 3867
loc: {...}
start: {...}
- line: 127
- column: 8
}end: {...}
- line: 127
- column: 24
}
}left: Identifier {...}
- type: "Identifier"
- start: 3851
- end: 3863
loc: {...}
start: {...}
- line: 127
- column: 8
}end: {...}
- line: 127
- column: 20
}
}- name: "linesCleared"
}- operator: ">"
right: Literal {...}
- type: "Literal"
- start: 3866
- end: 3867
loc: {...}
start: {...}
- line: 127
- column: 23
}end: {...}
- line: 127
- column: 24
}
}- value: 0
- raw: "0"
}
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 3869
- end: 3956
loc: {...}
start: {...}
- line: 127
- column: 26
}end: {...}
- line: 130
- column: 5
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3877
- end: 3924
loc: {...}
start: {...}
- line: 128
- column: 6
}end: {...}
- line: 128
- column: 53
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 3877
- end: 3923
loc: {...}
start: {...}
- line: 128
- column: 6
}end: {...}
- line: 128
- column: 52
}
}- operator: "+="
left: Identifier {...}
- type: "Identifier"
- start: 3877
- end: 3882
loc: {...}
start: {...}
- line: 128
- column: 6
}end: {...}
- line: 128
- column: 11
}
}- name: "score"
}right: MemberExpression {...}
- type: "MemberExpression"
- start: 3886
- end: 3923
loc: {...}
start: {...}
- line: 128
- column: 15
}end: {...}
- line: 128
- column: 52
}
}object: ArrayExpression {...}
- type: "ArrayExpression"
- start: 3886
- end: 3909
loc: {...}
start: {...}
- line: 128
- column: 15
}end: {...}
- line: 128
- column: 38
}
}elements: [...] (5)
Literal {...}
- type: "Literal"
- start: 3887
- end: 3888
loc: {...}
start: {...}
- line: 128
- column: 16
}end: {...}
- line: 128
- column: 17
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 3890
- end: 3893
loc: {...}
start: {...}
- line: 128
- column: 19
}end: {...}
- line: 128
- column: 22
}
}- value: 100
- raw: "100"
} Literal {...}
- type: "Literal"
- start: 3895
- end: 3898
loc: {...}
start: {...}
- line: 128
- column: 24
}end: {...}
- line: 128
- column: 27
}
}- value: 300
- raw: "300"
} Literal {...}
- type: "Literal"
- start: 3900
- end: 3903
loc: {...}
start: {...}
- line: 128
- column: 29
}end: {...}
- line: 128
- column: 32
}
}- value: 500
- raw: "500"
} Literal {...}
- type: "Literal"
- start: 3905
- end: 3908
loc: {...}
start: {...}
- line: 128
- column: 34
}end: {...}
- line: 128
- column: 37
}
}- value: 800
- raw: "800"
}
]
}property: Identifier {...}
- type: "Identifier"
- start: 3910
- end: 3922
loc: {...}
start: {...}
- line: 128
- column: 39
}end: {...}
- line: 128
- column: 51
}
}- name: "linesCleared"
}- computed: true
- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 3931
- end: 3950
loc: {...}
start: {...}
- line: 129
- column: 6
}end: {...}
- line: 129
- column: 25
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 3931
- end: 3949
loc: {...}
start: {...}
- line: 129
- column: 6
}end: {...}
- line: 129
- column: 24
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 3931
- end: 3936
loc: {...}
start: {...}
- line: 129
- column: 6
}end: {...}
- line: 129
- column: 11
}
}- name: "board"
}right: ArrayExpression {...}
- type: "ArrayExpression"
- start: 3939
- end: 3949
loc: {...}
start: {...}
- line: 129
- column: 14
}end: {...}
- line: 129
- column: 24
}
}elements: [...] (1)
SpreadElement {...}
- type: "SpreadElement"
- start: 3940
- end: 3948
loc: {...}
start: {...}
- line: 129
- column: 15
}end: {...}
- line: 129
- column: 23
}
}argument: Identifier {...}
- type: "Identifier"
- start: 3943
- end: 3948
loc: {...}
start: {...}
- line: 129
- column: 18
}end: {...}
- line: 129
- column: 23
}
}- name: "board"
}
}
]
}
}
}
]
}- alternate: null
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 3964
- end: 4141
loc: {...}
start: {...}
- line: 133
- column: 2
}end: {...}
- line: 142
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 3973
- end: 3977
loc: {...}
start: {...}
- line: 133
- column: 11
}end: {...}
- line: 133
- column: 15
}
}- name: "drop"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 3980
- end: 4141
loc: {...}
start: {...}
- line: 133
- column: 18
}end: {...}
- line: 142
- column: 3
}
}body: [...] (2)
IfStatement {...}
- type: "IfStatement"
- start: 3986
- end: 4007
loc: {...}
start: {...}
- line: 134
- column: 4
}end: {...}
- line: 134
- column: 25
}
}test: UnaryExpression {...}
- type: "UnaryExpression"
- start: 3990
- end: 3998
loc: {...}
start: {...}
- line: 134
- column: 8
}end: {...}
- line: 134
- column: 16
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 3991
- end: 3998
loc: {...}
start: {...}
- line: 134
- column: 9
}end: {...}
- line: 134
- column: 16
}
}- name: "canMove"
}
}consequent: ReturnStatement {...}
- type: "ReturnStatement"
- start: 4000
- end: 4007
loc: {...}
start: {...}
- line: 134
- column: 18
}end: {...}
- line: 134
- column: 25
}
}- argument: null
}- alternate: null
} IfStatement {...}
- type: "IfStatement"
- start: 4012
- end: 4137
loc: {...}
start: {...}
- line: 135
- column: 4
}end: {...}
- line: 141
- column: 5
}
}test: UnaryExpression {...}
- type: "UnaryExpression"
- start: 4016
- end: 4044
loc: {...}
start: {...}
- line: 135
- column: 8
}end: {...}
- line: 135
- column: 36
}
}- operator: "!"
- prefix: true
argument: CallExpression {...}
- type: "CallExpression"
- start: 4017
- end: 4044
loc: {...}
start: {...}
- line: 135
- column: 9
}end: {...}
- line: 135
- column: 36
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4017
- end: 4024
loc: {...}
start: {...}
- line: 135
- column: 9
}end: {...}
- line: 135
- column: 16
}
}- name: "isValid"
}arguments: [...] (3)
Literal {...}
- type: "Literal"
- start: 4025
- end: 4026
loc: {...}
start: {...}
- line: 135
- column: 17
}end: {...}
- line: 135
- column: 18
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 4028
- end: 4029
loc: {...}
start: {...}
- line: 135
- column: 20
}end: {...}
- line: 135
- column: 21
}
}- value: 1
- raw: "1"
} Identifier {...}
- type: "Identifier"
- start: 4031
- end: 4043
loc: {...}
start: {...}
- line: 135
- column: 23
}end: {...}
- line: 135
- column: 35
}
}- name: "currentPiece"
}
]- optional: false
}
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 4046
- end: 4106
loc: {...}
start: {...}
- line: 135
- column: 38
}end: {...}
- line: 139
- column: 5
}
}body: [...] (3)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4054
- end: 4062
loc: {...}
start: {...}
- line: 136
- column: 6
}end: {...}
- line: 136
- column: 14
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4054
- end: 4061
loc: {...}
start: {...}
- line: 136
- column: 6
}end: {...}
- line: 136
- column: 13
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4054
- end: 4059
loc: {...}
start: {...}
- line: 136
- column: 6
}end: {...}
- line: 136
- column: 11
}
}- name: "merge"
}- arguments: []
- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4069
- end: 4082
loc: {...}
start: {...}
- line: 137
- column: 6
}end: {...}
- line: 137
- column: 19
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4069
- end: 4081
loc: {...}
start: {...}
- line: 137
- column: 6
}end: {...}
- line: 137
- column: 18
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4069
- end: 4079
loc: {...}
start: {...}
- line: 137
- column: 6
}end: {...}
- line: 137
- column: 16
}
}- name: "clearLines"
}- arguments: []
- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4089
- end: 4100
loc: {...}
start: {...}
- line: 138
- column: 6
}end: {...}
- line: 138
- column: 17
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4089
- end: 4099
loc: {...}
start: {...}
- line: 138
- column: 6
}end: {...}
- line: 138
- column: 16
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4089
- end: 4097
loc: {...}
start: {...}
- line: 138
- column: 6
}end: {...}
- line: 138
- column: 14
}
}- name: "newPiece"
}- arguments: []
- optional: false
}
}
]
}alternate: BlockStatement {...}
- type: "BlockStatement"
- start: 4112
- end: 4137
loc: {...}
start: {...}
- line: 139
- column: 11
}end: {...}
- line: 141
- column: 5
}
}body: [...] (1)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4120
- end: 4131
loc: {...}
start: {...}
- line: 140
- column: 6
}end: {...}
- line: 140
- column: 17
}
}expression: UpdateExpression {...}
- type: "UpdateExpression"
- start: 4120
- end: 4130
loc: {...}
start: {...}
- line: 140
- column: 6
}end: {...}
- line: 140
- column: 16
}
}- operator: "++"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 4120
- end: 4128
loc: {...}
start: {...}
- line: 140
- column: 6
}end: {...}
- line: 140
- column: 14
}
}- name: "currentY"
}
}
}
]
}
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 4145
- end: 4292
loc: {...}
start: {...}
- line: 144
- column: 2
}end: {...}
- line: 151
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 4154
- end: 4162
loc: {...}
start: {...}
- line: 144
- column: 11
}end: {...}
- line: 144
- column: 19
}
}- name: "hardDrop"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 4165
- end: 4292
loc: {...}
start: {...}
- line: 144
- column: 22
}end: {...}
- line: 151
- column: 3
}
}body: [...] (3)
IfStatement {...}
- type: "IfStatement"
- start: 4171
- end: 4192
loc: {...}
start: {...}
- line: 145
- column: 4
}end: {...}
- line: 145
- column: 25
}
}test: UnaryExpression {...}
- type: "UnaryExpression"
- start: 4175
- end: 4183
loc: {...}
start: {...}
- line: 145
- column: 8
}end: {...}
- line: 145
- column: 16
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 4176
- end: 4183
loc: {...}
start: {...}
- line: 145
- column: 9
}end: {...}
- line: 145
- column: 16
}
}- name: "canMove"
}
}consequent: ReturnStatement {...}
- type: "ReturnStatement"
- start: 4185
- end: 4192
loc: {...}
start: {...}
- line: 145
- column: 18
}end: {...}
- line: 145
- column: 25
}
}- argument: null
}- alternate: null
} WhileStatement {...}
- type: "WhileStatement"
- start: 4197
- end: 4276
loc: {...}
start: {...}
- line: 146
- column: 4
}end: {...}
- line: 149
- column: 5
}
}test: CallExpression {...}
- type: "CallExpression"
- start: 4204
- end: 4231
loc: {...}
start: {...}
- line: 146
- column: 11
}end: {...}
- line: 146
- column: 38
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4204
- end: 4211
loc: {...}
start: {...}
- line: 146
- column: 11
}end: {...}
- line: 146
- column: 18
}
}- name: "isValid"
}arguments: [...] (3)
Literal {...}
- type: "Literal"
- start: 4212
- end: 4213
loc: {...}
start: {...}
- line: 146
- column: 19
}end: {...}
- line: 146
- column: 20
}
}- value: 0
- raw: "0"
} Literal {...}
- type: "Literal"
- start: 4215
- end: 4216
loc: {...}
start: {...}
- line: 146
- column: 22
}end: {...}
- line: 146
- column: 23
}
}- value: 1
- raw: "1"
} Identifier {...}
- type: "Identifier"
- start: 4218
- end: 4230
loc: {...}
start: {...}
- line: 146
- column: 25
}end: {...}
- line: 146
- column: 37
}
}- name: "currentPiece"
}
]- optional: false
}body: BlockStatement {...}
- type: "BlockStatement"
- start: 4233
- end: 4276
loc: {...}
start: {...}
- line: 146
- column: 40
}end: {...}
- line: 149
- column: 5
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4241
- end: 4252
loc: {...}
start: {...}
- line: 147
- column: 6
}end: {...}
- line: 147
- column: 17
}
}expression: UpdateExpression {...}
- type: "UpdateExpression"
- start: 4241
- end: 4251
loc: {...}
start: {...}
- line: 147
- column: 6
}end: {...}
- line: 147
- column: 16
}
}- operator: "++"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 4241
- end: 4249
loc: {...}
start: {...}
- line: 147
- column: 6
}end: {...}
- line: 147
- column: 14
}
}- name: "currentY"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4259
- end: 4270
loc: {...}
start: {...}
- line: 148
- column: 6
}end: {...}
- line: 148
- column: 17
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 4259
- end: 4269
loc: {...}
start: {...}
- line: 148
- column: 6
}end: {...}
- line: 148
- column: 16
}
}- operator: "+="
left: Identifier {...}
- type: "Identifier"
- start: 4259
- end: 4264
loc: {...}
start: {...}
- line: 148
- column: 6
}end: {...}
- line: 148
- column: 11
}
}- name: "score"
}right: Literal {...}
- type: "Literal"
- start: 4268
- end: 4269
loc: {...}
start: {...}
- line: 148
- column: 15
}end: {...}
- line: 148
- column: 16
}
}- value: 2
- raw: "2"
}
}
}
]
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4281
- end: 4288
loc: {...}
start: {...}
- line: 150
- column: 4
}end: {...}
- line: 150
- column: 11
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4281
- end: 4287
loc: {...}
start: {...}
- line: 150
- column: 4
}end: {...}
- line: 150
- column: 10
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4281
- end: 4285
loc: {...}
start: {...}
- line: 150
- column: 4
}end: {...}
- line: 150
- column: 8
}
}- name: "drop"
}- arguments: []
- optional: false
}
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 4296
- end: 4382
loc: {...}
start: {...}
- line: 153
- column: 2
}end: {...}
- line: 155
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 4305
- end: 4313
loc: {...}
start: {...}
- line: 153
- column: 11
}end: {...}
- line: 153
- column: 19
}
}- name: "moveLeft"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 4316
- end: 4382
loc: {...}
start: {...}
- line: 153
- column: 22
}end: {...}
- line: 155
- column: 3
}
}body: [...] (1)
IfStatement {...}
- type: "IfStatement"
- start: 4322
- end: 4378
loc: {...}
start: {...}
- line: 154
- column: 4
}end: {...}
- line: 154
- column: 60
}
}test: LogicalExpression {...}
- type: "LogicalExpression"
- start: 4326
- end: 4365
loc: {...}
start: {...}
- line: 154
- column: 8
}end: {...}
- line: 154
- column: 47
}
}left: Identifier {...}
- type: "Identifier"
- start: 4326
- end: 4333
loc: {...}
start: {...}
- line: 154
- column: 8
}end: {...}
- line: 154
- column: 15
}
}- name: "canMove"
}- operator: "&&"
right: CallExpression {...}
- type: "CallExpression"
- start: 4337
- end: 4365
loc: {...}
start: {...}
- line: 154
- column: 19
}end: {...}
- line: 154
- column: 47
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4337
- end: 4344
loc: {...}
start: {...}
- line: 154
- column: 19
}end: {...}
- line: 154
- column: 26
}
}- name: "isValid"
}arguments: [...] (3)
UnaryExpression {...}
- type: "UnaryExpression"
- start: 4345
- end: 4347
loc: {...}
start: {...}
- line: 154
- column: 27
}end: {...}
- line: 154
- column: 29
}
}- operator: "-"
- prefix: true
argument: Literal {...}
- type: "Literal"
- start: 4346
- end: 4347
loc: {...}
start: {...}
- line: 154
- column: 28
}end: {...}
- line: 154
- column: 29
}
}- value: 1
- raw: "1"
}
} Literal {...}
- type: "Literal"
- start: 4349
- end: 4350
loc: {...}
start: {...}
- line: 154
- column: 31
}end: {...}
- line: 154
- column: 32
}
}- value: 0
- raw: "0"
} Identifier {...}
- type: "Identifier"
- start: 4352
- end: 4364
loc: {...}
start: {...}
- line: 154
- column: 34
}end: {...}
- line: 154
- column: 46
}
}- name: "currentPiece"
}
]- optional: false
}
}consequent: ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4367
- end: 4378
loc: {...}
start: {...}
- line: 154
- column: 49
}end: {...}
- line: 154
- column: 60
}
}expression: UpdateExpression {...}
- type: "UpdateExpression"
- start: 4367
- end: 4377
loc: {...}
start: {...}
- line: 154
- column: 49
}end: {...}
- line: 154
- column: 59
}
}- operator: "--"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 4367
- end: 4375
loc: {...}
start: {...}
- line: 154
- column: 49
}end: {...}
- line: 154
- column: 57
}
}- name: "currentX"
}
}
}- alternate: null
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 4386
- end: 4472
loc: {...}
start: {...}
- line: 157
- column: 2
}end: {...}
- line: 159
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 4395
- end: 4404
loc: {...}
start: {...}
- line: 157
- column: 11
}end: {...}
- line: 157
- column: 20
}
}- name: "moveRight"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 4407
- end: 4472
loc: {...}
start: {...}
- line: 157
- column: 23
}end: {...}
- line: 159
- column: 3
}
}body: [...] (1)
IfStatement {...}
- type: "IfStatement"
- start: 4413
- end: 4468
loc: {...}
start: {...}
- line: 158
- column: 4
}end: {...}
- line: 158
- column: 59
}
}test: LogicalExpression {...}
- type: "LogicalExpression"
- start: 4417
- end: 4455
loc: {...}
start: {...}
- line: 158
- column: 8
}end: {...}
- line: 158
- column: 46
}
}left: Identifier {...}
- type: "Identifier"
- start: 4417
- end: 4424
loc: {...}
start: {...}
- line: 158
- column: 8
}end: {...}
- line: 158
- column: 15
}
}- name: "canMove"
}- operator: "&&"
right: CallExpression {...}
- type: "CallExpression"
- start: 4428
- end: 4455
loc: {...}
start: {...}
- line: 158
- column: 19
}end: {...}
- line: 158
- column: 46
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4428
- end: 4435
loc: {...}
start: {...}
- line: 158
- column: 19
}end: {...}
- line: 158
- column: 26
}
}- name: "isValid"
}arguments: [...] (3)
Literal {...}
- type: "Literal"
- start: 4436
- end: 4437
loc: {...}
start: {...}
- line: 158
- column: 27
}end: {...}
- line: 158
- column: 28
}
}- value: 1
- raw: "1"
} Literal {...}
- type: "Literal"
- start: 4439
- end: 4440
loc: {...}
start: {...}
- line: 158
- column: 30
}end: {...}
- line: 158
- column: 31
}
}- value: 0
- raw: "0"
} Identifier {...}
- type: "Identifier"
- start: 4442
- end: 4454
loc: {...}
start: {...}
- line: 158
- column: 33
}end: {...}
- line: 158
- column: 45
}
}- name: "currentPiece"
}
]- optional: false
}
}consequent: ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4457
- end: 4468
loc: {...}
start: {...}
- line: 158
- column: 48
}end: {...}
- line: 158
- column: 59
}
}expression: UpdateExpression {...}
- type: "UpdateExpression"
- start: 4457
- end: 4467
loc: {...}
start: {...}
- line: 158
- column: 48
}end: {...}
- line: 158
- column: 58
}
}- operator: "++"
- prefix: false
argument: Identifier {...}
- type: "Identifier"
- start: 4457
- end: 4465
loc: {...}
start: {...}
- line: 158
- column: 48
}end: {...}
- line: 158
- column: 56
}
}- name: "currentX"
}
}
}- alternate: null
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 4476
- end: 4923
loc: {...}
start: {...}
- line: 161
- column: 2
}end: {...}
- line: 179
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 4485
- end: 4498
loc: {...}
start: {...}
- line: 161
- column: 11
}end: {...}
- line: 161
- column: 24
}
}- name: "handleKeydown"
}- expression: false
- generator: false
- async: false
params: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 4499
- end: 4500
loc: {...}
start: {...}
- line: 161
- column: 25
}end: {...}
- line: 161
- column: 26
}
}- name: "e"
}
]body: BlockStatement {...}
- type: "BlockStatement"
- start: 4502
- end: 4923
loc: {...}
start: {...}
- line: 161
- column: 28
}end: {...}
- line: 179
- column: 3
}
}body: [...] (4)
IfStatement {...}
- type: "IfStatement"
- start: 4508
- end: 4561
loc: {...}
start: {...}
- line: 162
- column: 4
}end: {...}
- line: 162
- column: 57
}
}test: LogicalExpression {...}
- type: "LogicalExpression"
- start: 4512
- end: 4552
loc: {...}
start: {...}
- line: 162
- column: 8
}end: {...}
- line: 162
- column: 48
}
}left: Identifier {...}
- type: "Identifier"
- start: 4512
- end: 4521
loc: {...}
start: {...}
- line: 162
- column: 8
}end: {...}
- line: 162
- column: 17
}
}- name: "countdown"
}- operator: "||"
right: LogicalExpression {...}
- type: "LogicalExpression"
- start: 4526
- end: 4551
loc: {...}
start: {...}
- line: 162
- column: 22
}end: {...}
- line: 162
- column: 47
}
}left: UnaryExpression {...}
- type: "UnaryExpression"
- start: 4526
- end: 4538
loc: {...}
start: {...}
- line: 162
- column: 22
}end: {...}
- line: 162
- column: 34
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 4527
- end: 4538
loc: {...}
start: {...}
- line: 162
- column: 23
}end: {...}
- line: 162
- column: 34
}
}- name: "gameStarted"
}
}- operator: "&&"
right: UnaryExpression {...}
- type: "UnaryExpression"
- start: 4542
- end: 4551
loc: {...}
start: {...}
- line: 162
- column: 38
}end: {...}
- line: 162
- column: 47
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 4543
- end: 4551
loc: {...}
start: {...}
- line: 162
- column: 39
}end: {...}
- line: 162
- column: 47
}
}- name: "gameOver"
}
}
}
}consequent: ReturnStatement {...}
- type: "ReturnStatement"
- start: 4554
- end: 4561
loc: {...}
start: {...}
- line: 162
- column: 50
}end: {...}
- line: 162
- column: 57
}
}- argument: null
}- alternate: null
} IfStatement {...}
- type: "IfStatement"
- start: 4571
- end: 4639
loc: {...}
start: {...}
- line: 164
- column: 4
}end: {...}
- line: 167
- column: 5
}
}test: BinaryExpression {...}
- type: "BinaryExpression"
- start: 4575
- end: 4592
loc: {...}
start: {...}
- line: 164
- column: 8
}end: {...}
- line: 164
- column: 25
}
}left: MemberExpression {...}
- type: "MemberExpression"
- start: 4575
- end: 4581
loc: {...}
start: {...}
- line: 164
- column: 8
}end: {...}
- line: 164
- column: 14
}
}object: Identifier {...}
- type: "Identifier"
- start: 4575
- end: 4576
loc: {...}
start: {...}
- line: 164
- column: 8
}end: {...}
- line: 164
- column: 9
}
}- name: "e"
}property: Identifier {...}
- type: "Identifier"
- start: 4577
- end: 4581
loc: {...}
start: {...}
- line: 164
- column: 10
}end: {...}
- line: 164
- column: 14
}
}- name: "code"
}- computed: false
- optional: false
}- operator: "==="
right: Literal {...}
- type: "Literal"
- start: 4586
- end: 4592
loc: {...}
start: {...}
- line: 164
- column: 19
}end: {...}
- line: 164
- column: 25
}
}- value: "KeyP"
- raw: "'KeyP'"
}
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 4594
- end: 4639
loc: {...}
start: {...}
- line: 164
- column: 27
}end: {...}
- line: 167
- column: 5
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4602
- end: 4619
loc: {...}
start: {...}
- line: 165
- column: 6
}end: {...}
- line: 165
- column: 23
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 4602
- end: 4618
loc: {...}
start: {...}
- line: 165
- column: 6
}end: {...}
- line: 165
- column: 22
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 4602
- end: 4608
loc: {...}
start: {...}
- line: 165
- column: 6
}end: {...}
- line: 165
- column: 12
}
}- name: "paused"
}right: UnaryExpression {...}
- type: "UnaryExpression"
- start: 4611
- end: 4618
loc: {...}
start: {...}
- line: 165
- column: 15
}end: {...}
- line: 165
- column: 22
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 4612
- end: 4618
loc: {...}
start: {...}
- line: 165
- column: 16
}end: {...}
- line: 165
- column: 22
}
}- name: "paused"
}
}
}
} ReturnStatement {...}
- type: "ReturnStatement"
- start: 4626
- end: 4633
loc: {...}
start: {...}
- line: 166
- column: 6
}end: {...}
- line: 166
- column: 13
}
}- argument: null
}
]
}- alternate: null
} IfStatement {...}
- type: "IfStatement"
- start: 4645
- end: 4666
loc: {...}
start: {...}
- line: 169
- column: 4
}end: {...}
- line: 169
- column: 25
}
}test: UnaryExpression {...}
- type: "UnaryExpression"
- start: 4649
- end: 4657
loc: {...}
start: {...}
- line: 169
- column: 8
}end: {...}
- line: 169
- column: 16
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 4650
- end: 4657
loc: {...}
start: {...}
- line: 169
- column: 9
}end: {...}
- line: 169
- column: 16
}
}- name: "canMove"
}
}consequent: ReturnStatement {...}
- type: "ReturnStatement"
- start: 4659
- end: 4666
loc: {...}
start: {...}
- line: 169
- column: 18
}end: {...}
- line: 169
- column: 25
}
}- argument: null
}- alternate: null
} SwitchStatement {...}
- type: "SwitchStatement"
- start: 4672
- end: 4919
loc: {...}
start: {...}
- line: 171
- column: 4
}end: {...}
- line: 178
- column: 5
}
}discriminant: MemberExpression {...}
- type: "MemberExpression"
- start: 4680
- end: 4686
loc: {...}
start: {...}
- line: 171
- column: 12
}end: {...}
- line: 171
- column: 18
}
}object: Identifier {...}
- type: "Identifier"
- start: 4680
- end: 4681
loc: {...}
start: {...}
- line: 171
- column: 12
}end: {...}
- line: 171
- column: 13
}
}- name: "e"
}property: Identifier {...}
- type: "Identifier"
- start: 4682
- end: 4686
loc: {...}
start: {...}
- line: 171
- column: 14
}end: {...}
- line: 171
- column: 18
}
}- name: "code"
}- computed: false
- optional: false
}cases: [...] (6)
SwitchCase {...}
- type: "SwitchCase"
- start: 4696
- end: 4732
loc: {...}
start: {...}
- line: 172
- column: 6
}end: {...}
- line: 172
- column: 42
}
}consequent: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4714
- end: 4725
loc: {...}
start: {...}
- line: 172
- column: 24
}end: {...}
- line: 172
- column: 35
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4714
- end: 4724
loc: {...}
start: {...}
- line: 172
- column: 24
}end: {...}
- line: 172
- column: 34
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4714
- end: 4722
loc: {...}
start: {...}
- line: 172
- column: 24
}end: {...}
- line: 172
- column: 32
}
}- name: "moveLeft"
}- arguments: []
- optional: false
}
} BreakStatement {...}
- type: "BreakStatement"
- start: 4726
- end: 4732
loc: {...}
start: {...}
- line: 172
- column: 36
}end: {...}
- line: 172
- column: 42
}
}- label: null
}
]test: Literal {...}
- type: "Literal"
- start: 4701
- end: 4712
loc: {...}
start: {...}
- line: 172
- column: 11
}end: {...}
- line: 172
- column: 22
}
}- value: "ArrowLeft"
- raw: "'ArrowLeft'"
}
} SwitchCase {...}
- type: "SwitchCase"
- start: 4739
- end: 4777
loc: {...}
start: {...}
- line: 173
- column: 6
}end: {...}
- line: 173
- column: 44
}
}consequent: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4758
- end: 4770
loc: {...}
start: {...}
- line: 173
- column: 25
}end: {...}
- line: 173
- column: 37
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4758
- end: 4769
loc: {...}
start: {...}
- line: 173
- column: 25
}end: {...}
- line: 173
- column: 36
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4758
- end: 4767
loc: {...}
start: {...}
- line: 173
- column: 25
}end: {...}
- line: 173
- column: 34
}
}- name: "moveRight"
}- arguments: []
- optional: false
}
} BreakStatement {...}
- type: "BreakStatement"
- start: 4771
- end: 4777
loc: {...}
start: {...}
- line: 173
- column: 38
}end: {...}
- line: 173
- column: 44
}
}- label: null
}
]test: Literal {...}
- type: "Literal"
- start: 4744
- end: 4756
loc: {...}
start: {...}
- line: 173
- column: 11
}end: {...}
- line: 173
- column: 23
}
}- value: "ArrowRight"
- raw: "'ArrowRight'"
}
} SwitchCase {...}
- type: "SwitchCase"
- start: 4784
- end: 4816
loc: {...}
start: {...}
- line: 174
- column: 6
}end: {...}
- line: 174
- column: 38
}
}consequent: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4802
- end: 4809
loc: {...}
start: {...}
- line: 174
- column: 24
}end: {...}
- line: 174
- column: 31
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4802
- end: 4808
loc: {...}
start: {...}
- line: 174
- column: 24
}end: {...}
- line: 174
- column: 30
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4802
- end: 4806
loc: {...}
start: {...}
- line: 174
- column: 24
}end: {...}
- line: 174
- column: 28
}
}- name: "drop"
}- arguments: []
- optional: false
}
} BreakStatement {...}
- type: "BreakStatement"
- start: 4810
- end: 4816
loc: {...}
start: {...}
- line: 174
- column: 32
}end: {...}
- line: 174
- column: 38
}
}- label: null
}
]test: Literal {...}
- type: "Literal"
- start: 4789
- end: 4800
loc: {...}
start: {...}
- line: 174
- column: 11
}end: {...}
- line: 174
- column: 22
}
}- value: "ArrowDown"
- raw: "'ArrowDown'"
}
} SwitchCase {...}
- type: "SwitchCase"
- start: 4823
- end: 4838
loc: {...}
start: {...}
- line: 175
- column: 6
}end: {...}
- line: 175
- column: 21
}
}- consequent: []
test: Literal {...}
- type: "Literal"
- start: 4828
- end: 4837
loc: {...}
start: {...}
- line: 175
- column: 11
}end: {...}
- line: 175
- column: 20
}
}- value: "ArrowUp"
- raw: "'ArrowUp'"
}
} SwitchCase {...}
- type: "SwitchCase"
- start: 4845
- end: 4874
loc: {...}
start: {...}
- line: 176
- column: 6
}end: {...}
- line: 176
- column: 35
}
}consequent: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4858
- end: 4867
loc: {...}
start: {...}
- line: 176
- column: 19
}end: {...}
- line: 176
- column: 28
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4858
- end: 4866
loc: {...}
start: {...}
- line: 176
- column: 19
}end: {...}
- line: 176
- column: 27
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4858
- end: 4864
loc: {...}
start: {...}
- line: 176
- column: 19
}end: {...}
- line: 176
- column: 25
}
}- name: "rotate"
}- arguments: []
- optional: false
}
} BreakStatement {...}
- type: "BreakStatement"
- start: 4868
- end: 4874
loc: {...}
start: {...}
- line: 176
- column: 29
}end: {...}
- line: 176
- column: 35
}
}- label: null
}
]test: Literal {...}
- type: "Literal"
- start: 4850
- end: 4856
loc: {...}
start: {...}
- line: 176
- column: 11
}end: {...}
- line: 176
- column: 17
}
}- value: "KeyR"
- raw: "'KeyR'"
}
} SwitchCase {...}
- type: "SwitchCase"
- start: 4881
- end: 4913
loc: {...}
start: {...}
- line: 177
- column: 6
}end: {...}
- line: 177
- column: 38
}
}consequent: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4895
- end: 4906
loc: {...}
start: {...}
- line: 177
- column: 20
}end: {...}
- line: 177
- column: 31
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 4895
- end: 4905
loc: {...}
start: {...}
- line: 177
- column: 20
}end: {...}
- line: 177
- column: 30
}
}callee: Identifier {...}
- type: "Identifier"
- start: 4895
- end: 4903
loc: {...}
start: {...}
- line: 177
- column: 20
}end: {...}
- line: 177
- column: 28
}
}- name: "hardDrop"
}- arguments: []
- optional: false
}
} BreakStatement {...}
- type: "BreakStatement"
- start: 4907
- end: 4913
loc: {...}
start: {...}
- line: 177
- column: 32
}end: {...}
- line: 177
- column: 38
}
}- label: null
}
]test: Literal {...}
- type: "Literal"
- start: 4886
- end: 4893
loc: {...}
start: {...}
- line: 177
- column: 11
}end: {...}
- line: 177
- column: 18
}
}- value: "Space"
- raw: "'Space'"
}
}
]
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 4927
- end: 5083
loc: {...}
start: {...}
- line: 181
- column: 2
}end: {...}
- line: 186
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 4936
- end: 4947
loc: {...}
start: {...}
- line: 181
- column: 11
}end: {...}
- line: 181
- column: 22
}
}- name: "toggleMusic"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 4950
- end: 5083
loc: {...}
start: {...}
- line: 181
- column: 25
}end: {...}
- line: 186
- column: 3
}
}body: [...] (1)
IfStatement {...}
- type: "IfStatement"
- start: 4956
- end: 5079
loc: {...}
start: {...}
- line: 182
- column: 4
}end: {...}
- line: 185
- column: 5
}
}test: Identifier {...}
- type: "Identifier"
- start: 4960
- end: 4971
loc: {...}
start: {...}
- line: 182
- column: 8
}end: {...}
- line: 182
- column: 19
}
}- name: "tetrisTheme"
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 4973
- end: 5079
loc: {...}
start: {...}
- line: 182
- column: 21
}end: {...}
- line: 185
- column: 5
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 4981
- end: 5037
loc: {...}
start: {...}
- line: 183
- column: 6
}end: {...}
- line: 183
- column: 62
}
}expression: ConditionalExpression {...}
- type: "ConditionalExpression"
- start: 4981
- end: 5036
loc: {...}
start: {...}
- line: 183
- column: 6
}end: {...}
- line: 183
- column: 61
}
}test: Identifier {...}
- type: "Identifier"
- start: 4981
- end: 4993
loc: {...}
start: {...}
- line: 183
- column: 6
}end: {...}
- line: 183
- column: 18
}
}- name: "audioPlaying"
}consequent: CallExpression {...}
- type: "CallExpression"
- start: 4996
- end: 5015
loc: {...}
start: {...}
- line: 183
- column: 21
}end: {...}
- line: 183
- column: 40
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 4996
- end: 5013
loc: {...}
start: {...}
- line: 183
- column: 21
}end: {...}
- line: 183
- column: 38
}
}object: Identifier {...}
- type: "Identifier"
- start: 4996
- end: 5007
loc: {...}
start: {...}
- line: 183
- column: 21
}end: {...}
- line: 183
- column: 32
}
}- name: "tetrisTheme"
}property: Identifier {...}
- type: "Identifier"
- start: 5008
- end: 5013
loc: {...}
start: {...}
- line: 183
- column: 33
}end: {...}
- line: 183
- column: 38
}
}- name: "pause"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}alternate: CallExpression {...}
- type: "CallExpression"
- start: 5018
- end: 5036
loc: {...}
start: {...}
- line: 183
- column: 43
}end: {...}
- line: 183
- column: 61
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5018
- end: 5034
loc: {...}
start: {...}
- line: 183
- column: 43
}end: {...}
- line: 183
- column: 59
}
}object: Identifier {...}
- type: "Identifier"
- start: 5018
- end: 5029
loc: {...}
start: {...}
- line: 183
- column: 43
}end: {...}
- line: 183
- column: 54
}
}- name: "tetrisTheme"
}property: Identifier {...}
- type: "Identifier"
- start: 5030
- end: 5034
loc: {...}
start: {...}
- line: 183
- column: 55
}end: {...}
- line: 183
- column: 59
}
}- name: "play"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5044
- end: 5073
loc: {...}
start: {...}
- line: 184
- column: 6
}end: {...}
- line: 184
- column: 35
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5044
- end: 5072
loc: {...}
start: {...}
- line: 184
- column: 6
}end: {...}
- line: 184
- column: 34
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 5044
- end: 5056
loc: {...}
start: {...}
- line: 184
- column: 6
}end: {...}
- line: 184
- column: 18
}
}- name: "audioPlaying"
}right: UnaryExpression {...}
- type: "UnaryExpression"
- start: 5059
- end: 5072
loc: {...}
start: {...}
- line: 184
- column: 21
}end: {...}
- line: 184
- column: 34
}
}- operator: "!"
- prefix: true
argument: Identifier {...}
- type: "Identifier"
- start: 5060
- end: 5072
loc: {...}
start: {...}
- line: 184
- column: 22
}end: {...}
- line: 184
- column: 34
}
}- name: "audioPlaying"
}
}
}
}
]
}- alternate: null
}
]
}
} FunctionDeclaration {...}
- type: "FunctionDeclaration"
- start: 5087
- end: 5356
loc: {...}
start: {...}
- line: 188
- column: 2
}end: {...}
- line: 196
- column: 3
}
}id: Identifier {...}
- type: "Identifier"
- start: 5096
- end: 5105
loc: {...}
start: {...}
- line: 188
- column: 11
}end: {...}
- line: 188
- column: 20
}
}- name: "resetGame"
}- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 5108
- end: 5356
loc: {...}
start: {...}
- line: 188
- column: 23
}end: {...}
- line: 196
- column: 3
}
}body: [...] (7)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5114
- end: 5142
loc: {...}
start: {...}
- line: 189
- column: 4
}end: {...}
- line: 189
- column: 32
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5114
- end: 5141
loc: {...}
start: {...}
- line: 189
- column: 4
}end: {...}
- line: 189
- column: 31
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5114
- end: 5127
loc: {...}
start: {...}
- line: 189
- column: 4
}end: {...}
- line: 189
- column: 17
}
}- name: "clearInterval"
}arguments: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 5128
- end: 5140
loc: {...}
start: {...}
- line: 189
- column: 18
}end: {...}
- line: 189
- column: 30
}
}- name: "dropInterval"
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5147
- end: 5202
loc: {...}
start: {...}
- line: 190
- column: 4
}end: {...}
- line: 190
- column: 59
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5147
- end: 5201
loc: {...}
start: {...}
- line: 190
- column: 4
}end: {...}
- line: 190
- column: 58
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 5147
- end: 5159
loc: {...}
start: {...}
- line: 190
- column: 4
}end: {...}
- line: 190
- column: 16
}
}- name: "dropInterval"
}right: CallExpression {...}
- type: "CallExpression"
- start: 5162
- end: 5201
loc: {...}
start: {...}
- line: 190
- column: 19
}end: {...}
- line: 190
- column: 58
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5162
- end: 5173
loc: {...}
start: {...}
- line: 190
- column: 19
}end: {...}
- line: 190
- column: 30
}
}- name: "setInterval"
}arguments: [...] (2)
Identifier {...}
- type: "Identifier"
- start: 5174
- end: 5178
loc: {...}
start: {...}
- line: 190
- column: 31
}end: {...}
- line: 190
- column: 35
}
}- name: "drop"
} MemberExpression {...}
- type: "MemberExpression"
- start: 5180
- end: 5200
loc: {...}
start: {...}
- line: 190
- column: 37
}end: {...}
- line: 190
- column: 57
}
}object: Identifier {...}
- type: "Identifier"
- start: 5180
- end: 5186
loc: {...}
start: {...}
- line: 190
- column: 37
}end: {...}
- line: 190
- column: 43
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 5187
- end: 5200
loc: {...}
start: {...}
- line: 190
- column: 44
}end: {...}
- line: 190
- column: 57
}
}- name: "DROP_INTERVAL"
}- computed: false
- optional: false
}
]- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5207
- end: 5279
loc: {...}
start: {...}
- line: 191
- column: 4
}end: {...}
- line: 191
- column: 76
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5207
- end: 5278
loc: {...}
start: {...}
- line: 191
- column: 4
}end: {...}
- line: 191
- column: 75
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 5207
- end: 5212
loc: {...}
start: {...}
- line: 191
- column: 4
}end: {...}
- line: 191
- column: 9
}
}- name: "board"
}right: CallExpression {...}
- type: "CallExpression"
- start: 5215
- end: 5278
loc: {...}
start: {...}
- line: 191
- column: 12
}end: {...}
- line: 191
- column: 75
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5215
- end: 5244
loc: {...}
start: {...}
- line: 191
- column: 12
}end: {...}
- line: 191
- column: 41
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 5215
- end: 5240
loc: {...}
start: {...}
- line: 191
- column: 12
}end: {...}
- line: 191
- column: 37
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5215
- end: 5238
loc: {...}
start: {...}
- line: 191
- column: 12
}end: {...}
- line: 191
- column: 35
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 5215
- end: 5233
loc: {...}
start: {...}
- line: 191
- column: 12
}end: {...}
- line: 191
- column: 30
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5215
- end: 5220
loc: {...}
start: {...}
- line: 191
- column: 12
}end: {...}
- line: 191
- column: 17
}
}- name: "Array"
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 5221
- end: 5232
loc: {...}
start: {...}
- line: 191
- column: 18
}end: {...}
- line: 191
- column: 29
}
}object: Identifier {...}
- type: "Identifier"
- start: 5221
- end: 5227
loc: {...}
start: {...}
- line: 191
- column: 18
}end: {...}
- line: 191
- column: 24
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 5228
- end: 5232
loc: {...}
start: {...}
- line: 191
- column: 25
}end: {...}
- line: 191
- column: 29
}
}- name: "ROWS"
}- computed: false
- optional: false
}
]- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 5234
- end: 5238
loc: {...}
start: {...}
- line: 191
- column: 31
}end: {...}
- line: 191
- column: 35
}
}- name: "fill"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 5241
- end: 5244
loc: {...}
start: {...}
- line: 191
- column: 38
}end: {...}
- line: 191
- column: 41
}
}- name: "map"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 5245
- end: 5277
loc: {...}
start: {...}
- line: 191
- column: 42
}end: {...}
- line: 191
- column: 74
}
}- id: null
- expression: true
- generator: false
- async: false
- params: []
body: CallExpression {...}
- type: "CallExpression"
- start: 5251
- end: 5277
loc: {...}
start: {...}
- line: 191
- column: 48
}end: {...}
- line: 191
- column: 74
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5251
- end: 5274
loc: {...}
start: {...}
- line: 191
- column: 48
}end: {...}
- line: 191
- column: 71
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 5251
- end: 5269
loc: {...}
start: {...}
- line: 191
- column: 48
}end: {...}
- line: 191
- column: 66
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5251
- end: 5256
loc: {...}
start: {...}
- line: 191
- column: 48
}end: {...}
- line: 191
- column: 53
}
}- name: "Array"
}arguments: [...] (1)
MemberExpression {...}
- type: "MemberExpression"
- start: 5257
- end: 5268
loc: {...}
start: {...}
- line: 191
- column: 54
}end: {...}
- line: 191
- column: 65
}
}object: Identifier {...}
- type: "Identifier"
- start: 5257
- end: 5263
loc: {...}
start: {...}
- line: 191
- column: 54
}end: {...}
- line: 191
- column: 60
}
}- name: "CONFIG"
}property: Identifier {...}
- type: "Identifier"
- start: 5264
- end: 5268
loc: {...}
start: {...}
- line: 191
- column: 61
}end: {...}
- line: 191
- column: 65
}
}- name: "COLS"
}- computed: false
- optional: false
}
]- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 5270
- end: 5274
loc: {...}
start: {...}
- line: 191
- column: 67
}end: {...}
- line: 191
- column: 71
}
}- name: "fill"
}- computed: false
- optional: false
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 5275
- end: 5276
loc: {...}
start: {...}
- line: 191
- column: 72
}end: {...}
- line: 191
- column: 73
}
}- value: 0
- raw: "0"
}
]- optional: false
}
}
]- optional: false
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5284
- end: 5294
loc: {...}
start: {...}
- line: 192
- column: 4
}end: {...}
- line: 192
- column: 14
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5284
- end: 5293
loc: {...}
start: {...}
- line: 192
- column: 4
}end: {...}
- line: 192
- column: 13
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 5284
- end: 5289
loc: {...}
start: {...}
- line: 192
- column: 4
}end: {...}
- line: 192
- column: 9
}
}- name: "score"
}right: Literal {...}
- type: "Literal"
- start: 5292
- end: 5293
loc: {...}
start: {...}
- line: 192
- column: 12
}end: {...}
- line: 192
- column: 13
}
}- value: 0
- raw: "0"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5299
- end: 5316
loc: {...}
start: {...}
- line: 193
- column: 4
}end: {...}
- line: 193
- column: 21
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5299
- end: 5315
loc: {...}
start: {...}
- line: 193
- column: 4
}end: {...}
- line: 193
- column: 20
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 5299
- end: 5307
loc: {...}
start: {...}
- line: 193
- column: 4
}end: {...}
- line: 193
- column: 12
}
}- name: "gameOver"
}right: Literal {...}
- type: "Literal"
- start: 5310
- end: 5315
loc: {...}
start: {...}
- line: 193
- column: 15
}end: {...}
- line: 193
- column: 20
}
}- value: false
- raw: "false"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5321
- end: 5336
loc: {...}
start: {...}
- line: 194
- column: 4
}end: {...}
- line: 194
- column: 19
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5321
- end: 5335
loc: {...}
start: {...}
- line: 194
- column: 4
}end: {...}
- line: 194
- column: 18
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 5321
- end: 5327
loc: {...}
start: {...}
- line: 194
- column: 4
}end: {...}
- line: 194
- column: 10
}
}- name: "paused"
}right: Literal {...}
- type: "Literal"
- start: 5330
- end: 5335
loc: {...}
start: {...}
- line: 194
- column: 13
}end: {...}
- line: 194
- column: 18
}
}- value: false
- raw: "false"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5341
- end: 5352
loc: {...}
start: {...}
- line: 195
- column: 4
}end: {...}
- line: 195
- column: 15
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5341
- end: 5351
loc: {...}
start: {...}
- line: 195
- column: 4
}end: {...}
- line: 195
- column: 14
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5341
- end: 5349
loc: {...}
start: {...}
- line: 195
- column: 4
}end: {...}
- line: 195
- column: 12
}
}- name: "newPiece"
}- arguments: []
- optional: false
}
}
]
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5360
- end: 5651
loc: {...}
start: {...}
- line: 198
- column: 2
}end: {...}
- line: 209
- column: 5
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5360
- end: 5650
loc: {...}
start: {...}
- line: 198
- column: 2
}end: {...}
- line: 209
- column: 4
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5360
- end: 5367
loc: {...}
start: {...}
- line: 198
- column: 2
}end: {...}
- line: 198
- column: 9
}
}- name: "onMount"
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 5368
- end: 5649
loc: {...}
start: {...}
- line: 198
- column: 10
}end: {...}
- line: 209
- column: 3
}
}- id: null
- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 5374
- end: 5649
loc: {...}
start: {...}
- line: 198
- column: 16
}end: {...}
- line: 209
- column: 3
}
}body: [...] (4)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5380
- end: 5430
loc: {...}
start: {...}
- line: 199
- column: 4
}end: {...}
- line: 199
- column: 54
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5380
- end: 5429
loc: {...}
start: {...}
- line: 199
- column: 4
}end: {...}
- line: 199
- column: 53
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5380
- end: 5403
loc: {...}
start: {...}
- line: 199
- column: 4
}end: {...}
- line: 199
- column: 27
}
}object: Identifier {...}
- type: "Identifier"
- start: 5380
- end: 5386
loc: {...}
start: {...}
- line: 199
- column: 4
}end: {...}
- line: 199
- column: 10
}
}- name: "window"
}property: Identifier {...}
- type: "Identifier"
- start: 5387
- end: 5403
loc: {...}
start: {...}
- line: 199
- column: 11
}end: {...}
- line: 199
- column: 27
}
}- name: "addEventListener"
}- computed: false
- optional: false
}arguments: [...] (2)
Literal {...}
- type: "Literal"
- start: 5404
- end: 5413
loc: {...}
start: {...}
- line: 199
- column: 28
}end: {...}
- line: 199
- column: 37
}
}- value: "keydown"
- raw: "'keydown'"
} Identifier {...}
- type: "Identifier"
- start: 5415
- end: 5428
loc: {...}
start: {...}
- line: 199
- column: 39
}end: {...}
- line: 199
- column: 52
}
}- name: "handleKeydown"
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5435
- end: 5460
loc: {...}
start: {...}
- line: 200
- column: 4
}end: {...}
- line: 200
- column: 29
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5435
- end: 5459
loc: {...}
start: {...}
- line: 200
- column: 4
}end: {...}
- line: 200
- column: 28
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5435
- end: 5457
loc: {...}
start: {...}
- line: 200
- column: 4
}end: {...}
- line: 200
- column: 26
}
}- name: "startGameWithCountdown"
}- arguments: []
- optional: false
}
} VariableDeclaration {...}
- type: "VariableDeclaration"
- start: 5470
- end: 5523
loc: {...}
start: {...}
- line: 202
- column: 4
}end: {...}
- line: 202
- column: 57
}
}declarations: [...] (1)
VariableDeclarator {...}
- type: "VariableDeclarator"
- start: 5476
- end: 5522
loc: {...}
start: {...}
- line: 202
- column: 10
}end: {...}
- line: 202
- column: 56
}
}id: Identifier {...}
- type: "Identifier"
- start: 5476
- end: 5481
loc: {...}
start: {...}
- line: 202
- column: 10
}end: {...}
- line: 202
- column: 15
}
}- name: "audio"
}init: CallExpression {...}
- type: "CallExpression"
- start: 5484
- end: 5522
loc: {...}
start: {...}
- line: 202
- column: 18
}end: {...}
- line: 202
- column: 56
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5484
- end: 5507
loc: {...}
start: {...}
- line: 202
- column: 18
}end: {...}
- line: 202
- column: 41
}
}object: Identifier {...}
- type: "Identifier"
- start: 5484
- end: 5492
loc: {...}
start: {...}
- line: 202
- column: 18
}end: {...}
- line: 202
- column: 26
}
}- name: "document"
}property: Identifier {...}
- type: "Identifier"
- start: 5493
- end: 5507
loc: {...}
start: {...}
- line: 202
- column: 27
}end: {...}
- line: 202
- column: 41
}
}- name: "getElementById"
}- computed: false
- optional: false
}arguments: [...] (1)
Literal {...}
- type: "Literal"
- start: 5508
- end: 5521
loc: {...}
start: {...}
- line: 202
- column: 42
}end: {...}
- line: 202
- column: 55
}
}- value: "tetrisTheme"
- raw: "'tetrisTheme'"
}
]- optional: false
}
}
]- kind: "const"
} IfStatement {...}
- type: "IfStatement"
- start: 5528
- end: 5645
loc: {...}
start: {...}
- line: 203
- column: 4
}end: {...}
- line: 208
- column: 5
}
}test: Identifier {...}
- type: "Identifier"
- start: 5532
- end: 5537
loc: {...}
start: {...}
- line: 203
- column: 8
}end: {...}
- line: 203
- column: 13
}
}- name: "audio"
}consequent: BlockStatement {...}
- type: "BlockStatement"
- start: 5539
- end: 5645
loc: {...}
start: {...}
- line: 203
- column: 15
}end: {...}
- line: 208
- column: 5
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5547
- end: 5566
loc: {...}
start: {...}
- line: 204
- column: 6
}end: {...}
- line: 204
- column: 25
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5547
- end: 5565
loc: {...}
start: {...}
- line: 204
- column: 6
}end: {...}
- line: 204
- column: 24
}
}- operator: "="
left: MemberExpression {...}
- type: "MemberExpression"
- start: 5547
- end: 5559
loc: {...}
start: {...}
- line: 204
- column: 6
}end: {...}
- line: 204
- column: 18
}
}object: Identifier {...}
- type: "Identifier"
- start: 5547
- end: 5552
loc: {...}
start: {...}
- line: 204
- column: 6
}end: {...}
- line: 204
- column: 11
}
}- name: "audio"
}property: Identifier {...}
- type: "Identifier"
- start: 5553
- end: 5559
loc: {...}
start: {...}
- line: 204
- column: 12
}end: {...}
- line: 204
- column: 18
}
}- name: "volume"
}- computed: false
- optional: false
}right: Literal {...}
- type: "Literal"
- start: 5562
- end: 5565
loc: {...}
start: {...}
- line: 204
- column: 21
}end: {...}
- line: 204
- column: 24
}
}- value: 0.5
- raw: "0.5"
}
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5573
- end: 5639
loc: {...}
start: {...}
- line: 205
- column: 6
}end: {...}
- line: 207
- column: 9
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5573
- end: 5638
loc: {...}
start: {...}
- line: 205
- column: 6
}end: {...}
- line: 207
- column: 8
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5573
- end: 5591
loc: {...}
start: {...}
- line: 205
- column: 6
}end: {...}
- line: 205
- column: 24
}
}object: CallExpression {...}
- type: "CallExpression"
- start: 5573
- end: 5585
loc: {...}
start: {...}
- line: 205
- column: 6
}end: {...}
- line: 205
- column: 18
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5573
- end: 5583
loc: {...}
start: {...}
- line: 205
- column: 6
}end: {...}
- line: 205
- column: 16
}
}object: Identifier {...}
- type: "Identifier"
- start: 5573
- end: 5578
loc: {...}
start: {...}
- line: 205
- column: 6
}end: {...}
- line: 205
- column: 11
}
}- name: "audio"
}property: Identifier {...}
- type: "Identifier"
- start: 5579
- end: 5583
loc: {...}
start: {...}
- line: 205
- column: 12
}end: {...}
- line: 205
- column: 16
}
}- name: "play"
}- computed: false
- optional: false
}- arguments: []
- optional: false
}property: Identifier {...}
- type: "Identifier"
- start: 5586
- end: 5591
loc: {...}
start: {...}
- line: 205
- column: 19
}end: {...}
- line: 205
- column: 24
}
}- name: "catch"
}- computed: false
- optional: false
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 5592
- end: 5637
loc: {...}
start: {...}
- line: 205
- column: 25
}end: {...}
- line: 207
- column: 7
}
}- id: null
- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 5598
- end: 5637
loc: {...}
start: {...}
- line: 205
- column: 31
}end: {...}
- line: 207
- column: 7
}
}body: [...] (1)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5608
- end: 5629
loc: {...}
start: {...}
- line: 206
- column: 8
}end: {...}
- line: 206
- column: 29
}
}expression: AssignmentExpression {...}
- type: "AssignmentExpression"
- start: 5608
- end: 5628
loc: {...}
start: {...}
- line: 206
- column: 8
}end: {...}
- line: 206
- column: 28
}
}- operator: "="
left: Identifier {...}
- type: "Identifier"
- start: 5608
- end: 5620
loc: {...}
start: {...}
- line: 206
- column: 8
}end: {...}
- line: 206
- column: 20
}
}- name: "audioPlaying"
}right: Literal {...}
- type: "Literal"
- start: 5623
- end: 5628
loc: {...}
start: {...}
- line: 206
- column: 23
}end: {...}
- line: 206
- column: 28
}
}- value: false
- raw: "false"
}
}
}
]
}
}
]- optional: false
}
}
]
}- alternate: null
}
]
}
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5655
- end: 5769
loc: {...}
start: {...}
- line: 211
- column: 2
}end: {...}
- line: 214
- column: 5
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5655
- end: 5768
loc: {...}
start: {...}
- line: 211
- column: 2
}end: {...}
- line: 214
- column: 4
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5655
- end: 5664
loc: {...}
start: {...}
- line: 211
- column: 2
}end: {...}
- line: 211
- column: 11
}
}- name: "onDestroy"
}arguments: [...] (1)
ArrowFunctionExpression {...}
- type: "ArrowFunctionExpression"
- start: 5665
- end: 5767
loc: {...}
start: {...}
- line: 211
- column: 12
}end: {...}
- line: 214
- column: 3
}
}- id: null
- expression: false
- generator: false
- async: false
- params: []
body: BlockStatement {...}
- type: "BlockStatement"
- start: 5671
- end: 5767
loc: {...}
start: {...}
- line: 211
- column: 18
}end: {...}
- line: 214
- column: 3
}
}body: [...] (2)
ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5677
- end: 5730
loc: {...}
start: {...}
- line: 212
- column: 4
}end: {...}
- line: 212
- column: 57
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5677
- end: 5729
loc: {...}
start: {...}
- line: 212
- column: 4
}end: {...}
- line: 212
- column: 56
}
}callee: MemberExpression {...}
- type: "MemberExpression"
- start: 5677
- end: 5703
loc: {...}
start: {...}
- line: 212
- column: 4
}end: {...}
- line: 212
- column: 30
}
}object: Identifier {...}
- type: "Identifier"
- start: 5677
- end: 5683
loc: {...}
start: {...}
- line: 212
- column: 4
}end: {...}
- line: 212
- column: 10
}
}- name: "window"
}property: Identifier {...}
- type: "Identifier"
- start: 5684
- end: 5703
loc: {...}
start: {...}
- line: 212
- column: 11
}end: {...}
- line: 212
- column: 30
}
}- name: "removeEventListener"
}- computed: false
- optional: false
}arguments: [...] (2)
Literal {...}
- type: "Literal"
- start: 5704
- end: 5713
loc: {...}
start: {...}
- line: 212
- column: 31
}end: {...}
- line: 212
- column: 40
}
}- value: "keydown"
- raw: "'keydown'"
} Identifier {...}
- type: "Identifier"
- start: 5715
- end: 5728
loc: {...}
start: {...}
- line: 212
- column: 42
}end: {...}
- line: 212
- column: 55
}
}- name: "handleKeydown"
}
]- optional: false
}
} ExpressionStatement {...}
- type: "ExpressionStatement"
- start: 5735
- end: 5763
loc: {...}
start: {...}
- line: 213
- column: 4
}end: {...}
- line: 213
- column: 32
}
}expression: CallExpression {...}
- type: "CallExpression"
- start: 5735
- end: 5762
loc: {...}
start: {...}
- line: 213
- column: 4
}end: {...}
- line: 213
- column: 31
}
}callee: Identifier {...}
- type: "Identifier"
- start: 5735
- end: 5748
loc: {...}
start: {...}
- line: 213
- column: 4
}end: {...}
- line: 213
- column: 17
}
}- name: "clearInterval"
}arguments: [...] (1)
Identifier {...}
- type: "Identifier"
- start: 5749
- end: 5761
loc: {...}
start: {...}
- line: 213
- column: 18
}end: {...}
- line: 213
- column: 30
}
}- name: "dropInterval"
}
]- optional: false
}
}
]
}
}
]- optional: false
}
}
]- sourceType: "module"
}- attributes: []
}
}
The AST is not public API and may change at any point in time