Skip to content

A polymer(1)&&(2) template parser + interface printer

License

Notifications You must be signed in to change notification settings

samccone/twinkie

Repository files navigation

Flow Of Processing

* DOM_WALKER
* EXPRESSION_EXTRACTOR
* AST_BUILDER
* AST_TREE_BUILDER
* PRINTER

How to use

To print the generated class:

./bin.js test/data/nested.html

To print a faux use of the class:

./bin.js test/data/nested.html MyView --print-use

To print a faux use of the class passing undefined to all args for polymer 2:

./bin.js test/data/nested.html MyView --print-use --undefined-check