Commit Graph

39 Commits

Author SHA1 Message Date
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
a7229f53dd rename flag -meta to -ff 2019-02-25 16:52:47 +02:00
z7zmey
b3800a2595 rename meta to freefloating; refactoring 2019-02-25 15:01:57 +02:00
z7zmey
02a77f7fb0 #63: print valid code even without meta 2019-02-01 23:43:04 +02:00
z7zmey
efbc5b2291 #70: [php7] fix meta filter 2018-12-31 17:06:27 +02:00
z7zmey
f406a441a9 #70: [php7] inherit meta.Data at stmt.Expression and stmt.Label 2018-12-25 11:56:32 +02:00
z7zmey
d155c563ef Merge branch 'master' into dev 2018-11-05 17:14:09 +02:00
z7zmey
69e3111221 #67: skip unexpected character in input 2018-11-05 16:56:27 +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
e90df8ef5f #33 comment package has renamed to meta and parser now saves whitespaces 2018-06-30 23:23:19 +03:00
z7zmey
b62cb4359b Merge branch 'master' into dev 2018-06-26 23:09:16 +03:00
z7zmey
10c63a30ae #44: fix crash on an empty list item 2018-06-26 11:57:17 +03:00
z7zmey
1ebb0c6fad #25: save position within node 2018-06-25 23:30:10 +03:00
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
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
343896d019 issue #8: php5 and php7 package refactoring 2018-04-10 01:03:20 +03:00
z7zmey
83a1400a4f error tolerant parsing 2018-04-09 23:08:29 +03: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
d498ea9863 slit While and AltWhile 2018-02-18 19:44:17 +02:00
z7zmey
f546db54b6 cmd: add php5 flag 2018-02-06 12:39:42 +02:00
z7zmey
e1993b7b5c prepare php5 parser files 2018-01-26 15:24:56 +02:00