astexplorer.net
Open in
urlscan Pro
188.114.97.3
Public Scan
Submitted URL: http://astexplorer.net/
Effective URL: https://astexplorer.net/
Submission: On April 15 via api from US — Scanned from NL
Effective URL: https://astexplorer.net/
Submission: On April 15 via api from US — Scanned from NL
Form analysis
0 forms found in the DOMText Content
AST EXPLORER Snippet * New * Save * Fork * Share... JavaScript * CSS * GLSL * Go * GraphQL * Graphviz * Handlebars * HTML * ICU * Java * JavaScript * JSON * Lua * Lucene * Markdown * Math.js * MDX * Monkey * OCaml * PHP * Protocol Buffers * Pug * Python * Reason * RegExp * Rust * San * Scala * Solidity * SQL * Svelte * Thrift IDL * Vue * WAT * Web IDL * YAML acorn * acorn * @babel/eslint-parser * babel-eslint9 * @babel/parser * esformatter * espree * esprima * flow * hermes-parser * meriyah * recast * seafox * shift * swc * tenko * traceur * @typescript-eslint/parser * typescript * uglify-js Transform * babel-plugin-macros * babelv7 * ESLint v4 * ESLint v8 * jscodeshift * prettier * recast * tslint * typescript default * default * vim * emacs * sublime Parser: acorn-8.7.0 xxxxxxxxxx 1 /** 2 * Paste or drop some JavaScript here and explore 3 * the syntax tree created by chosen parser. 4 * You can use all the cool new features from ES6 5 * and even more. Enjoy! 6 */ 7 8 let tips = [ 9 "Click on any AST node with a '+' to expand it", 10 11 "Hovering over a node highlights the \ 12 corresponding location in the source code", 13 14 "Shift click on an AST node to expand the whole subtree" 15 ]; 16 17 function printTips() { 18 tips.forEach((tip, i) => console.log(`Tip ${i}:` + tip)); 19 } 20 TreeJSON53ms Autofocus Hide methods Hide empty keys Hide location data Hide type keys * Program { * type: "Program" * start: 0 * end: 481 * body: [ * VariableDeclaration {type, start, end, declarations, kind} * FunctionDeclaration {type, start, end, id, expression, ... +4} ] * sourceType: "module" } Built with React, Babel, Font Awesome, CodeMirror, Express, and webpack | GitHub | Build: 8888701