Commit Graph

55 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
32d9c634d1 remove kylelemons/godebug 2019-02-25 18:12:39 +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
867095823d fixed bug when heredoc starts by \; removing \n from a heredoc value end 2018-07-14 18:00:48 +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
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
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
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
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
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
014b0576d6 fix Makefile, run gofmt on the all go files 2018-02-19 13:00:58 +02:00
z7zmey
6d714725bd php5 test coverage 2018-02-14 12:30:41 +02:00
z7zmey
0dac524c62 add php5 tests 2018-02-08 12:48:38 +02:00
z7zmey
b06fd9887d rename files add prefixes for nodes and tests files 2018-02-06 17:38:49 +02:00
z7zmey
2ddcbb52a4 fix tests 2018-02-04 21:44:58 +02:00
z7zmey
c6f73cf618 fix tests 2018-01-17 19:18:35 +02:00
z7zmey
76df2ba69b walker pakage 2018-01-17 19:01:28 +02:00
z7zmey
289f4d0767 update scalar tests 2018-01-12 15:13:05 +02:00
z7zmey
aa9468996c reorganize tests 2018-01-12 09:41:08 +02:00
z7zmey
e814483f37 add comments 2018-01-11 19:34:42 +02:00
z7zmey
068716a66d fix bugs: multibyte chars, null pointer in a list 2018-01-10 14:35:08 +02:00
z7zmey
2078a6cde6 extract positions package 2018-01-09 15:51:32 +02:00
z7zmey
99856ae32f extract comments package 2018-01-09 00:30:28 +02:00
z7zmey
b7b859edaa fix comments pointers 2018-01-08 21:50:39 +02:00
z7zmey
4ecb9edbd8 fix poiner receiver at nodes 2018-01-08 21:32:57 +02:00
z7zmey
855665b565 node constructors return concrete type 2018-01-08 21:18:09 +02:00
z7zmey
065e6ad203 fix comments pointers 2018-01-06 14:04:02 +02:00
vadim
21c0c7c86e handle comments 2018-01-05 17:09:04 +02:00
z7zmey
17bca8d1dc remove unused attributes fields 2018-01-05 00:12:01 +02:00
z7zmey
469db8f9e2 make nodes fields public 2018-01-04 23:26:04 +02:00
z7zmey
02807502d3 remove Attribute SetAttributes methods 2018-01-04 22:09:48 +02:00
z7zmey
dc8808a7d6 constructors return pointer 2018-01-04 20:42:44 +02:00
z7zmey
383a245370 remove name field 2018-01-04 20:29:07 +02:00
vadim
31cc11da0c fluent interface for node SetAttribure 2018-01-02 14:11:08 +02:00
z7zmey
30187b1db1 handle nodes positions 2017-12-31 20:53:55 +02:00
z7zmey
f2d972582f node position 2017-12-31 13:15:50 +02:00
z7zmey
8edc05c8d5 attributer interface 2017-12-31 11:57:55 +02:00
vadim
cdb405fcc7 add attributes fiald to all nodes 2017-12-29 17:53:13 +02:00