Commit Graph

102 Commits

Author SHA1 Message Date
z7zmey
16de29a2a3 remove meta.ConstantEncapsedStringToken and meta.StringToken 2018-12-10 11:53:22 +02:00
z7zmey
aa9fb90138 remove meta.QuestionMarkToken from node.Nullable 2018-12-10 11:53:22 +02:00
z7zmey
d232d3ae6b remove meta.UnknownToken 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
b805f0b167 #62: save the all text after __halt_compiler(); as Meta 2018-09-13 20:07:50 +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
867095823d fixed bug when heredoc starts by \; removing \n from a heredoc value end 2018-07-14 18:00:48 +03:00
z7zmey
18d6d59292 #50: nodes stmt.Exit and stmt.Die was merged 2018-07-10 00:51:02 +03:00
z7zmey
a69e899f04 Merge branch 'master' into dev 2018-07-09 22:04:18 +03:00
z7zmey
6d554c0468 #49: pretty printer wraps variables by curly braced in double-quoted strings 2018-07-09 21:37:19 +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
9f0e766757 update tests 2018-07-01 00:05:59 +03:00
z7zmey
6ccca996a8 changing ClosureUse node purpose
Now ClosureUse is a container node for variable and reference nodes
2018-06-03 12:38:58 +03:00
z7zmey
ec0ef26bd6 create expr.Reference node
[wip] create expr.Reference node

[wip] create expr.Reference node

[wip] create expr.Reference node

fix
2018-06-03 11:35:14 +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
d1b0cebf9a create CaseList node 2018-06-02 17:40:47 +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
335bedc34d pretty printer: update TestPrintFile 2018-04-06 01:14:18 +03:00
z7zmey
0abe99274b pretty printer: print file 2018-04-06 01:03:29 +03:00
z7zmey
79277ea3cc pretty printer: print Heredoc 2018-04-06 00:39:04 +03:00
z7zmey
47c51ea022 rename AssignRef to Reference 2018-04-05 12:03:32 +03:00
z7zmey
d19b16e161 remove Cast prefix from node names 2018-04-05 11:59:29 +03:00
z7zmey
37ebee14a6 pretty printer: fix printing String, Ternary 2018-04-03 19:59:20 +03:00
z7zmey
a514fec90f pretti printer: print indents 2018-04-03 19:20:55 +03:00
z7zmey
a394ea9fcc pretty printer: create Printer struct 2018-04-02 23:57:22 +03:00
z7zmey
29c79fcf7b pretty printer: update StmtList printer 2018-04-02 22:59:55 +03:00
z7zmey
c3664b9fbf pretty printer: now stmt node printers doesn`t print new line 2018-04-02 22:50:36 +03:00
z7zmey
46b7396c02 pretty printer: print Trait, Try, Unset, UseList, While 2018-04-02 12:41:47 +03:00
z7zmey
bd8b8f5b1a pretty printer: print Throw, TraitMethodRef, TraitUseAlias, TraitUsePrecedence, TraitUse 2018-04-02 01:29:24 +03:00
z7zmey
a9b6e93480 pretty printer: print StaticVar, Static, Switch 2018-04-02 00:59:31 +03:00
z7zmey
e87d6d372b pretty printer: print PropertyList, Property, Return 2018-04-02 00:43:27 +03:00
z7zmey
bd215f6069 pretty printer: print Interface, Label, Namespace 2018-04-02 00:28:01 +03:00
z7zmey
8fd369b047 pretty printer: print If, InlinHtml 2018-04-01 17:07:07 +03:00
z7zmey
a34fcc1937 pretty printer: print Global, Goto, GroupUse, Use, HaltCompiller 2018-04-01 15:58:45 +03:00
z7zmey
483dc5a16e pretty printer: print For, Foreach, Function 2018-03-31 14:49:29 +03:00
z7zmey
5cc62dd8ee pretty printer: print Finally 2018-03-31 14:17:10 +03:00
z7zmey
94ffbdfe59 pretty printer: print Echo, ElseIf, Else 2018-03-31 14:08:56 +03:00
z7zmey
6197aa5afb pretty printer: remove func printStmt 2018-03-31 13:50:35 +03:00
z7zmey
845ac94414 pretty printer: print Do, Default 2018-03-29 00:07:58 +03:00
z7zmey
09fada08da pretty printer: print Declare, Nop 2018-03-28 23:44:02 +03:00
z7zmey
3c80c876d4 pretty printer: change printing Stmt in alternate nodes 2018-03-28 23:43:13 +03:00
z7zmey
685b7b25bd pretty printer: print Continue 2018-03-20 20:37:55 +02:00
z7zmey
cbc46cb612 pretty printer: print Class 2018-03-20 20:06:56 +02:00
z7zmey
7c5d20a1b9 pretty printer: print ConstFetch and ClassMethod 2018-03-20 19:48:55 +02:00
z7zmey
c826d26edf pretty printer: print Break, Catch, ClassConstList, Constant nodes 2018-03-20 12:21:21 +02:00
z7zmey
240efb20e5 pretty printer: printing alternative statements 2018-03-19 22:50:07 +02:00
z7zmey
2220f7fe6c pretty print expressions, names and scalar nodes 2018-03-18 22:27:34 +02:00