Skip to main content
Create new
Introduction
Reactivity
Props
Logic
Events
Bindings
Lifecycle
Stores
Motion
Transitions
Animations
Easing
SVG
Actions
Classes
Component composition
Context API
Special elements
Module context
Debugging
7GUIs
Miscellaneous
App.svelte
File.svelte
Folder.svelte
<script>
import Folder from './Folder.svelte';

let root = [
{
type: 'folder',
name: 'Important work stuff',
files: [{ type: 'file', name: 'quarterly-results.xlsx' }]
},
{
type: 'folder',
name: 'Animal GIFs',
files: [
{
type: 'folder',
name: 'Dogs',
files: [
{ type: 'file', name: 'treadmill.gif' },
{ type: 'file', name: 'rope-jumping.gif' }
]
},
{
type: 'folder',
name: 'Goats',
files: [
{ type: 'file', name: 'parkour.gif' },
{ type: 'file', name: 'rampage.gif' }
]
},
{ type: 'file', name: 'cat-roomba.gif' },
{ type: 'file', name: 'duck-shuffle.gif' },
{ type: 'file', name: 'monkey-on-a-pig.gif' }
]
},
{ type: 'file', name: 'TODO.md' }
];

Error compiling component

WebAssembly.instantiateStreaming(): value type opcode @+13
import 'svelte/internal/disclose-version';
import 'svelte/internal/flags/legacy';
import * as $ from 'svelte/internal/client';
import Folder from './Folder.svelte';

