mck89/peast
Peast is a PHP 5.4+ library that parses JavaScript per the ECMAScript spec and builds an abstract syntax tree following the ESTree standard. It also supports tokenization, tree traversal, selector queries, and rendering.
const declarations were allowed without an initializerconst declarations were allowed without an initializercontinue and break were allowed outside iteration and break statements/= raised a syntax errorlet and const inside switch cases that always require bracketslet and const inside if, for and while that always require brackets#field in obj syntaxrawName that contains their raw name, including unconverted unicode escape sequences, while the name property still contains the converted value as before. Renderer now prints rawName for identifiers to prevent automatic conversion of escaped keywords.How can I help you explore Laravel packages today?