Commit Graph

941 Commits

Author SHA1 Message Date
z7zmey
5144644d92 remove meta.StartHeredocToken 2018-12-10 11:53:22 +02:00
z7zmey
11882949a7 remove meta.DoubleQuoteToken 2018-12-10 11:53:22 +02:00
z7zmey
3aa4406a95 remove meta.EncapsedAndWhitespaceToken 2018-12-10 11:53:22 +02:00
z7zmey
0d3a222673 remove meta.LnumberToken and meta.DnumberToken 2018-12-10 11:53:22 +02:00
z7zmey
379032b8c5 remove meta.NamespaceToken 2018-12-10 11:53:22 +02:00
z7zmey
16de29a2a3 remove meta.ConstantEncapsedStringToken and meta.StringToken 2018-12-10 11:53:22 +02:00
z7zmey
aa9fb90138 remove meta.QuestionMarkToken from node.Nullable 2018-12-10 11:53:22 +02:00
z7zmey
d232d3ae6b remove meta.UnknownToken 2018-12-10 11:53:22 +02:00
z7zmey
2efb4dc4cf remove meta.IdentifierToken 2018-12-10 11:53:22 +02:00
z7zmey
dbdedc20de feat: add StopOnFailureFilter for meta.Collection 2018-12-10 11:52:24 +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
5e964e074b remove meta.VariableToken meta.DollarOpenCurlyBracesToken meta.DollarToken and fix go_dumper 2018-10-24 22:32:35 +03:00
z7zmey
fd87c9cc34 remove StringVar attribute from expr.Variable 2018-10-24 17:04:13 +03:00
z7zmey
b805f0b167 #62: save the all text after __halt_compiler(); as Meta 2018-09-13 20:07:50 +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
4133a65afe update .travis.yml 2018-08-07 00:57:30 +03:00
Vadym Slizov
a4c7bff692
Update README.md
budges updating
2018-08-06 21:16:47 +03:00
z7zmey
c0237a3cdb init travis 2018-08-06 21:06:02 +03:00
z7zmey
0138749c6d Merge branch 'master' into dev 2018-07-24 22:24:32 +03:00
z7zmey
623a90a418 #56: now, __halt_compiler(); terminates parsing process 2018-07-24 21:49:26 +03:00
z7zmey
1a495d615b #58: fixed /**/ comment termination 2018-07-23 20:50:02 +03:00
Vadym Slizov
4d2484867b
Merge pull request #59 from imuli/slash-star-slash
prevent interpreting `/*/` as an entire comment
2018-07-23 20:28:05 +03:00
z7zmey
96265403d0 #57 test 2018-07-23 19:27:06 +03:00
Vadym Slizov
55a136e9f7
Merge pull request #60 from imuli/backslash-newline
accept backslash newline in single quotes
2018-07-23 19:18:39 +03:00
Imuli
5675714af8 accept backslash newline in single quotes
fixes #57
2018-07-20 19:55:01 -04:00
Imuli
3f86e882d3 prevent interpreting /*/ as an entire comment
fixes #58
2018-07-20 07:14:53 -04:00
z7zmey
f89d7d3a17 Merge branch 'master' into dev 2018-07-14 18:38:10 +03:00
Vadym Slizov
731a0ed1c4
Merge pull request #54 from imuli/other-unicode
distinguish unknown unicode characters from EOF
2018-07-14 18:35:40 +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
Imuli
3ba2d2a91b distinguish unknown unicode characters from EOF 2018-07-14 08:06:00 -04:00
z7zmey
4da7b36056 created TokenPool 2018-07-12 10:53:36 +03:00
z7zmey
b70fb72a45 small improvements 2018-07-11 18:59:04 +03:00
z7zmey
8df2e7cef1 delete spew dump 2018-07-11 18:05:38 +03:00
z7zmey
f32a4b24c9 trace profiling added 2018-07-11 17:01:31 +03:00
z7zmey
18d6d59292 #50: nodes stmt.Exit and stmt.Die was merged 2018-07-10 00:51:02 +03:00
z7zmey
a69e899f04 Merge branch 'master' into dev 2018-07-09 22:04:18 +03:00
z7zmey
6d554c0468 #49: pretty printer wraps variables by curly braced in double-quoted strings 2018-07-09 21:37:19 +03:00
Vadym Slizov
d2655bd75b
Update ISSUE_TEMPLATE.md 2018-07-09 21:19:33 +03:00
z7zmey
15a1a81924 #13: the printer prints nodes with meta(comments and whitespaces) saved by the parser 2018-07-08 01:48:52 +03:00
z7zmey
c4c0934c51 tokens constants moved to lexer_tokens.go 2018-07-08 01:06:49 +03:00
z7zmey
978e609f29 fmt 2018-07-01 00:38:31 +03:00
z7zmey
8de55d266c Makefile is updated 2018-07-01 00:35:32 +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
36d0cf4823 use empty *expr.ArrayItem to represent missed a list and array items. 2018-06-26 23:49:00 +03:00
z7zmey
b62cb4359b Merge branch 'master' into dev 2018-06-26 23:09:16 +03:00
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
z7zmey
3cd45ecac5 #25: save comments within node 2018-06-26 00:07:02 +03:00