Commit Graph

67 Commits

Author SHA1 Message Date
Vadym Slizov
70e5fa4db5
Merge pull request #112 from tylerchr/nsr-typed-properties
#111 NamespaceResolver: Resolve PHP 7.4 class property types
2020-07-26 14:39:12 +02:00
Tyler Christensen
34acec744b #111 NamespaceResolver: Resolve PHP 7.4 class property types 2020-07-13 12:34:35 -06:00
z7zmey
ec6be0d9bd [#82] handle php version 2019-12-26 17:57:56 +02:00
z7zmey
f06a8ebb51 #86 fix json dumper 2019-03-28 21:10:51 +02:00
z7zmey
2c649159c7 #80 implement Ragel based lexer 2019-03-20 21:06:56 +02:00
z7zmey
32d9c634d1 remove kylelemons/godebug 2019-02-25 18:12:39 +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
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
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
14cfed2e03 replace meta.OpenCurlyBracesToken from stmt.StmtList 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
2866018474 replace meta.FunctionToken 2018-12-10 11:53:26 +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
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
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
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
09c984ebdb #30 created json dumper 2018-06-20 01:57:20 +03:00
z7zmey
dd572a8fed #31 dump to native golang struct 2018-06-19 22:56:52 +03:00
z7zmey
063726aac4 #41 Namespace resolver: do not resolve build-in primitives 2018-06-18 00:15:41 +03:00
z7zmey
a98301f940 nsresolver fails on TraitUse without adaptations 2018-06-14 00:29:48 +03:00
z7zmey
ac74ae3225 create ClassExtends ClassImplements InterfaceExtends nodes 2018-06-03 10:50:37 +03:00
z7zmey
a488f43496 remove nodesWithEndToken type 2018-06-03 09:35:44 +03:00
z7zmey
2abe1dfb84 create Root node 2018-06-02 18:57:30 +03:00
z7zmey
f8d9d6d7c2 create TraitAdaptationList node 2018-06-02 17:12:24 +03:00
z7zmey
8fc4c60bfe create ArgumentList node 2018-05-30 00:14:24 +03:00
z7zmey
be3bdbfdc0 dump comment anchor 2018-05-27 22:37:22 +03:00
z7zmey
e396f81eea php7: save all comments 2018-05-27 18:07:26 +03:00
z7zmey
56127a4a2c move Positions and Comments into parser package 2018-04-15 22:02:07 +03:00
Vadym Slizov
219bb36c69
Merge pull request #9 from z7zmey/issue-8
Issue #8 - Calling parser concurrently
2018-04-10 20:54:50 +03:00
z7zmey
0b37dd6dbf namespace resolver: fix fail on anonimous class 2018-04-10 20:32:01 +03:00
z7zmey
6f7834eb6b issue #8: update tests 2018-04-10 15:23:13 +03:00
z7zmey
6ff2beafa3 update tests 2018-04-09 23:26:44 +03:00
Anthony HAMON
b0a430441c
visitor : update doc 2018-04-07 21:43:48 +02:00
Anthony HAMON
738397f2da
visitor : fix typo and doc comment 2018-04-07 18:07:02 +02:00
z7zmey
643027db9a trim $ from variable name identifier 2018-03-18 16:50:19 +02:00
z7zmey
7e6f7e7267 fix visitor/dumper_test.go 2018-03-18 16:05:06 +02:00
z7zmey
28f699145f dumper visitor write to io.Writer 2018-03-04 13:08:45 +02:00
z7zmey
411967e87e update dumper: show resolved names 2018-03-01 22:31:36 +02:00
z7zmey
c046bfe1b7 fix misspell 2018-02-28 12:09:50 +02:00
z7zmey
4e1382cf71 fix dumper test fail related to map order 2018-02-27 23:57:33 +02:00