Commit Graph

931 Commits

Author SHA1 Message Date
Vadym Slizov
0285900fe5 [refactoring] update ast structure of "HaltCompiler" node 2020-08-24 21:41:06 +03:00
Vadym Slizov
c1b3e6f5b2 [refactoring] update ast structure of "name" nodes 2020-08-24 14:20:20 +03:00
Vadym Slizov
767187ff85 [refactoring] update ast structure for "Use" and "GroupUse" nodes 2020-08-22 17:00:22 +03:00
Vadym Slizov
97747c5ac0 [refactoring] remove scanner token 2020-08-17 20:39:10 +03:00
Vadym Slizov
394092269a [refactoring] store expr parenthesis 2020-08-09 22:40:55 +02:00
Vadym Slizov
b8b4439015 [refactoring] store alt_if node brackets 2020-08-09 14:41:56 +02:00
Vadym Slizov
4aae540aad [refactoring] store argument list parenthesis 2020-08-09 01:37:09 +02:00
Vadym Slizov
fd5d891037 [refactoring] add Parser nodes for use 2020-08-09 00:56:21 +02:00
Vadym Slizov
45464654c6 [refactoring] store halt_compiler tokens 2020-08-03 23:22:08 +02:00
Vadym Slizov
a70e34d726 [refactoring] remove unused token positions 2020-08-03 22:52:12 +02:00
Vadym Slizov
b7d32b07bf [refactoring] store colon as free-floating token 2020-08-03 22:42:21 +02:00
Vadym Slizov
48e0996a92 [refactoring] do not inherit free-floating tokens in name nodes 2020-08-03 22:39:02 +02:00
Vadym Slizov
feebb017c4 [refactoring] update use ast structure 2020-08-03 21:22:53 +02:00
Vadym Slizov
88dfd32d9e Merge branch 'master' into refactoring 2020-07-29 22:23:44 +02:00
Vadym Slizov
cbf185c8f4
Merge pull request #115 from z7zmey/feature-110
[#105] fix counting newlines in strings
2020-07-26 19:15:21 +02:00
Vadym Slizov
3ce3188e41 [#105] fix counting newlines in strings 2020-07-26 18:56:32 +02:00
Vadym Slizov
17d7cec2fa
Merge pull request #114 from z7zmey/feature-110
[#110] fix json dumper
2020-07-26 16:11:08 +02:00
Vadym Slizov
eb3114b7c5 [#110] fix json dumper 2020-07-26 16:07:43 +02:00
Vadym Slizov
db09dd443f
Merge pull request #109 from azhai/hotfix/override-root-stmts
Do not override Stmts in printNodeRoot()
2020-07-26 14:57:08 +02:00
Vadym Slizov
234d258436
Merge pull request #113 from z7zmey/feature-111
[#111] cover by a unit test a property type name resolving
2020-07-26 14:43:40 +02:00
Vadym Slizov
004946bc71 [#111] cover by a unit test a property type name resolving 2020-07-26 14:40:03 +02:00
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
Ryan Liu
b1266584ac Do not override Stmts in printNodeRoot() 2020-07-10 15:50:09 +08:00
Vadym Slizov
ce18c23597 [refactoring] parameters: new node structure 2020-07-05 22:47:46 +03:00
Vadym Slizov
b5e29fc9f5 [refactoring] fix dfs traverser 2020-07-05 18:27:34 +03:00
Vadym Slizov
5cc3b50291 [refactoring] dumper: print Node first 2020-07-04 21:22:32 +03:00
Vadym Slizov
7a8746600b [refactoring] dumper: fix dumping node value 2020-07-04 21:10:41 +03:00
Vadym Slizov
8417e7d6d2 [refactoring] dumper: print node position and tokens 2020-07-04 20:59:26 +03:00
Vadym Slizov
7fc23cc1de [refactoring] cli: add -e flag 2020-07-04 19:18:53 +03:00
Vadym Slizov
f12218d083 Merge branch 'master' into refactoring 2020-07-04 18:41:12 +03:00
Vadym Slizov
84fe08869d [refactoring] allow nil parser.errHandlerFunc 2020-07-04 18:04:12 +03:00
Vadym Slizov
476e84229d [refactoring] add .gitattributes to mark autogenerated files 2020-07-03 00:42:16 +03:00
Vadym Slizov
06d202e71c [refactoring] remove param withTokens from parser 2020-07-03 00:20:32 +03:00
Vadym Slizov
ee3fe3b5c0 [refactoring] keep $ in variable identifier 2020-06-30 00:45:15 +03:00
Vadym Slizov
d7652b1c7f [refactoring] parsing error handler 2020-06-29 23:00:56 +03:00
Vadym Slizov
424f7a132c [refactoring] remove lexer config struct 2020-06-29 14:52:43 +03:00
Vadym Slizov
7eff83624e [refactoring] internal position package 2020-06-29 14:38:10 +03:00
Vadym Slizov
ee673e5667 [refactoring] update internal parser 2020-06-29 14:15:58 +03:00
Vadym Slizov
ee48d84609
Merge pull request #108 from z7zmey/issue-107
Fix infinite loop for "$foo$"
2020-06-14 23:43:52 +03:00
Vadym Slizov
7d4cc3b6e5 [#107] fix infinite loop when $ appear between variable and the end of a template string 2020-06-14 23:37:44 +03:00
Vadym Slizov
009d638ee2 [refactoring] version testing 2020-05-18 22:37:13 +03:00
Vadym Slizov
21f3d88b0f [refactoring] update makefile 2020-05-18 22:36:39 +03:00
Vadym Slizov
a636a14faa [refactoring] remove scanner interface 2020-05-18 21:44:03 +03:00
Vadym Slizov
436287bbe1 [refactoring] scanner DefaultConfig 2020-05-18 21:40:49 +03:00
Vadym Slizov
d9a7d20e73 [refactoring] scanner.Lexer.withHiddenTokens 2020-05-18 21:37:37 +03:00
Vadym Slizov
291dc7e884 [refactoring] move errors from scanner to parser 2020-05-18 20:07:17 +03:00
Vadym Slizov
4f79d47b1e [refactoring] remove unused scanner.Lexer.lastToken field 2020-05-18 01:03:20 +03:00
Vadym Slizov
3bee91c972 [refactoring] remove scanner.Lval interface 2020-05-18 01:01:35 +03:00
Vadym Slizov
8a50bd254a [refactoring] remove scanner.Lexer.PhpDocComment 2020-05-18 00:23:02 +03:00