https://github.com/samccone/twinkie
A polymer(1)&&(2) template parser + interface printer
https://github.com/samccone/twinkie
polymer
Last synced: 12 months ago
JSON representation
A polymer(1)&&(2) template parser + interface printer
- Host: GitHub
- URL: https://github.com/samccone/twinkie
- Owner: samccone
- License: apache-2.0
- Created: 2017-07-16T02:24:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T18:35:35.000Z (about 3 years ago)
- Last Synced: 2025-06-01T15:46:16.530Z (about 1 year ago)
- Topics: polymer
- Language: TypeScript
- Homepage:
- Size: 481 KB
- Stars: 5
- Watchers: 2
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```