Created
December 18, 2018 21:28
-
-
Save timlindvall/645a444f37066a58f25384713b7af822 to your computer and use it in GitHub Desktop.
Outputted AST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "Program", | |
"body": [ | |
{ | |
"type": "MustacheStatement", | |
"path": { | |
"type": "PathExpression", | |
"original": "content-for", | |
"this": false, | |
"parts": [ | |
"content-for" | |
], | |
"data": false, | |
"loc": { | |
"start": { | |
"line": 8, | |
"column": 6 | |
}, | |
"end": { | |
"line": 8, | |
"column": 17 | |
} | |
} | |
}, | |
"params": [ | |
{ | |
"type": "StringLiteral", | |
"value": "head", | |
"original": "head", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 8, | |
"column": 18 | |
}, | |
"end": { | |
"line": 8, | |
"column": 24 | |
} | |
} | |
} | |
], | |
"hash": { | |
"type": "Hash", | |
"pairs": [], | |
"loc": { | |
"source": "(synthetic)", | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 1, | |
"column": 0 | |
} | |
} | |
}, | |
"escaped": true, | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 8, | |
"column": 4 | |
}, | |
"end": { | |
"line": 8, | |
"column": 26 | |
} | |
} | |
}, | |
{ | |
"type": "MustacheStatement", | |
"path": { | |
"type": "PathExpression", | |
"original": "content-for", | |
"this": false, | |
"parts": [ | |
"content-for" | |
], | |
"data": false, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 6 | |
}, | |
"end": { | |
"line": 9, | |
"column": 17 | |
} | |
} | |
}, | |
"params": [ | |
{ | |
"type": "StringLiteral", | |
"value": "head-footer", | |
"original": "head-footer", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 9, | |
"column": 18 | |
}, | |
"end": { | |
"line": 9, | |
"column": 31 | |
} | |
} | |
} | |
], | |
"hash": { | |
"type": "Hash", | |
"pairs": [], | |
"loc": { | |
"source": "(synthetic)", | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 1, | |
"column": 0 | |
} | |
} | |
}, | |
"escaped": true, | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 9, | |
"column": 4 | |
}, | |
"end": { | |
"line": 9, | |
"column": 33 | |
} | |
} | |
}, | |
{ | |
"type": "MustacheStatement", | |
"path": { | |
"type": "PathExpression", | |
"original": "content-for", | |
"this": false, | |
"parts": [ | |
"content-for" | |
], | |
"data": false, | |
"loc": { | |
"start": { | |
"line": 12, | |
"column": 6 | |
}, | |
"end": { | |
"line": 12, | |
"column": 17 | |
} | |
} | |
}, | |
"params": [ | |
{ | |
"type": "StringLiteral", | |
"value": "body", | |
"original": "body", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 12, | |
"column": 18 | |
}, | |
"end": { | |
"line": 12, | |
"column": 24 | |
} | |
} | |
} | |
], | |
"hash": { | |
"type": "Hash", | |
"pairs": [], | |
"loc": { | |
"source": "(synthetic)", | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 1, | |
"column": 0 | |
} | |
} | |
}, | |
"escaped": true, | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 12, | |
"column": 4 | |
}, | |
"end": { | |
"line": 12, | |
"column": 26 | |
} | |
} | |
}, | |
{ | |
"type": "MustacheStatement", | |
"path": { | |
"type": "PathExpression", | |
"original": "content-for", | |
"this": false, | |
"parts": [ | |
"content-for" | |
], | |
"data": false, | |
"loc": { | |
"start": { | |
"line": 13, | |
"column": 6 | |
}, | |
"end": { | |
"line": 13, | |
"column": 17 | |
} | |
} | |
}, | |
"params": [ | |
{ | |
"type": "StringLiteral", | |
"value": "body-footer", | |
"original": "body-footer", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 13, | |
"column": 18 | |
}, | |
"end": { | |
"line": 13, | |
"column": 31 | |
} | |
} | |
} | |
], | |
"hash": { | |
"type": "Hash", | |
"pairs": [], | |
"loc": { | |
"source": "(synthetic)", | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 1, | |
"column": 0 | |
} | |
} | |
}, | |
"escaped": true, | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 13, | |
"column": 4 | |
}, | |
"end": { | |
"line": 13, | |
"column": 33 | |
} | |
} | |
} | |
], | |
"blockParams": [], | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 16, | |
"column": 0 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment