Vadym Slizov
|
286dd50319
|
refactoring: update position builder tests
|
2020-12-20 14:34:09 +02:00 |
|
Vadym Slizov
|
90aca88c2f
|
refactoring: update php5 tests
|
2020-12-20 14:26:26 +02:00 |
|
Vadym Slizov
|
fd984fea8f
|
refactoring: update php7 tests
|
2020-12-20 11:38:13 +02:00 |
|
Vadym Slizov
|
c32f5bd29b
|
[refactoring] remove Alt flags
|
2020-12-11 17:34:29 +02:00 |
|
Vadym Slizov
|
5291529a37
|
[refactoring] fix typo
|
2020-12-11 17:29:22 +02:00 |
|
Vadym Slizov
|
632146f98e
|
[refactoring] update dumper
|
2020-12-11 13:28:16 +02:00 |
|
Vadym Slizov
|
497e7f82ee
|
[refactoring] update printer
|
2020-12-11 09:54:26 +02:00 |
|
Vadym Slizov
|
f3a605aba1
|
[refactoring] update position builder
|
2020-12-08 02:08:59 +02:00 |
|
Vadym Slizov
|
8064d940f0
|
[refactoring] update Token structure
|
2020-12-08 01:54:05 +02:00 |
|
Vadym Slizov
|
20a42da7c9
|
[refactoring] remove general Node struct
|
2020-12-08 00:04:12 +02:00 |
|
Vadym Slizov
|
f6f86bf99b
|
refactoring: fix panic when missed arguments list
|
2020-12-04 22:38:46 +02:00 |
|
Vadym Slizov
|
dfe8982121
|
refactoring: fix panic when missed arguments list
|
2020-12-04 22:37:06 +02:00 |
|
Vadym Slizov
|
997f7bc6e4
|
refactoring: fix panic when empty return type
|
2020-12-04 22:13:12 +02:00 |
|
Vadym Slizov
|
40b944a272
|
[refactoring] update ast structure of "ClassConstList", "Constant", "Use", "GroupUse", "UseDeclaration", "Closure", "Name", "FullyQualified", "Relative" and "NamePart" nodes
|
2020-12-04 14:38:47 +02:00 |
|
Vadym Slizov
|
94897d8c66
|
[refactoring] remove *FreeFloating* functions
|
2020-12-04 13:10:12 +02:00 |
|
Vadym Slizov
|
af968a7c3b
|
[refactoring] update "ParserBrackets" nodes
|
2020-12-04 12:58:56 +02:00 |
|
Vadym Slizov
|
ea3c5298e2
|
[refactoring] update ast structure of "For", "TraitUseAlias" and "TraitUsePrecedence" nodes
|
2020-12-04 12:49:13 +02:00 |
|
Vadym Slizov
|
132db0e06b
|
[refactoring] update ast structure of "ClassMethod", "Function", "ArrowFunction" and "Closure" nodes
|
2020-12-04 12:22:06 +02:00 |
|
Vadym Slizov
|
f3203c0b5f
|
[refactoring] update ast structure of "Parameter", "Class", "FunctionCall", "MethodCall", "New" and "StaticCall" nodes
|
2020-12-04 11:36:12 +02:00 |
|
Vadym Slizov
|
df1626b7dc
|
[refactoring] update ast structure of "Root" and "Class" nodes
|
2020-12-04 11:02:38 +02:00 |
|
Vadym Slizov
|
d19b3f609e
|
[refactoring] update ast structure of "Assign" and "Binary" nodes
|
2020-12-04 10:40:48 +02:00 |
|
Vadym Slizov
|
5a6418e853
|
[refactoring] update ast structure of "Yield", "YieldFrom" and "Cast" nodes
|
2020-12-04 09:42:45 +02:00 |
|
Vadym Slizov
|
01d695c416
|
[refactoring] update ast structure of "ArrayDimFetch", "UnaryMinus", "ExprUnaryPlus" and "Variable" nodes
|
2020-12-04 00:13:28 +02:00 |
|
Vadym Slizov
|
13436b88a7
|
[refactoring] update ast structure of "ShellExec", "StaticCall", "StaticPropertyFetch" and "Ternary" nodes
|
2020-12-03 22:41:08 +02:00 |
|
Vadym Slizov
|
592c9b9aff
|
[refactoring] update ast structure of "Print", "Reference", "Require" and "RequireOnce" nodes
|
2020-12-03 22:20:50 +02:00 |
|
Vadym Slizov
|
45e959056b
|
[refactoring] update ast structure of "PostDec", "PostInc", "PreDec", "PreInc" and "New" nodes
|
2020-12-03 22:04:59 +02:00 |
|
Vadym Slizov
|
b1e9f5e167
|
[refactoring] update ast structure of "ExprMethodCall" and "ExprPropertyFetch" nodes
|
2020-12-03 21:42:16 +02:00 |
|
Vadym Slizov
|
b5ef30eb36
|
[refactoring] update ast structure of "InstanceOf" and "Isset" nodes
|
2020-12-01 12:16:46 +02:00 |
|
Vadym Slizov
|
9b122de8bf
|
[refactoring] update ast structure of "Eval", "Exit", "FunctionCall", "Include" and "IncludeOnce" nodes
|
2020-12-01 11:58:09 +02:00 |
|
Vadym Slizov
|
2d240e9475
|
[refactoring] update ast structure of "ClosureUse", "ConstFetch", "Empty" and "ErrorSuppress" nodes
|
2020-12-01 11:12:56 +02:00 |
|
Vadym Slizov
|
b90400d993
|
[refactoring] update ast structure of "BitwiseNot", "BooleanNot", "ClassConstFetch" and "Clone" nodes
|
2020-12-01 09:51:47 +02:00 |
|
Vadym Slizov
|
4b8d431767
|
[refactoring] update ast structure of "ArrayDimFetch" and "ArrayItem" nodes
|
2020-12-01 00:43:03 +02:00 |
|
Vadym Slizov
|
47b974a3a4
|
[refactoring] update ast structure of "array" and "list" nodes
|
2020-11-30 23:42:56 +02:00 |
|
Vadym Slizov
|
43f6fab862
|
[refactoring] update ast structure of "StmtPropertyList", "StmtTraitAdaptationList", "StmtTraitMethodRef" and "StmtTraitUseAlias" nodes
|
2020-11-29 21:51:46 +02:00 |
|
Vadym Slizov
|
5bd63d90ba
|
[refactoring] update ast structure of "StmtExpression", "StmtInterface" and "StmtProperty" nodes
|
2020-11-22 18:54:13 +02:00 |
|
Vadym Slizov
|
2d6ae3a9a2
|
[refactoring] update ast structure of "ClassMethod", "Function", "ArrowFunction" and "Closure" nodes
|
2020-11-22 14:26:24 +02:00 |
|
Vadym Slizov
|
4c54c56af5
|
[refactoring] update ast structure of "ClassExtends", "ClassImplements", "InterfaceExtends", "StmtTraitUse" and "StmtTraitUsePrecedence" nodes
|
2020-11-22 13:02:36 +02:00 |
|
Vadym Slizov
|
fe2e097d8f
|
[refactoring] update ast structure of "Class" and "Trait" nodes
|
2020-11-22 02:03:39 +02:00 |
|
Vadym Slizov
|
3bda40e8ce
|
[refactoring] update ast structure of "MagicConstant" and "String" nodes
|
2020-11-20 23:53:58 +02:00 |
|
Vadym Slizov
|
e6a23dfa3a
|
[refactoring] update ast structure of "Encapsed", "EncapsedStringPart" and "Heredoc" nodes
|
2020-11-20 23:36:45 +02:00 |
|
Vadym Slizov
|
e3ad9747f4
|
[refactoring] update ast structure of "Lnumber" and "Dnumber" nodes
|
2020-11-20 23:08:30 +02:00 |
|
Vadym Slizov
|
7e2965f53b
|
[refactoring] update ast structure of "Argument" and "ArgumentList" nodes
|
2020-11-20 22:57:27 +02:00 |
|
Vadym Slizov
|
73d819eb6c
|
[refactoring] update ast structure of parameter "Parameter" node
|
2020-11-20 22:25:37 +02:00 |
|
Vadym Slizov
|
ddb9f3b985
|
[refactoring] update ast structure of parameter "Variadic" and "Reference" nodes
|
2020-11-20 22:17:13 +02:00 |
|
Vadym Slizov
|
43ace92875
|
[refactoring] update ast structure of "Nullable"
|
2020-11-20 22:07:58 +02:00 |
|
Vadym Slizov
|
bf3ae74d56
|
[refactoring] update ast structure of "Identifier"
|
2020-11-20 22:02:36 +02:00 |
|
Vadym Slizov
|
94aa9cf829
|
[refactoring] update ast structure of "Goto" and "Label" nodes
|
2020-09-17 16:49:54 +03:00 |
|
Vadym Slizov
|
48aaa7cc47
|
[refactoring] update ast structure of "Throw" node
|
2020-09-17 16:37:34 +03:00 |
|
Vadym Slizov
|
80aa328386
|
[refactoring] update ast structure of "Try", "Catch" and "Finally" nodes
|
2020-09-14 20:15:50 +03:00 |
|
Vadym Slizov
|
33af1df9c4
|
[refactoring] update ast structure of "Nop" node
|
2020-09-14 19:34:02 +03:00 |
|
Vadym Slizov
|
e78f0dc650
|
[refactoring] update ast structure of "Declare" and "ConstList" nodes
|
2020-09-14 19:25:38 +03:00 |
|
Vadym Slizov
|
69bc0af2be
|
[refactoring] update ast structure of "Foreach" node
|
2020-09-14 18:36:55 +03:00 |
|
Vadym Slizov
|
62fc16da97
|
[refactoring] update ast structure of "Unset" node
|
2020-09-14 17:19:17 +03:00 |
|
Vadym Slizov
|
8b4d65ac4d
|
[refactoring] update ast structure of "InlinHtml" node
|
2020-09-14 16:36:01 +03:00 |
|
Vadym Slizov
|
7678303cb9
|
[refactoring] update ast structure of "Echo" node
|
2020-09-10 23:11:08 +03:00 |
|
Vadym Slizov
|
3f12ada311
|
[refactoring] update ast structure of "Static", "Global" and "StaticVar" nodes
|
2020-09-09 22:56:04 +03:00 |
|
Vadym Slizov
|
59ef622082
|
[refactoring] update ast structure of "Return" node
|
2020-09-06 13:09:00 +03:00 |
|
Vadym Slizov
|
e817f8dd8d
|
[refactoring] update ast structure of "Break", "Continue" nodes
|
2020-09-06 13:02:13 +03:00 |
|
Vadym Slizov
|
f6cb2bff4d
|
[refactoring] update ast structure of "Switch", "Case", "Default" nodes; remove "CaseList" node
|
2020-09-06 12:49:08 +03:00 |
|
Vadym Slizov
|
0e73cd8852
|
[refactoring] update ast structure of "For" node
|
2020-09-04 11:37:17 +03:00 |
|
Vadym Slizov
|
c274c4f92f
|
[refactoring] update ast structure of "Do" node
|
2020-09-04 10:53:07 +03:00 |
|
Vadym Slizov
|
3b85f5e82b
|
[refactoring] update ast structure of "While" node
|
2020-09-04 10:33:47 +03:00 |
|
Vadym Slizov
|
6976388a82
|
[refactoring] update ast structure of "If", "ElseIf", "Else" nodes
|
2020-09-03 22:18:06 +03:00 |
|
Vadym Slizov
|
954208510e
|
[refactoring] update ast structure of "StmtList" nodes
|
2020-09-02 22:58:19 +03:00 |
|
Vadym Slizov
|
c63213630a
|
[refactoring] update ast structure of "Constant" nodes
|
2020-08-24 23:28:44 +03:00 |
|
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
|
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
|
ce18c23597
|
[refactoring] parameters: new node structure
|
2020-07-05 22:47:46 +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
|
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
|
009d638ee2
|
[refactoring] version testing
|
2020-05-18 22:37:13 +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 |
|
Vadym Slizov
|
5620697cab
|
[refactoring] rename struct field scanner.Token.Hidden
|
2020-05-18 00:19:18 +03:00 |
|
Vadym Slizov
|
e98607f5d0
|
[refactoring] use position.Position to store token position
|
2020-05-17 23:50:23 +03:00 |
|
Vadym Slizov
|
4971309b75
|
refactor printer
|
2020-05-17 22:56:32 +03:00 |
|
Vadym Slizov
|
50f8a47119
|
update tests
|
2020-05-14 19:12:13 +03:00 |
|
Vadym Slizov
|
7e07f1ca26
|
refactor php5
|
2020-05-13 20:18:53 +03:00 |
|