rictic / twinkie

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Apache License 2.0


Languages

Language:TypeScript 87.4%Language:HTML 11.9%Language:JavaScript 0.7%