Commit Graph

157 Commits

Author SHA1 Message Date
z7zmey
ec6be0d9bd [#82] handle php version 2019-12-26 17:57:56 +02:00
z7zmey
777873afae [#82] add new token constants 2019-12-24 16:16:35 +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
1ee63c5e63 #70: [php7] fix saving meta for *expr.NewArrayDimFetch at encaps_var 2019-01-03 19:02:58 +02:00
z7zmey
b5ff3ac2f7 #70: [php7] fix inheriting meta.Data at stmt.GroupUse, stmt.Use 2019-01-02 23:21:09 +02:00
z7zmey
4abd14d2a6 #70: [php7] inherit meta.Data at expr.FunctionCall, expr.StaticCall, expr.ConstFetch, expr.ArrayDimFetch, expr.MethodCall, expr.PropertyFetch, expr.StaticPropertyFetch, expr.ArrayItem 2018-12-31 18:43:13 +02:00
z7zmey
a0dda154bf #70: [php7] inherit meta.Data at stmt.Property, stmt.Constant, stmt.Class, expr.PostDec, expr.PostInc, expr.Ternary and assign, binary nodes 2018-12-31 17:13:05 +02:00
z7zmey
efbc5b2291 #70: [php7] fix meta filter 2018-12-31 17:06:27 +02:00
z7zmey
254f7a2167 #70: [php7] inherit meta.Data at node.Argument, stmt.PropertyList, stmt.ClassConstList, stmt.ClassMethod, stmt.TraitUsePrecedence, stmt.TraitUseAlias, stmt.TraitMethodRef 2018-12-26 12:13:32 +02:00
z7zmey
1654b63fd1 #70: [php7] inherit meta.Data at stmt.Class and node.Parameter 2018-12-25 22:16:19 +02:00
z7zmey
f406a441a9 #70: [php7] inherit meta.Data at stmt.Expression and stmt.Label 2018-12-25 11:56:32 +02:00
z7zmey
86afa319f3 #70: [php7] inherit meta.Data at stmt.Use, stmt.GroupUse, stmt.UseList, name.Name 2018-12-25 10:49:44 +02:00
z7zmey
ad5deef4f3 remove meta.NumStringToken 2018-12-10 11:53:28 +02:00
z7zmey
ef14a6c56b remove meta.StringVarnameToken 2018-12-10 11:53:28 +02:00
z7zmey
a06dc22934 remove meta.UnsetToken 2018-12-10 11:53:28 +02:00
z7zmey
8d976d3152 remove meta.TryToken 2018-12-10 11:53:27 +02:00
z7zmey
f7a0038307 remove meta.TraitToken 2018-12-10 11:53:27 +02:00
z7zmey
5382ec090c remove meta.ThrowToken 2018-12-10 11:53:27 +02:00
z7zmey
14cfed2e03 replace meta.OpenCurlyBracesToken from stmt.StmtList 2018-12-10 11:53:27 +02:00
z7zmey
4bb9aada9e remove meta.ReturnToken 2018-12-10 11:53:27 +02:00
z7zmey
33c2a5b5c6 replace meta.SemiColonToken; fix printing stmt.TraitAdaptationList 2018-12-10 11:53:27 +02:00
z7zmey
5a715a4a11 remove meta.InterfaceToken 2018-12-10 11:53:27 +02:00
z7zmey
67e222a88f remove meta.InlineHTMLToken 2018-12-10 11:53:27 +02:00
z7zmey
a8295f8f72 remove meta.HaltCompilerToken 2018-12-10 11:53:27 +02:00
z7zmey
4ec92f57ee remove meta.GotoToken 2018-12-10 11:53:27 +02:00
z7zmey
9c6a756545 remove meta.GlobalToken 2018-12-10 11:53:26 +02:00
z7zmey
2866018474 replace meta.FunctionToken 2018-12-10 11:53:26 +02:00
z7zmey
8dc0845d63 remove meta.FinallyToken 2018-12-10 11:53:26 +02:00
z7zmey
819a6d7f46 remove meta.EchoToken 2018-12-10 11:53:26 +02:00
z7zmey
378830df76 remove meta.DoToken 2018-12-10 11:53:26 +02:00
z7zmey
fc20b19df3 remove meta.DefaultToken 2018-12-10 11:53:26 +02:00
z7zmey
bc4e070d57 remove meta.DeclareToken 2018-12-10 11:53:26 +02:00
z7zmey
ba387f909a remove meta.ContinueToken 2018-12-10 11:53:26 +02:00
z7zmey
d99c11c889 replace meta.ConstToken 2018-12-10 11:53:26 +02:00
z7zmey
db3058a72f remove meta.CatchToken 2018-12-10 11:53:26 +02:00
z7zmey
2c1c25de58 remove meta.CaseToken 2018-12-10 11:53:26 +02:00
z7zmey
72136ee853 remove meta.BreakToken 2018-12-10 11:53:25 +02:00
z7zmey
e19956b303 replace meta.WhileToken 2018-12-10 11:53:25 +02:00
z7zmey
cb04c4a92a remove meta.SwitchToken 2018-12-10 11:53:25 +02:00
z7zmey
1c7b4cf398 remove meta.ForeachToken 2018-12-10 11:53:25 +02:00
z7zmey
5d4b592a8b remove meta.ForToken 2018-12-10 11:53:25 +02:00
z7zmey
a1e96dbbf2 remove meta.ElseToken 2018-12-10 11:53:25 +02:00
z7zmey
35e66d35d5 remove meta.ElseifToken 2018-12-10 11:53:25 +02:00
z7zmey
fee0594644 remove meta.YieldToken 2018-12-10 11:53:25 +02:00
z7zmey
6d7c5d5d2b remove meta.YieldFromToken 2018-12-10 11:53:25 +02:00
z7zmey
00b1f659df replace meta.PlusToken 2018-12-10 11:53:25 +02:00
z7zmey
9373b24ce7 replace meta.MinusToken 2018-12-10 11:53:25 +02:00