Commit Graph

81 Commits

Author SHA1 Message Date
z7zmey
7995d41139 replace meta.DecToken and meta.IncToken 2018-12-10 11:53:24 +02:00
z7zmey
fb8ec01280 remove meta.NewAnchor 2018-12-10 11:53:24 +02:00
z7zmey
67dfb0773c remove meta.ListToken 2018-12-10 11:53:24 +02:00
z7zmey
ff0732a360 remove meta.IssetToken 2018-12-10 11:53:24 +02:00
z7zmey
6995b20aef remove meta.IncludeOnceToken 2018-12-10 11:53:24 +02:00
z7zmey
fb6d21fe6e remove meta.IncludeToken 2018-12-10 11:53:24 +02:00
z7zmey
5159b0f473 remove meta.ExitToken 2018-12-10 11:53:24 +02:00
z7zmey
89064d4530 remove meta.EvalToken 2018-12-10 11:53:23 +02:00
z7zmey
24293377b6 remove meta.AtToken 2018-12-10 11:53:23 +02:00
z7zmey
3b5fd08743 remove meta.EmptyToken 2018-12-10 11:53:23 +02:00
z7zmey
221129e959 remove meta.StaticToken 2018-12-10 11:53:23 +02:00
z7zmey
58f706fa0d remove meta.UseToken 2018-12-10 11:53:23 +02:00
z7zmey
c7d595df5c remove meta.CloneToken 2018-12-10 11:53:23 +02:00
z7zmey
eb88f8a11e remove meta.ExclamationMarkToken 2018-12-10 11:53:23 +02:00
z7zmey
6bb51493e0 remove meta.TildeToken 2018-12-10 11:53:23 +02:00
z7zmey
aa7a862573 remove meta.ArrayToken 2018-12-10 11:53:23 +02:00
z7zmey
837e6a5add remove meta.*CastToken 2018-12-10 11:53:23 +02:00
z7zmey
33a935c628 remove meta.MagicConstantToken 2018-12-10 11:53:22 +02:00
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
2efb4dc4cf remove meta.IdentifierToken 2018-12-10 11:53:22 +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
4989d31874 #51 saving optional tokes and tokens that have different representation as meta 2018-08-09 11:46:56 +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
8df2e7cef1 delete spew dump 2018-07-11 18:05:38 +03:00
z7zmey
18d6d59292 #50: nodes stmt.Exit and stmt.Die was merged 2018-07-10 00:51:02 +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
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
z7zmey
1ebb0c6fad #25: save position within node 2018-06-25 23:30:10 +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
944a343f0f php5: save all comments 2018-06-07 02:25:27 +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