invalid ast for `silent`
See original GitHub issueInput:
$var = @foo() || @foo();
silent
node should be before call
, now it is before bin
Right output from php
parser:
array(
0: Stmt_Expression(
expr: Expr_Assign(
var: Expr_Variable(
name: var
)
expr: Expr_BinaryOp_BooleanOr(
left: Expr_ErrorSuppress(
expr: Expr_FuncCall(
name: Name(
parts: array(
0: foo
)
)
args: array(
)
)
)
right: Expr_ErrorSuppress(
expr: Expr_FuncCall(
name: Name(
parts: array(
0: foo
)
)
args: array(
)
)
)
)
)
)
)
But
$var = @(foo() || foo());
Output valid ast.
Very high priority.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
ERROR: Invalid AST Node when following Step-by-step Guide ...
I followed the Step-by-step Guide for v12.0.0 using the yarn-commands. Everything works fine, except when executing the very last command ...
Read more >How to stop clang AST misinterpreting this type of function ...
I am using clang's abstract syntax tree generation to generate an AST for some source files. It maps out normal functions great, ...
Read more >Documentation: 15: pg_ctl - PostgreSQL
pg_ctl is a utility for initializing a PostgreSQL database cluster, starting, stopping, or restarting the PostgreSQL database server (postgres), or displaying ...
Read more >Asterisk 17 Channels REST API
Play silence to a channel. DELETE. /channels/{channelId}/silence. void. Stop playing silence to a channel.
Read more >Groovy Language Documentation
Compatibility with AST transformations; Prefix and postfix operations ... Here are a few examples of valid identifiers (here, variable names):.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @evilebottnawi,
Sorry dude, had a lot of work to finish, I’m back on the project this week
Will be great if we fix some major bugs