Skip to content

仓库 files navigation

Phug Parser

What is Phug Parser?

The Phug parser utilizes the Phug lexer and parses the tokens it generates into an AST

Installation

Install via Composer

composer require phug/parser

Usage

$parser = new Phug\Parser($options);
$root = $parser->parse($pugInput);

//$root is now a Phug\Parser\Node\DocumentNode element

关于

No description, website, or topics provided.

Resources

Contributing

Stars

2 stars

关注者

2 watching

复刻s

发布

Sponsor this project

Used by

贡献者

Languages