Ioan CHIRIAC

Results 28 issues of Ioan CHIRIAC

Prepare the parser to PHP 8 : - [x] https://wiki.php.net/rfc/union_types_v2 Work In Progress as RFC are not yet closed

help wanted
good first issue

Improve the coverage with mocha : - [ ] 100% of lines of code - [ ] 100% of statements - [ ] > 95% of branches

enhancement
help wanted
good first issue

implement a visitor helper in order to handle AST transversal : ```js const ast = parser.parse('...some code...'); // visiting child nodes : ast.visit(function(node) { // do something }); // filtering...

help wanted
feature
AST
good first issue

The `A` from AST stands for Abstract, meaning it does not matters about source code formatting. This can result to removing/loosing some extra informations, and that makes impossible to transform...

enhancement
question
feature

related to https://github.com/prettier/plugin-php/issues/1053 - should be released on v3 stable if this issue is validated

enhancement
feature

The lexer speed (reading a string from memory) is about 2,5 millions tokens / sec (depends on CPU). It's about 3 times more slower than original PHP algorithm, but about...

enhancement
PARSER
LEXER

Hi, I'm looking for an asset oriented server. Yours seems great, not tested yet but I saw something weird in the code here : https://github.com/zeit/serve-handler/blob/master/src/index.js#L751 You could make the check...

Integrate https://github.com/glayzzle/php-unparser as external library in order to format back PHP code. This library consume php-parser AST tree and builds back the PHP formatting with proper indentation. Can try here...

feature
epic
help-wanted
proposed

Hi @nevadascout, @chris-l made a great work around a library for rebuilding code source from AST. We could easily provide a code formatting command using his library located here :...

feature
question

We could improve suggestions when declaring a new function into a class. When starting to type into a class body : ![image](https://cloud.githubusercontent.com/assets/173203/24061608/59b7c5b4-0b58-11e7-81b1-2c69e97bbfb0.png) We should have : * public * protected...

feature
epic
improvement