0.0.34 • Published 3 months ago

@coli.codes/ast-formatter v0.0.34

Weekly downloads
-
License
Apache 2.0
Repository
-
Last release
3 months ago

Coli AST Formatter.

This is a package to format a coli tree with a extra token injected. this does not outputs a string, but a coli tree.

Use case.

this package is initially designed for integration with @code-ui, to enable using very same coli syntax to build a code-ui. the problem was, coli core does not contain any raw token information such as { or <. which means if you define a object-literal expression, it will contain only the data that is included inside { and } based on its output. But @code-ui requires full syntax with all raw tokens, still using the same coli object. to pollyfill this gap witout stringfy & re-parsing, this package injects the raw token as a ast, so that the same format can be used universally.

0.0.34

3 months ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.18

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago