0.3.0 • Published 8 months ago

pugneum-linker v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

pugneum-linker

Link multiple pugneum ASTs together using include/extends

Installation

npm install pugneum-linker

Usage

var link = require('pugneum-linker');

link(ast)

Flatten the pugneum AST of inclusion and inheritance.

This function merely links the AST together. It doesn't read the file system to resolve and parse included and extended files. Thus, the main AST must already have the ASTs of the included and extended files embedded in the FileReference nodes. pugneum-loader is designed to do that.

License

MIT

0.3.0

8 months ago

0.2.0

8 months ago

0.1.2

8 months ago

0.1.1

9 months ago

0.1.0

9 months ago