Commit Graph

23 Commits

Author SHA1 Message Date
mappu 78bd54ad13 node: implement switch, break, continue (basic) 2020-04-12 14:41:33 +12:00
mappu 5105293ce6 node: basic support for *expr.Closure 2020-04-11 12:46:28 +12:00
mappu d3d3d34116 node: emit static ::class as class name string literal 2020-04-11 12:44:37 +12:00
mappu df2fc21324 implement walkMutate(*node); completely transform AltIf->If 2020-04-10 17:37:59 +12:00
mappu 75b13e0842 test: add if/else fixture including AltIf 2020-04-10 11:23:47 +12:00
mappu 314d65a459 node: support magic __FILE__, __LINE__ etc constants 2020-04-09 19:39:23 +12:00
mappu e3295e1368 test: add fixture for global scalars 2020-04-08 20:34:00 +12:00
mappu 9b5b72392f test: add (failing) test for different types of const define 2020-04-08 20:02:45 +12:00
mappu e9aa553216 stmt: propagate err checks to top-level function calls and assignment calls 2020-04-07 23:25:43 +12:00
mappu 52ccea5d65 node: initial try/catch support, track the error handler (WIP) 2020-04-07 22:52:42 +12:00
mappu 19d7cc469a node: support interfaces 2020-04-07 21:53:00 +12:00
mappu 8752e8349c test: disable (XFAIL) the interface-assertion test case 2020-04-07 21:52:19 +12:00
mappu 49241e7a8c node: preserve comments 2020-04-07 18:27:20 +12:00
mappu 2568412a50 stmt: add failing test for assignment expressions (need hoisting) 2020-04-05 19:41:21 +12:00
mappu 28937fc384 stmt/class: support super() calls 2020-04-05 19:11:05 +12:00
mappu 67932cd296 stmt/class: support static calls 2020-04-05 18:23:52 +12:00
mappu cdfa7df4fa stmt: support static methods 2020-04-05 18:05:32 +12:00
mappu cdeea4c09c stmt/html: switch to backtick-delimited string for large multiline cases 2020-04-05 17:46:25 +12:00
mappu 68b554a6ec stmt: initial array support 2020-04-05 17:39:22 +12:00
mappu 1224a5906a node: support leaving php context 2020-04-05 17:11:11 +12:00
mappu 90ce6af6dd stmt/for: hoist multiple initial conditions from 3-clause for loops 2020-04-05 16:43:27 +12:00
mappu 1206881bec fixtures: exclude *.parse.json from git 2020-04-05 16:37:34 +12:00
mappu 872c878857 initial commit 2020-04-05 16:35:44 +12:00