Commit Graph

59 Commits

Author SHA1 Message Date
z7zmey
eb88f8a11e remove meta.ExclamationMarkToken 2018-12-10 11:53:23 +02:00
z7zmey
6bb51493e0 remove meta.TildeToken 2018-12-10 11:53:23 +02:00
z7zmey
aa7a862573 remove meta.ArrayToken 2018-12-10 11:53:23 +02:00
z7zmey
837e6a5add remove meta.*CastToken 2018-12-10 11:53:23 +02:00
z7zmey
33a935c628 remove meta.MagicConstantToken 2018-12-10 11:53:22 +02:00
z7zmey
5144644d92 remove meta.StartHeredocToken 2018-12-10 11:53:22 +02:00
z7zmey
11882949a7 remove meta.DoubleQuoteToken 2018-12-10 11:53:22 +02:00
z7zmey
3aa4406a95 remove meta.EncapsedAndWhitespaceToken 2018-12-10 11:53:22 +02:00
z7zmey
0d3a222673 remove meta.LnumberToken and meta.DnumberToken 2018-12-10 11:53:22 +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
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
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
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
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