Commit Graph

241 Commits

Author SHA1 Message Date
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
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
ac74ae3225 create ClassExtends ClassImplements InterfaceExtends nodes 2018-06-03 10:50:37 +03:00
z7zmey
a488f43496 remove nodesWithEndToken type 2018-06-03 09:35:44 +03:00
z7zmey
2abe1dfb84 create Root node 2018-06-02 18:57:30 +03:00
z7zmey
d1b0cebf9a create CaseList node 2018-06-02 17:40:47 +03:00
z7zmey
f8d9d6d7c2 create TraitAdaptationList node 2018-06-02 17:12:24 +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
9ea1f05f90 add Heredoc node 2018-04-05 13:55:01 +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
148cf59e9d issue #2 - fix single line comment
fix handling end of file
add handling php close tag
2018-03-30 17:46:04 +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
07f02e4497 issue #2 - fix template string scanning
now it correctly check first char of variable
2018-03-30 12:23:18 +03:00
z7zmey
83bb761062 issue #2 - fix template string scanning
`l.Prev.Rune` is actually current rune and `c` is next rune.
2018-03-29 16:46:21 +03:00
z7zmey
c84c8b2106 remove debug.test 2018-03-18 22:36:14 +02:00
z7zmey
643027db9a trim $ from variable name identifier 2018-03-18 16:50:19 +02:00
z7zmey
25798f6445 Names interface 2018-02-27 15:34:43 +02:00
z7zmey
e3ed427fac rename Walker to Walkable interface 2018-02-20 19:52:07 +02:00
z7zmey
9b674c2c12 Add simple comments to exported methods 2018-02-19 13:24:56 +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
e75a625528 split Switch and AltSwitch nodes 2018-02-18 20:39:41 +02:00
z7zmey
d0296f78e3 split Foreach and AltForeach nodes 2018-02-18 20:29:33 +02:00
z7zmey
3836a86a47 split For and AltFor nodes 2018-02-18 19:57:54 +02:00
z7zmey
d498ea9863 slit While and AltWhile 2018-02-18 19:44:17 +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
6d714725bd php5 test coverage 2018-02-14 12:30:41 +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
edc2513433 php5 test coverage 2018-02-13 12:33:21 +02:00
z7zmey
172f46d0f7 php5 test coverage 2018-02-13 12:16:53 +02:00
z7zmey
b5e6d263f3 php5 test coverage 2018-02-12 23:10:53 +02:00
z7zmey
98b1698db7 php5 test coverage 2018-02-12 16:37:13 +02:00
z7zmey
bf90803ef3 fix parsing php5 parameters 2018-02-12 12:09:56 +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