export default function App($$anchor) {
let root = [
{
type: 'folder',
name: 'Important work stuff',
files: [
{ type: 'file', name: 'quarterly-results.xlsx' }
]
},
{
type: 'folder',
name: 'Animal GIFs',
files: [
{
type: 'folder',
name: 'Dogs',
files: [
{ type: 'file', name: 'treadmill.gif' },
{ type: 'file', name: 'rope-jumping.gif' }
]
},
{
type: 'folder',
name: 'Goats',
files: [
{ type: 'file', name: 'parkour.gif' },
{ type: 'file', name: 'rampage.gif' }
]
},
{ type: 'file', name: 'cat-roomba.gif' },
{ type: 'file', name: 'duck-shuffle.gif' },
result = svelte.compile(source, {
generate: ,
});
/* Add a <style> tag to see the CSS output */
		
			
				
  • Root {
    • css: null
    • js: []
    • start: 783
    • end: 827
    • type: "Root"
    • fragment: Fragment {...}
      • type: "Fragment"
      • nodes: [...] (2)
        • Text {...}
          • type: "Text"
          • start: 781
          • end: 783
          • raw: "\n\n"
          • data: "\n\n"
          }
        • Component {...}
          • type: "Component"
          • start: 783
          • end: 827
          • name: "Folder"
          • attributes: [...] (3)
            • Attribute {...}
              • type: "Attribute"
              • start: 791
              • end: 802
              • name: "name"
              • value: [...] (1)
                • Text {...}
                  • start: 797
                  • end: 801
                  • type: "Text"
                  • raw: "Home"
                  • data: "Home"
                  }
                ]
              }
            • Attribute {...}
              • type: "Attribute"
              • start: 803
              • end: 815
              • name: "files"
              • value: ExpressionTag {...}
                • type: "ExpressionTag"
                • start: 809
                • end: 815
                • expression: Identifier {...}
                  • type: "Identifier"
                  • start: 810
                  • end: 814
                  • loc: {...}
                    • start: {...}
                      • line: 39
                      • column: 27
                      }
                    • end: {...}
                      • line: 39
                      • column: 31
                      }
                    }
                  • name: "root"
                  }
                }
              }
            • Attribute {...}
              • type: "Attribute"
              • start: 816
              • end: 824
              • name: "expanded"
              • value: true
              }
            ]
          • fragment: Fragment {...}
            • type: "Fragment"
            • nodes: []
            }
          }
        ]
      }
    • options: null
    • instance: Script {...}
      • type: "Script"
      • start: 0
      • end: 781
      • context: "default"
      • content: Program {...}
        • type: "Program"
        • start: 8
        • end: 772
        • loc: {...}
          • start: {...}
            • line: 1
            • column: 0
            }
          • end: {...}
            • line: 37
            • column: 0
            }
          }
        • body: [...] (2)
          • ImportDeclaration {...}
            • type: "ImportDeclaration"
            • start: 10
            • end: 47
            • loc: {...}
              • start: {...}
                • line: 2
                • column: 1
                }
              • end: {...}
                • line: 2
                • column: 38
                }
              }
            • specifiers: [...] (1)
              • ImportDefaultSpecifier {...}
                • type: "ImportDefaultSpecifier"
                • start: 17
                • end: 23
                • loc: {...}
                  • start: {...}
                    • line: 2
                    • column: 8
                    }
                  • end: {...}
                    • line: 2
                    • column: 14
                    }
                  }
                • local: Identifier {...}
                  • type: "Identifier"
                  • start: 17
                  • end: 23
                  • loc: {...}
                    • start: {...}
                      • line: 2
                      • column: 8
                      }
                    • end: {...}
                      • line: 2
                      • column: 14
                      }
                    }
                  • name: "Folder"
                  }
                }
              ]
            • source: Literal {...}
              • type: "Literal"
              • start: 29
              • end: 46
              • loc: {...}
                • start: {...}
                  • line: 2
                  • column: 20
                  }
                • end: {...}
                  • line: 2
                  • column: 37
                  }
                }
              • value: "./Folder.svelte"
              • raw: "'./Folder.svelte'"
              }
            }
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 50
            • end: 771
            • loc: {...}
              • start: {...}
                • line: 4
                • column: 1
                }
              • end: {...}
                • line: 36
                • column: 3
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 54
                • end: 770
                • loc: {...}
                  • start: {...}
                    • line: 4
                    • column: 5
                    }
                  • end: {...}
                    • line: 36
                    • column: 2
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 54
                  • end: 58
                  • loc: {...}
                    • start: {...}
                      • line: 4
                      • column: 5
                      }
                    • end: {...}
                      • line: 4
                      • column: 9
                      }
                    }
                  • name: "root"
                  }
                • init: ArrayExpression {...}
                  • type: "ArrayExpression"
                  • start: 61
                  • end: 770
                  • loc: {...}
                    • start: {...}
                      • line: 4
                      • column: 12
                      }
                    • end: {...}
                      • line: 36
                      • column: 2
                      }
                    }
                  • elements: [...] (3)
                    • ObjectExpression {...}
                      • type: "ObjectExpression"
                      • start: 65
                      • end: 183
                      • loc: {...}
                        • start: {...}
                          • line: 5
                          • column: 2
                          }
                        • end: {...}
                          • line: 9
                          • column: 3
                          }
                        }
                      • properties: [...] (3)
                        • Property {...}
                          • type: "Property"
                          • start: 70
                          • end: 84
                          • loc: {...}
                            • start: {...}
                              • line: 6
                              • column: 3
                              }
                            • end: {...}
                              • line: 6
                              • column: 17
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 70
                            • end: 74
                            • loc: {...}
                              • start: {...}
                                • line: 6
                                • column: 3
                                }
                              • end: {...}
                                • line: 6
                                • column: 7
                                }
                              }
                            • name: "type"
                            }
                          • value: Literal {...}
                            • type: "Literal"
                            • start: 76
                            • end: 84
                            • loc: {...}
                              • start: {...}
                                • line: 6
                                • column: 9
                                }
                              • end: {...}
                                • line: 6
                                • column: 17
                                }
                              }
                            • value: "folder"
                            • raw: "'folder'"
                            }
                          • kind: "init"
                          }
                        • Property {...}
                          • type: "Property"
                          • start: 89
                          • end: 117
                          • loc: {...}
                            • start: {...}
                              • line: 7
                              • column: 3
                              }
                            • end: {...}
                              • line: 7
                              • column: 31
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 89
                            • end: 93
                            • loc: {...}
                              • start: {...}
                                • line: 7
                                • column: 3
                                }
                              • end: {...}
                                • line: 7
                                • column: 7
                                }
                              }
                            • name: "name"
                            }
                          • value: Literal {...}
                            • type: "Literal"
                            • start: 95
                            • end: 117
                            • loc: {...}
                              • start: {...}
                                • line: 7
                                • column: 9
                                }
                              • end: {...}
                                • line: 7
                                • column: 31
                                }
                              }
                            • value: "Important work stuff"
                            • raw: "'Important work stuff'"
                            }
                          • kind: "init"
                          }
                        • Property {...}
                          • type: "Property"
                          • start: 122
                          • end: 179
                          • loc: {...}
                            • start: {...}
                              • line: 8
                              • column: 3
                              }
                            • end: {...}
                              • line: 8
                              • column: 60
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 122
                            • end: 127
                            • loc: {...}
                              • start: {...}
                                • line: 8
                                • column: 3
                                }
                              • end: {...}
                                • line: 8
                                • column: 8
                                }
                              }
                            • name: "files"
                            }
                          • value: ArrayExpression {...}
                            • type: "ArrayExpression"
                            • start: 129
                            • end: 179
                            • loc: {...}
                              • start: {...}
                                • line: 8
                                • column: 10
                                }
                              • end: {...}
                                • line: 8
                                • column: 60
                                }
                              }
                            • elements: [...] (1)
                              • ObjectExpression {...}
                                • type: "ObjectExpression"
                                • start: 130
                                • end: 178
                                • loc: {...}
                                  • start: {...}
                                    • line: 8
                                    • column: 11
                                    }
                                  • end: {...}
                                    • line: 8
                                    • column: 59
                                    }
                                  }
                                • properties: [...] (2)
                                  • Property {...}
                                    • type: "Property"
                                    • start: 132
                                    • end: 144
                                    • loc: {...}
                                      • start: {...}
                                        • line: 8
                                        • column: 13
                                        }
                                      • end: {...}
                                        • line: 8
                                        • column: 25
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 132
                                      • end: 136
                                      • loc: {...}
                                        • start: {...}
                                          • line: 8
                                          • column: 13
                                          }
                                        • end: {...}
                                          • line: 8
                                          • column: 17
                                          }
                                        }
                                      • name: "type"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 138
                                      • end: 144
                                      • loc: {...}
                                        • start: {...}
                                          • line: 8
                                          • column: 19
                                          }
                                        • end: {...}
                                          • line: 8
                                          • column: 25
                                          }
                                        }
                                      • value: "file"
                                      • raw: "'file'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 146
                                    • end: 176
                                    • loc: {...}
                                      • start: {...}
                                        • line: 8
                                        • column: 27
                                        }
                                      • end: {...}
                                        • line: 8
                                        • column: 57
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 146
                                      • end: 150
                                      • loc: {...}
                                        • start: {...}
                                          • line: 8
                                          • column: 27
                                          }
                                        • end: {...}
                                          • line: 8
                                          • column: 31
                                          }
                                        }
                                      • name: "name"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 152
                                      • end: 176
                                      • loc: {...}
                                        • start: {...}
                                          • line: 8
                                          • column: 33
                                          }
                                        • end: {...}
                                          • line: 8
                                          • column: 57
                                          }
                                        }
                                      • value: "quarterly-results.xlsx"
                                      • raw: "'quarterly-results.xlsx'"
                                      }
                                    • kind: "init"
                                    }
                                  ]
                                }
                              ]
                            }
                          • kind: "init"
                          }
                        ]
                      }
                    • ObjectExpression {...}
                      • type: "ObjectExpression"
                      • start: 187
                      • end: 730
                      • loc: {...}
                        • start: {...}
                          • line: 10
                          • column: 2
                          }
                        • end: {...}
                          • line: 34
                          • column: 3
                          }
                        }
                      • properties: [...] (3)
                        • Property {...}
                          • type: "Property"
                          • start: 192
                          • end: 206
                          • loc: {...}
                            • start: {...}
                              • line: 11
                              • column: 3
                              }
                            • end: {...}
                              • line: 11
                              • column: 17
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 192
                            • end: 196
                            • loc: {...}
                              • start: {...}
                                • line: 11
                                • column: 3
                                }
                              • end: {...}
                                • line: 11
                                • column: 7
                                }
                              }
                            • name: "type"
                            }
                          • value: Literal {...}
                            • type: "Literal"
                            • start: 198
                            • end: 206
                            • loc: {...}
                              • start: {...}
                                • line: 11
                                • column: 9
                                }
                              • end: {...}
                                • line: 11
                                • column: 17
                                }
                              }
                            • value: "folder"
                            • raw: "'folder'"
                            }
                          • kind: "init"
                          }
                        • Property {...}
                          • type: "Property"
                          • start: 211
                          • end: 230
                          • loc: {...}
                            • start: {...}
                              • line: 12
                              • column: 3
                              }
                            • end: {...}
                              • line: 12
                              • column: 22
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 211
                            • end: 215
                            • loc: {...}
                              • start: {...}
                                • line: 12
                                • column: 3
                                }
                              • end: {...}
                                • line: 12
                                • column: 7
                                }
                              }
                            • name: "name"
                            }
                          • value: Literal {...}
                            • type: "Literal"
                            • start: 217
                            • end: 230
                            • loc: {...}
                              • start: {...}
                                • line: 12
                                • column: 9
                                }
                              • end: {...}
                                • line: 12
                                • column: 22
                                }
                              }
                            • value: "Animal GIFs"
                            • raw: "'Animal GIFs'"
                            }
                          • kind: "init"
                          }
                        • Property {...}
                          • type: "Property"
                          • start: 235
                          • end: 726
                          • loc: {...}
                            • start: {...}
                              • line: 13
                              • column: 3
                              }
                            • end: {...}
                              • line: 33
                              • column: 4
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 235
                            • end: 240
                            • loc: {...}
                              • start: {...}
                                • line: 13
                                • column: 3
                                }
                              • end: {...}
                                • line: 13
                                • column: 8
                                }
                              }
                            • name: "files"
                            }
                          • value: ArrayExpression {...}
                            • type: "ArrayExpression"
                            • start: 242
                            • end: 726
                            • loc: {...}
                              • start: {...}
                                • line: 13
                                • column: 10
                                }
                              • end: {...}
                                • line: 33
                                • column: 4
                                }
                              }
                            • elements: [...] (5)
                              • ObjectExpression {...}
                                • type: "ObjectExpression"
                                • start: 248
                                • end: 412
                                • loc: {...}
                                  • start: {...}
                                    • line: 14
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 21
                                    • column: 5
                                    }
                                  }
                                • properties: [...] (3)
                                  • Property {...}
                                    • type: "Property"
                                    • start: 255
                                    • end: 269
                                    • loc: {...}
                                      • start: {...}
                                        • line: 15
                                        • column: 5
                                        }
                                      • end: {...}
                                        • line: 15
                                        • column: 19
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 255
                                      • end: 259
                                      • loc: {...}
                                        • start: {...}
                                          • line: 15
                                          • column: 5
                                          }
                                        • end: {...}
                                          • line: 15
                                          • column: 9
                                          }
                                        }
                                      • name: "type"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 261
                                      • end: 269
                                      • loc: {...}
                                        • start: {...}
                                          • line: 15
                                          • column: 11
                                          }
                                        • end: {...}
                                          • line: 15
                                          • column: 19
                                          }
                                        }
                                      • value: "folder"
                                      • raw: "'folder'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 276
                                    • end: 288
                                    • loc: {...}
                                      • start: {...}
                                        • line: 16
                                        • column: 5
                                        }
                                      • end: {...}
                                        • line: 16
                                        • column: 17
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 276
                                      • end: 280
                                      • loc: {...}
                                        • start: {...}
                                          • line: 16
                                          • column: 5
                                          }
                                        • end: {...}
                                          • line: 16
                                          • column: 9
                                          }
                                        }
                                      • name: "name"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 282
                                      • end: 288
                                      • loc: {...}
                                        • start: {...}
                                          • line: 16
                                          • column: 11
                                          }
                                        • end: {...}
                                          • line: 16
                                          • column: 17
                                          }
                                        }
                                      • value: "Dogs"
                                      • raw: "'Dogs'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 295
                                    • end: 406
                                    • loc: {...}
                                      • start: {...}
                                        • line: 17
                                        • column: 5
                                        }
                                      • end: {...}
                                        • line: 20
                                        • column: 6
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 295
                                      • end: 300
                                      • loc: {...}
                                        • start: {...}
                                          • line: 17
                                          • column: 5
                                          }
                                        • end: {...}
                                          • line: 17
                                          • column: 10
                                          }
                                        }
                                      • name: "files"
                                      }
                                    • value: ArrayExpression {...}
                                      • type: "ArrayExpression"
                                      • start: 302
                                      • end: 406
                                      • loc: {...}
                                        • start: {...}
                                          • line: 17
                                          • column: 12
                                          }
                                        • end: {...}
                                          • line: 20
                                          • column: 6
                                          }
                                        }
                                      • elements: [...] (2)
                                        • ObjectExpression {...}
                                          • type: "ObjectExpression"
                                          • start: 310
                                          • end: 349
                                          • loc: {...}
                                            • start: {...}
                                              • line: 18
                                              • column: 6
                                              }
                                            • end: {...}
                                              • line: 18
                                              • column: 45
                                              }
                                            }
                                          • properties: [...] (2)
                                            • Property {...}
                                              • type: "Property"
                                              • start: 312
                                              • end: 324
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 18
                                                  • column: 8
                                                  }
                                                • end: {...}
                                                  • line: 18
                                                  • column: 20
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 312
                                                • end: 316
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 18
                                                    • column: 8
                                                    }
                                                  • end: {...}
                                                    • line: 18
                                                    • column: 12
                                                    }
                                                  }
                                                • name: "type"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 318
                                                • end: 324
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 18
                                                    • column: 14
                                                    }
                                                  • end: {...}
                                                    • line: 18
                                                    • column: 20
                                                    }
                                                  }
                                                • value: "file"
                                                • raw: "'file'"
                                                }
                                              • kind: "init"
                                              }
                                            • Property {...}
                                              • type: "Property"
                                              • start: 326
                                              • end: 347
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 18
                                                  • column: 22
                                                  }
                                                • end: {...}
                                                  • line: 18
                                                  • column: 43
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 326
                                                • end: 330
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 18
                                                    • column: 22
                                                    }
                                                  • end: {...}
                                                    • line: 18
                                                    • column: 26
                                                    }
                                                  }
                                                • name: "name"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 332
                                                • end: 347
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 18
                                                    • column: 28
                                                    }
                                                  • end: {...}
                                                    • line: 18
                                                    • column: 43
                                                    }
                                                  }
                                                • value: "treadmill.gif"
                                                • raw: "'treadmill.gif'"
                                                }
                                              • kind: "init"
                                              }
                                            ]
                                          }
                                        • ObjectExpression {...}
                                          • type: "ObjectExpression"
                                          • start: 357
                                          • end: 399
                                          • loc: {...}
                                            • start: {...}
                                              • line: 19
                                              • column: 6
                                              }
                                            • end: {...}
                                              • line: 19
                                              • column: 48
                                              }
                                            }
                                          • properties: [...] (2)
                                            • Property {...}
                                              • type: "Property"
                                              • start: 359
                                              • end: 371
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 19
                                                  • column: 8
                                                  }
                                                • end: {...}
                                                  • line: 19
                                                  • column: 20
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 359
                                                • end: 363
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 19
                                                    • column: 8
                                                    }
                                                  • end: {...}
                                                    • line: 19
                                                    • column: 12
                                                    }
                                                  }
                                                • name: "type"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 365
                                                • end: 371
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 19
                                                    • column: 14
                                                    }
                                                  • end: {...}
                                                    • line: 19
                                                    • column: 20
                                                    }
                                                  }
                                                • value: "file"
                                                • raw: "'file'"
                                                }
                                              • kind: "init"
                                              }
                                            • Property {...}
                                              • type: "Property"
                                              • start: 373
                                              • end: 397
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 19
                                                  • column: 22
                                                  }
                                                • end: {...}
                                                  • line: 19
                                                  • column: 46
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 373
                                                • end: 377
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 19
                                                    • column: 22
                                                    }
                                                  • end: {...}
                                                    • line: 19
                                                    • column: 26
                                                    }
                                                  }
                                                • name: "name"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 379
                                                • end: 397
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 19
                                                    • column: 28
                                                    }
                                                  • end: {...}
                                                    • line: 19
                                                    • column: 46
                                                    }
                                                  }
                                                • value: "rope-jumping.gif"
                                                • raw: "'rope-jumping.gif'"
                                                }
                                              • kind: "init"
                                              }
                                            ]
                                          }
                                        ]
                                      }
                                    • kind: "init"
                                    }
                                  ]
                                }
                              • ObjectExpression {...}
                                • type: "ObjectExpression"
                                • start: 418
                                • end: 576
                                • loc: {...}
                                  • start: {...}
                                    • line: 22
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 29
                                    • column: 5
                                    }
                                  }
                                • properties: [...] (3)
                                  • Property {...}
                                    • type: "Property"
                                    • start: 425
                                    • end: 439
                                    • loc: {...}
                                      • start: {...}
                                        • line: 23
                                        • column: 5
                                        }
                                      • end: {...}
                                        • line: 23
                                        • column: 19
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 425
                                      • end: 429
                                      • loc: {...}
                                        • start: {...}
                                          • line: 23
                                          • column: 5
                                          }
                                        • end: {...}
                                          • line: 23
                                          • column: 9
                                          }
                                        }
                                      • name: "type"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 431
                                      • end: 439
                                      • loc: {...}
                                        • start: {...}
                                          • line: 23
                                          • column: 11
                                          }
                                        • end: {...}
                                          • line: 23
                                          • column: 19
                                          }
                                        }
                                      • value: "folder"
                                      • raw: "'folder'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 446
                                    • end: 459
                                    • loc: {...}
                                      • start: {...}
                                        • line: 24
                                        • column: 5
                                        }
                                      • end: {...}
                                        • line: 24
                                        • column: 18
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 446
                                      • end: 450
                                      • loc: {...}
                                        • start: {...}
                                          • line: 24
                                          • column: 5
                                          }
                                        • end: {...}
                                          • line: 24
                                          • column: 9
                                          }
                                        }
                                      • name: "name"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 452
                                      • end: 459
                                      • loc: {...}
                                        • start: {...}
                                          • line: 24
                                          • column: 11
                                          }
                                        • end: {...}
                                          • line: 24
                                          • column: 18
                                          }
                                        }
                                      • value: "Goats"
                                      • raw: "'Goats'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 466
                                    • end: 570
                                    • loc: {...}
                                      • start: {...}
                                        • line: 25
                                        • column: 5
                                        }
                                      • end: {...}
                                        • line: 28
                                        • column: 6
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 466
                                      • end: 471
                                      • loc: {...}
                                        • start: {...}
                                          • line: 25
                                          • column: 5
                                          }
                                        • end: {...}
                                          • line: 25
                                          • column: 10
                                          }
                                        }
                                      • name: "files"
                                      }
                                    • value: ArrayExpression {...}
                                      • type: "ArrayExpression"
                                      • start: 473
                                      • end: 570
                                      • loc: {...}
                                        • start: {...}
                                          • line: 25
                                          • column: 12
                                          }
                                        • end: {...}
                                          • line: 28
                                          • column: 6
                                          }
                                        }
                                      • elements: [...] (2)
                                        • ObjectExpression {...}
                                          • type: "ObjectExpression"
                                          • start: 481
                                          • end: 518
                                          • loc: {...}
                                            • start: {...}
                                              • line: 26
                                              • column: 6
                                              }
                                            • end: {...}
                                              • line: 26
                                              • column: 43
                                              }
                                            }
                                          • properties: [...] (2)
                                            • Property {...}
                                              • type: "Property"
                                              • start: 483
                                              • end: 495
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 26
                                                  • column: 8
                                                  }
                                                • end: {...}
                                                  • line: 26
                                                  • column: 20
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 483
                                                • end: 487
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 26
                                                    • column: 8
                                                    }
                                                  • end: {...}
                                                    • line: 26
                                                    • column: 12
                                                    }
                                                  }
                                                • name: "type"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 489
                                                • end: 495
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 26
                                                    • column: 14
                                                    }
                                                  • end: {...}
                                                    • line: 26
                                                    • column: 20
                                                    }
                                                  }
                                                • value: "file"
                                                • raw: "'file'"
                                                }
                                              • kind: "init"
                                              }
                                            • Property {...}
                                              • type: "Property"
                                              • start: 497
                                              • end: 516
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 26
                                                  • column: 22
                                                  }
                                                • end: {...}
                                                  • line: 26
                                                  • column: 41
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 497
                                                • end: 501
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 26
                                                    • column: 22
                                                    }
                                                  • end: {...}
                                                    • line: 26
                                                    • column: 26
                                                    }
                                                  }
                                                • name: "name"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 503
                                                • end: 516
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 26
                                                    • column: 28
                                                    }
                                                  • end: {...}
                                                    • line: 26
                                                    • column: 41
                                                    }
                                                  }
                                                • value: "parkour.gif"
                                                • raw: "'parkour.gif'"
                                                }
                                              • kind: "init"
                                              }
                                            ]
                                          }
                                        • ObjectExpression {...}
                                          • type: "ObjectExpression"
                                          • start: 526
                                          • end: 563
                                          • loc: {...}
                                            • start: {...}
                                              • line: 27
                                              • column: 6
                                              }
                                            • end: {...}
                                              • line: 27
                                              • column: 43
                                              }
                                            }
                                          • properties: [...] (2)
                                            • Property {...}
                                              • type: "Property"
                                              • start: 528
                                              • end: 540
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 27
                                                  • column: 8
                                                  }
                                                • end: {...}
                                                  • line: 27
                                                  • column: 20
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 528
                                                • end: 532
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 27
                                                    • column: 8
                                                    }
                                                  • end: {...}
                                                    • line: 27
                                                    • column: 12
                                                    }
                                                  }
                                                • name: "type"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 534
                                                • end: 540
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 27
                                                    • column: 14
                                                    }
                                                  • end: {...}
                                                    • line: 27
                                                    • column: 20
                                                    }
                                                  }
                                                • value: "file"
                                                • raw: "'file'"
                                                }
                                              • kind: "init"
                                              }
                                            • Property {...}
                                              • type: "Property"
                                              • start: 542
                                              • end: 561
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 27
                                                  • column: 22
                                                  }
                                                • end: {...}
                                                  • line: 27
                                                  • column: 41
                                                  }
                                                }
                                              • method: false
                                              • shorthand: false
                                              • computed: false
                                              • key: Identifier {...}
                                                • type: "Identifier"
                                                • start: 542
                                                • end: 546
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 27
                                                    • column: 22
                                                    }
                                                  • end: {...}
                                                    • line: 27
                                                    • column: 26
                                                    }
                                                  }
                                                • name: "name"
                                                }
                                              • value: Literal {...}
                                                • type: "Literal"
                                                • start: 548
                                                • end: 561
                                                • loc: {...}
                                                  • start: {...}
                                                    • line: 27
                                                    • column: 28
                                                    }
                                                  • end: {...}
                                                    • line: 27
                                                    • column: 41
                                                    }
                                                  }
                                                • value: "rampage.gif"
                                                • raw: "'rampage.gif'"
                                                }
                                              • kind: "init"
                                              }
                                            ]
                                          }
                                        ]
                                      }
                                    • kind: "init"
                                    }
                                  ]
                                }
                              • ObjectExpression {...}
                                • type: "ObjectExpression"
                                • start: 582
                                • end: 622
                                • loc: {...}
                                  • start: {...}
                                    • line: 30
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 30
                                    • column: 44
                                    }
                                  }
                                • properties: [...] (2)
                                  • Property {...}
                                    • type: "Property"
                                    • start: 584
                                    • end: 596
                                    • loc: {...}
                                      • start: {...}
                                        • line: 30
                                        • column: 6
                                        }
                                      • end: {...}
                                        • line: 30
                                        • column: 18
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 584
                                      • end: 588
                                      • loc: {...}
                                        • start: {...}
                                          • line: 30
                                          • column: 6
                                          }
                                        • end: {...}
                                          • line: 30
                                          • column: 10
                                          }
                                        }
                                      • name: "type"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 590
                                      • end: 596
                                      • loc: {...}
                                        • start: {...}
                                          • line: 30
                                          • column: 12
                                          }
                                        • end: {...}
                                          • line: 30
                                          • column: 18
                                          }
                                        }
                                      • value: "file"
                                      • raw: "'file'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 598
                                    • end: 620
                                    • loc: {...}
                                      • start: {...}
                                        • line: 30
                                        • column: 20
                                        }
                                      • end: {...}
                                        • line: 30
                                        • column: 42
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 598
                                      • end: 602
                                      • loc: {...}
                                        • start: {...}
                                          • line: 30
                                          • column: 20
                                          }
                                        • end: {...}
                                          • line: 30
                                          • column: 24
                                          }
                                        }
                                      • name: "name"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 604
                                      • end: 620
                                      • loc: {...}
                                        • start: {...}
                                          • line: 30
                                          • column: 26
                                          }
                                        • end: {...}
                                          • line: 30
                                          • column: 42
                                          }
                                        }
                                      • value: "cat-roomba.gif"
                                      • raw: "'cat-roomba.gif'"
                                      }
                                    • kind: "init"
                                    }
                                  ]
                                }
                              • ObjectExpression {...}
                                • type: "ObjectExpression"
                                • start: 628
                                • end: 670
                                • loc: {...}
                                  • start: {...}
                                    • line: 31
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 31
                                    • column: 46
                                    }
                                  }
                                • properties: [...] (2)
                                  • Property {...}
                                    • type: "Property"
                                    • start: 630
                                    • end: 642
                                    • loc: {...}
                                      • start: {...}
                                        • line: 31
                                        • column: 6
                                        }
                                      • end: {...}
                                        • line: 31
                                        • column: 18
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 630
                                      • end: 634
                                      • loc: {...}
                                        • start: {...}
                                          • line: 31
                                          • column: 6
                                          }
                                        • end: {...}
                                          • line: 31
                                          • column: 10
                                          }
                                        }
                                      • name: "type"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 636
                                      • end: 642
                                      • loc: {...}
                                        • start: {...}
                                          • line: 31
                                          • column: 12
                                          }
                                        • end: {...}
                                          • line: 31
                                          • column: 18
                                          }
                                        }
                                      • value: "file"
                                      • raw: "'file'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 644
                                    • end: 668
                                    • loc: {...}
                                      • start: {...}
                                        • line: 31
                                        • column: 20
                                        }
                                      • end: {...}
                                        • line: 31
                                        • column: 44
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 644
                                      • end: 648
                                      • loc: {...}
                                        • start: {...}
                                          • line: 31
                                          • column: 20
                                          }
                                        • end: {...}
                                          • line: 31
                                          • column: 24
                                          }
                                        }
                                      • name: "name"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 650
                                      • end: 668
                                      • loc: {...}
                                        • start: {...}
                                          • line: 31
                                          • column: 26
                                          }
                                        • end: {...}
                                          • line: 31
                                          • column: 44
                                          }
                                        }
                                      • value: "duck-shuffle.gif"
                                      • raw: "'duck-shuffle.gif'"
                                      }
                                    • kind: "init"
                                    }
                                  ]
                                }
                              • ObjectExpression {...}
                                • type: "ObjectExpression"
                                • start: 676
                                • end: 721
                                • loc: {...}
                                  • start: {...}
                                    • line: 32
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 32
                                    • column: 49
                                    }
                                  }
                                • properties: [...] (2)
                                  • Property {...}
                                    • type: "Property"
                                    • start: 678
                                    • end: 690
                                    • loc: {...}
                                      • start: {...}
                                        • line: 32
                                        • column: 6
                                        }
                                      • end: {...}
                                        • line: 32
                                        • column: 18
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 678
                                      • end: 682
                                      • loc: {...}
                                        • start: {...}
                                          • line: 32
                                          • column: 6
                                          }
                                        • end: {...}
                                          • line: 32
                                          • column: 10
                                          }
                                        }
                                      • name: "type"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 684
                                      • end: 690
                                      • loc: {...}
                                        • start: {...}
                                          • line: 32
                                          • column: 12
                                          }
                                        • end: {...}
                                          • line: 32
                                          • column: 18
                                          }
                                        }
                                      • value: "file"
                                      • raw: "'file'"
                                      }
                                    • kind: "init"
                                    }
                                  • Property {...}
                                    • type: "Property"
                                    • start: 692
                                    • end: 719
                                    • loc: {...}
                                      • start: {...}
                                        • line: 32
                                        • column: 20
                                        }
                                      • end: {...}
                                        • line: 32
                                        • column: 47
                                        }
                                      }
                                    • method: false
                                    • shorthand: false
                                    • computed: false
                                    • key: Identifier {...}
                                      • type: "Identifier"
                                      • start: 692
                                      • end: 696
                                      • loc: {...}
                                        • start: {...}
                                          • line: 32
                                          • column: 20
                                          }
                                        • end: {...}
                                          • line: 32
                                          • column: 24
                                          }
                                        }
                                      • name: "name"
                                      }
                                    • value: Literal {...}
                                      • type: "Literal"
                                      • start: 698
                                      • end: 719
                                      • loc: {...}
                                        • start: {...}
                                          • line: 32
                                          • column: 26
                                          }
                                        • end: {...}
                                          • line: 32
                                          • column: 47
                                          }
                                        }
                                      • value: "monkey-on-a-pig.gif"
                                      • raw: "'monkey-on-a-pig.gif'"
                                      }
                                    • kind: "init"
                                    }
                                  ]
                                }
                              ]
                            }
                          • kind: "init"
                          }
                        ]
                      }
                    • ObjectExpression {...}
                      • type: "ObjectExpression"
                      • start: 734
                      • end: 767
                      • loc: {...}
                        • start: {...}
                          • line: 35
                          • column: 2
                          }
                        • end: {...}
                          • line: 35
                          • column: 35
                          }
                        }
                      • properties: [...] (2)
                        • Property {...}
                          • type: "Property"
                          • start: 736
                          • end: 748
                          • loc: {...}
                            • start: {...}
                              • line: 35
                              • column: 4
                              }
                            • end: {...}
                              • line: 35
                              • column: 16
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 736
                            • end: 740
                            • loc: {...}
                              • start: {...}
                                • line: 35
                                • column: 4
                                }
                              • end: {...}
                                • line: 35
                                • column: 8
                                }
                              }
                            • name: "type"
                            }
                          • value: Literal {...}
                            • type: "Literal"
                            • start: 742
                            • end: 748
                            • loc: {...}
                              • start: {...}
                                • line: 35
                                • column: 10
                                }
                              • end: {...}
                                • line: 35
                                • column: 16
                                }
                              }
                            • value: "file"
                            • raw: "'file'"
                            }
                          • kind: "init"
                          }
                        • Property {...}
                          • type: "Property"
                          • start: 750
                          • end: 765
                          • loc: {...}
                            • start: {...}
                              • line: 35
                              • column: 18
                              }
                            • end: {...}
                              • line: 35
                              • column: 33
                              }
                            }
                          • method: false
                          • shorthand: false
                          • computed: false
                          • key: Identifier {...}
                            • type: "Identifier"
                            • start: 750
                            • end: 754
                            • loc: {...}
                              • start: {...}
                                • line: 35
                                • column: 18
                                }
                              • end: {...}
                                • line: 35
                                • column: 22
                                }
                              }
                            • name: "name"
                            }
                          • value: Literal {...}
                            • type: "Literal"
                            • start: 756
                            • end: 765
                            • loc: {...}
                              • start: {...}
                                • line: 35
                                • column: 24
                                }
                              • end: {...}
                                • line: 35
                                • column: 33
                                }
                              }
                            • value: "TODO.md"
                            • raw: "'TODO.md'"
                            }
                          • kind: "init"
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            • kind: "let"
            }
          ]
        • sourceType: "module"
        }
      • attributes: []
      }
    }
The AST is not public API and may change at any point in time
Recursive components • Playground • Svelte