Commit Graph

69 Commits

Author SHA1 Message Date
z7zmey
9a799fc3be scanner: fix heredoc 2018-04-06 00:24:00 +03:00
z7zmey
9ea1f05f90 add Heredoc node 2018-04-05 13:55:01 +03:00
z7zmey
5edfa095cb remove redundant nop before inline html 2018-04-02 00:02:13 +03:00
z7zmey
0a85cf2e1f issue #2 - fix backqouted strings
now it works as template strings
2018-03-30 18:35:18 +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
34aba57879 reorganize scanner_test.go
separate the template string test and heredoc test
2018-03-30 11:17:37 +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
e19df2783d visitor package tests 2018-02-27 23:38:05 +02:00
z7zmey
7a0e5fc758 update package comments 2018-02-20 20:22:15 +02:00
z7zmey
ac6432b6c9 fmt scanner/lexer.go 2018-02-19 13:36:12 +02:00
z7zmey
ae3f612879 Add simple comments to scanner exported methods 2018-02-19 13:34:44 +02:00
z7zmey
aee54762aa Add simple comments to scanner exported methods 2018-02-19 13:33:51 +02:00
z7zmey
ca6ee77850 scanner test 2018-02-17 18:50:09 +02:00
z7zmey
21ad25c581 scanner test 2018-02-17 18:25:57 +02:00
z7zmey
b2d35d353d scanner test 2018-02-17 12:53:10 +02:00
z7zmey
70c091d323 fix token consts 2018-01-29 16:11:45 +02:00
z7zmey
b93d24f95f split scanner and parser 2018-01-24 18:42:23 +02:00