Commit Graph

130 Commits

Author SHA1 Message Date
z7zmey
d552681a7d [#82] array item unpack 2019-12-29 22:42:52 +02:00
z7zmey
7b4c72a3af [#82] Arrow function and assign coalesce 2019-12-28 22:33:21 +02:00
z7zmey
ec6be0d9bd [#82] handle php version 2019-12-26 17:57:56 +02:00
z7zmey
2c649159c7 #80 implement Ragel based lexer 2019-03-20 21:06:56 +02:00
z7zmey
b3800a2595 rename meta to freefloating; refactoring 2019-02-25 15:01:57 +02:00
z7zmey
fd87c9cc34 remove StringVar attribute from expr.Variable 2018-10-24 17:04:13 +03:00
z7zmey
4989d31874 #51 saving optional tokes and tokens that have different representation as meta 2018-08-09 11:46:56 +03:00
z7zmey
18d6d59292 #50: nodes stmt.Exit and stmt.Die was merged 2018-07-10 00:51:02 +03:00
z7zmey
9f0e766757 update tests 2018-07-01 00:05:59 +03:00
z7zmey
e90df8ef5f #33 comment package has renamed to meta and parser now saves whitespaces 2018-06-30 23:23:19 +03:00
z7zmey
36d0cf4823 use empty *expr.ArrayItem to represent missed a list and array items. 2018-06-26 23:49:00 +03:00
z7zmey
b62cb4359b Merge branch 'master' into dev 2018-06-26 23:09:16 +03:00
z7zmey
290645f3c9 #44: do not trim last nil if array item list ends by a comma 2018-06-26 12:22:51 +03:00
z7zmey
10c63a30ae #44: fix crash on an empty list item 2018-06-26 11:57:17 +03:00
z7zmey
3cd45ecac5 #25: save comments within node 2018-06-26 00:07:02 +03:00
z7zmey
1ebb0c6fad #25: save position within node 2018-06-25 23:30:10 +03:00
z7zmey
dd572a8fed #31 dump to native golang struct 2018-06-19 22:56:52 +03:00
ia
19a9624931 all: gofmt
Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64

Signed-off-by: ia <isaac.ardis@gmail.com>
2018-06-17 00:37:47 +02:00
z7zmey
6ccca996a8 changing ClosureUse node purpose
Now ClosureUse is a container node for variable and reference nodes
2018-06-03 12:38:58 +03:00
z7zmey
ec0ef26bd6 create expr.Reference node
[wip] create expr.Reference node

[wip] create expr.Reference node

[wip] create expr.Reference node

fix
2018-06-03 11:35:14 +03:00
z7zmey
2abe1dfb84 create Root node 2018-06-02 18:57:30 +03:00
z7zmey
8fc4c60bfe create ArgumentList node 2018-05-30 00:14:24 +03:00
z7zmey
6f7834eb6b issue #8: update tests 2018-04-10 15:23:13 +03:00
z7zmey
6ff2beafa3 update tests 2018-04-09 23:26:44 +03:00
z7zmey
a0cc61bdc0 fix typo 2018-04-05 12:04:28 +03:00
z7zmey
47c51ea022 rename AssignRef to Reference 2018-04-05 12:03:32 +03:00
z7zmey
d19b16e161 remove Cast prefix from node names 2018-04-05 11:59:29 +03:00
z7zmey
d31819db30 issue #2 - deny numbers and slashes in first char in variable name 2018-03-30 14:28:50 +03:00
z7zmey
643027db9a trim $ from variable name identifier 2018-03-18 16:50:19 +02:00
z7zmey
e3ed427fac rename Walker to Walkable interface 2018-02-20 19:52:07 +02:00
z7zmey
4dda4fe7af remove underscore from package names 2018-02-19 13:12:09 +02:00
z7zmey
014b0576d6 fix Makefile, run gofmt on the all go files 2018-02-19 13:00:58 +02:00
z7zmey
1c6633e47d split Exit and Die nodes 2018-02-18 19:09:18 +02:00
z7zmey
30b6533864 php5 test coverage 2018-02-14 21:16:11 +02:00
z7zmey
b13d520387 php5 test coverage 2018-02-13 19:38:37 +02:00
z7zmey
0a34643856 php5 test coverage 2018-02-13 17:42:00 +02:00
z7zmey
5faf9769cf php5 test coverage 2018-02-13 13:38:57 +02:00
z7zmey
b5e6d263f3 php5 test coverage 2018-02-12 23:10:53 +02:00
z7zmey
1e356ee7e4 Yield YieldFrom tests 2018-02-10 15:08:54 +02:00
z7zmey
6343404ac5 Variable tests 2018-02-10 14:53:48 +02:00
z7zmey
84fabfac96 UnaryMinus UnaryPlus tests 2018-02-10 14:50:18 +02:00
z7zmey
d848606c80 ternary tests 2018-02-10 14:48:15 +02:00
z7zmey
be266a44a8 StaticPropertyFetch tests 2018-02-10 14:41:28 +02:00
z7zmey
e7ee9a9703 StaticCall tests 2018-02-10 14:36:19 +02:00
z7zmey
0efba8456f ShortList tests 2018-02-10 14:32:03 +02:00
z7zmey
f8e83c2b53 ShortArray tests 2018-02-10 14:21:47 +02:00
z7zmey
398645631f ShallExec tests 2018-02-10 14:19:50 +02:00
z7zmey
2745cf4c26 PropertyFetch tests 2018-02-10 13:49:14 +02:00
z7zmey
3b0c08a698 Print tests 2018-02-10 13:44:53 +02:00
z7zmey
647207e97b PostDec PostInc PreDec PreInc tests 2018-02-10 13:43:52 +02:00