Open kulshekhar opened 7 years ago
I would like to get tokens before rendering too.
What I want is to make sure if any token cannot be rendered with context, then I put a default value to context for it before rendering.
It's possible but not publicly exposed.
You can import: mustache/lib/src/parser.dart and then call parse() which returns List<Node>
.
Is it possible to use this package to fetch the AST of a mustache template?