Commit Graph

690 Commits

Author SHA1 Message Date
z7zmey
e4a208e2a9 [#93] fix scanning constant strings 2019-06-07 09:33:35 +03:00
z7zmey
fb2adacdd2 Merge branch 'ganlvtech-dev' into dev 2019-06-06 21:33:30 +03:00
z7zmey
6bef3167cb [#91] add test for byte chars in variable name 2019-06-06 21:32:58 +03:00
Ganlv
69f7ff2216 Fix #91
Add support for \x80-\xff.
Change \x7f-\xff to \x80-\xff.
2019-06-03 22:22:05 +08:00
Vadym Slizov
a7e37add48
Merge pull request #87 from z7zmey/issue-86
#86 fix json dumper
2019-03-28 21:12:18 +02:00
z7zmey
f06a8ebb51 #86 fix json dumper 2019-03-28 21:10:51 +02:00
Vadym Slizov
e712b13cfb
Merge pull request #85 from z7zmey/issue-78
#78 do not use short echo tag
2019-03-20 21:31:34 +02:00
z7zmey
c86d955571 #78 fix test 2019-03-20 21:29:59 +02:00
Vadym Slizov
157391bf6d
Merge pull request #84 from blue-bird1/dev
fix #78 not use short-tags.
2019-03-20 21:27:17 +02:00
Vadym Slizov
b00a785bfb
Merge pull request #83 from z7zmey/ragel
#80 implement Ragel based lexer
2019-03-20 21:10:59 +02:00
z7zmey
2c649159c7 #80 implement Ragel based lexer 2019-03-20 21:06:56 +02:00
blurbird
7c88be3211 fix #78 not use short-tags. 2019-03-09 17:38:05 +08:00
Vadym Slizov
9ca7109abe
Merge pull request #77 from blue-bird1/dev
if not have file arg, will print usage
2019-03-07 09:37:01 +02:00
blurbird
3d41f036da if not have file arg, will print usage 2019-03-07 04:28:15 +08:00
z7zmey
32d9c634d1 remove kylelemons/godebug 2019-02-25 18:12:39 +02:00
z7zmey
a6519f4a2c update .travis.yml 2019-02-25 17:59:06 +02:00
z7zmey
c456fa90ce update README.md 2019-02-25 17:16:24 +02:00
z7zmey
a7229f53dd rename flag -meta to -ff 2019-02-25 16:52:47 +02:00
z7zmey
37c9c2092f remove karrick/godirwalk 2019-02-25 16:11:51 +02:00
Vadym Slizov
2f1834a2ee
Merge pull request #74 from z7zmey/meta-refactoring
Rename package `meta` to `freefloating` and refactor
2019-02-25 15:14:35 +02:00
z7zmey
b3800a2595 rename meta to freefloating; refactoring 2019-02-25 15:01:57 +02:00
Vadym Slizov
a7082117d9
Merge pull request #73 from z7zmey/issue-63
#63: print valid code even without meta
2019-02-01 23:51:43 +02:00
z7zmey
02a77f7fb0 #63: print valid code even without meta 2019-02-01 23:43:04 +02:00
z7zmey
f2e5271e2a #70: [php5] inherit meta.Data at assign.Assign 2019-01-04 10:01:12 +02:00
Vadym Slizov
61be88381e
Merge pull request #72 from z7zmey/issue-70
Attaching meta.Data to top-level nodes
2019-01-03 19:11:36 +02:00
z7zmey
d7ca55693f #70: [php5] inherit meta.Data 2019-01-03 19:03:20 +02:00
z7zmey
1ee63c5e63 #70: [php7] fix saving meta for *expr.NewArrayDimFetch at encaps_var 2019-01-03 19:02:58 +02:00
z7zmey
e8cd06a391 #70: remove constant UseLeadingNsSeparatorToken 2019-01-02 23:23:21 +02:00
z7zmey
28e5540108 #70: [php5] inherit meta.Data at stmt.Use 2019-01-02 23:22:28 +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
11d621cb90 feat: add meta.Collection.FindBy method 2018-12-14 11:59:42 +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
03f6b9e419 remove meta.CurlyOpenToken, meta.AbstractToken, meta.FinalToken, meta.PrivateToken, meta.ProtectedToken, meta.PublicToken 2018-12-10 11:53:28 +02:00
z7zmey
3a95e7638b remove meta.CallableToken 2018-12-10 11:53:28 +02:00
z7zmey
b7e8a686fa remove meta.VarToken 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