Commit Graph

57 Commits

Author SHA1 Message Date
z7zmey
bfc346ebab #40 reduce memory allocations for position.Position by using sync.Pool 2018-06-12 21:14:11 +03:00
z7zmey
2737e98559 #27 reduce memory allocations for scanner.Token by using sync.Pool 2018-06-12 19:37:22 +03:00
z7zmey
43451a070f #26 replace TrimLeft by TrimLeftFunc 2018-06-10 14:53:10 +03:00
z7zmey
af379a61dd Merge branch 'comments3' 2018-06-07 15:06:54 +03:00
z7zmey
944a343f0f php5: save all comments 2018-06-07 02:25:27 +03:00
z7zmey
58597aae21 #28 fix race conditions 2018-06-06 19:47:28 +03:00
z7zmey
deccf266d9 save expr.Exit and expr.Die comments 2018-06-03 13:43:27 +03:00
z7zmey
22cca215df create ForInitSemicolonToken and ForCondSemicolonToken comment anchors 2018-06-03 12:50:08 +03: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
cf4fb26764 remove boolWithToken type 2018-06-03 10:19:46 +03:00
z7zmey
e93874f644 remove altSintaxNode type 2018-06-03 09:47:26 +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
b383fe98fe create token name constants in comment package 2018-05-27 22:15:27 +03:00
z7zmey
e396f81eea php7: save all comments 2018-05-27 18:07:26 +03:00
z7zmey
a28fd2e8ec rename lastToken to currentToken 2018-04-15 23:04:24 +03:00
z7zmey
435dc5c706 scanner.NewToken returns pointer, and scanner.Token saves position as position.Position 2018-04-15 22:59:06 +03:00
z7zmey
bc15825663 rename PositionBuilder 2018-04-15 22:06:02 +03:00
z7zmey
56127a4a2c move Positions and Comments into parser package 2018-04-15 22:02:07 +03:00
z7zmey
781a55659b save comment position 2018-04-15 21:39:26 +03:00
z7zmey
c2f938e55c merge DocComment and PlainComment 2018-04-15 15:55:33 +03:00
z7zmey
e65ace8984 merge token package into scanner package 2018-04-15 14:47:40 +03:00
z7zmey
316ed6e851 issue #8: cli - parse concurrently 2018-04-10 20:23:25 +03:00
z7zmey
0cf164c11c issue #8: update Parser constructor 2018-04-10 16:19:47 +03:00
z7zmey
6f7834eb6b issue #8: update tests 2018-04-10 15:23:13 +03:00
z7zmey
343896d019 issue #8: php5 and php7 package refactoring 2018-04-10 01:03:20 +03:00
z7zmey
6ff2beafa3 update tests 2018-04-09 23:26:44 +03:00
z7zmey
83a1400a4f error tolerant parsing 2018-04-09 23:08:29 +03:00
z7zmey
9ea1f05f90 add Heredoc node 2018-04-05 13:55:01 +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
643027db9a trim $ from variable name identifier 2018-03-18 16:50:19 +02:00
z7zmey
7a0e5fc758 update package comments 2018-02-20 20:22:15 +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
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
f107e8bb57 add php5 and php7 benchmark 2018-02-18 14:25:20 +02:00
z7zmey
55316625e8 php7 test coverage 2018-02-17 00:00:46 +02:00
z7zmey
a9d06733bc php7 test coverage 2018-02-16 18:11:53 +02:00
z7zmey
6fbcde6847 php7 parser test 2018-02-10 18:28:15 +02:00
z7zmey
d79f18f315 expr visitor tests 2018-02-10 02:02:54 +02:00