Commit Graph
100 Commits
Author SHA1 Message Date
z7zmey 34aba57879 reorganize scanner_test.go
separate the template string test and heredoc test
2018-03-30 11:17:37 +03:00
Slizov VadimandGitHub 939a69c71f Merge pull request #3 from z7zmey/issue-2
issue #2 - fix template string scanning
2018-03-29 16:55:55 +03:00
z7zmey 83bb761062 issue #2 - fix template string scanning
`l.Prev.Rune` is actually current rune and `c` is next rune.
2018-03-29 16:46:21 +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 c84c8b2106 remove debug.test 2018-03-18 22:36:14 +02:00
z7zmey 2220f7fe6c pretty print expressions, names and scalar nodes 2018-03-18 22:27:34 +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
Slizov VadimandGitHub 4c5803798b Update README.md 2018-03-04 15:47:41 +02:00
z7zmey 4cb64425a0 add logo 2018-03-04 13:08:45 +02:00
z7zmey 28f699145f dumper visitor write to io.Writer 2018-03-04 13:08:45 +02:00
Slizov VadimandGitHub 72fc6bd82b Update README.md 2018-03-01 23:14:51 +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 413f380afe update README.md 2018-02-27 23:59:27 +02:00
z7zmey 4e1382cf71 fix dumper test fail related to map order 2018-02-27 23:57:33 +02:00
z7zmey e19df2783d visitor package tests 2018-02-27 23:38:05 +02:00
z7zmey a517a62f4c rename NsResolver to NamespaceResolver 2018-02-27 15:45:58 +02:00
z7zmey eb9e88f1a1 replace Namespace struct 2018-02-27 15:38:58 +02:00
z7zmey 25798f6445 Names interface 2018-02-27 15:34:43 +02:00
z7zmey 7976de4d11 type resolving 2018-02-26 23:29:36 +02:00
z7zmey fbeffe7d29 alias resolving 2018-02-26 20:21:11 +02:00
z7zmey 90f451293d update Makefile 2018-02-24 00:19:05 +02:00
z7zmey 91eb67279d collect aliases 2018-02-24 00:11:53 +02:00
z7zmey b9f158e7f4 collect aliases 2018-02-23 23:59:26 +02:00
z7zmey f2846dd859 ns resolver 2018-02-23 20:26:13 +02:00
z7zmey 7a0e5fc758 update package comments 2018-02-20 20:22:15 +02:00
z7zmey d320208aff update dumper 2018-02-20 20:06:44 +02:00
z7zmey 321a8d51e5 update dumper 2018-02-20 20:05:04 +02:00
z7zmey e3ed427fac rename Walker to Walkable interface 2018-02-20 19:52:07 +02:00
z7zmey a762ab3754 update doc.go 2018-02-20 19:37:42 +02:00
z7zmey e39f847146 update doc.go 2018-02-20 19:36:44 +02:00
z7zmey 06c986db5a update doc.go 2018-02-20 19:36:14 +02:00
z7zmey 43fe661731 update doc.go 2018-02-20 19:33:03 +02:00
z7zmey 3c726379c2 add doc.go 2018-02-20 19:20:32 +02:00
Slizov VadimandGitHub 8420ab93ec Update README.md 2018-02-19 14:36:06 +02:00
Slizov VadimandGitHub a7070e2cf1 Update README.md 2018-02-19 14:34:49 +02:00
z7zmey ac6432b6c9 fmt scanner/lexer.go 2018-02-19 13:36:12 +02:00
z7zmey ae3f612879 Add simple comments to scanner exported methods 2018-02-19 13:34:44 +02:00
z7zmey aee54762aa Add simple comments to scanner exported methods 2018-02-19 13:33:51 +02:00
z7zmey 9b674c2c12 Add simple comments to exported methods 2018-02-19 13:24:56 +02:00
z7zmey 4dda4fe7af remove underscore from package names 2018-02-19 13:12:09 +02:00
z7zmey 014b0576d6 fix Makefile, run gofmt on the all go files 2018-02-19 13:00:58 +02:00
z7zmey 757f57c223 update README.md 2018-02-19 11:44:52 +02:00
z7zmey e75a625528 split Switch and AltSwitch nodes 2018-02-18 20:39:41 +02:00
z7zmey d0296f78e3 split Foreach and AltForeach nodes 2018-02-18 20:29:33 +02:00
z7zmey 3836a86a47 split For and AltFor nodes 2018-02-18 19:57:54 +02:00
z7zmey d498ea9863 slit While and AltWhile 2018-02-18 19:44:17 +02:00
z7zmey 1c6633e47d split Exit and Die nodes 2018-02-18 19:09:18 +02:00
z7zmey f107e8bb57 add php5 and php7 benchmark 2018-02-18 14:25:20 +02:00
z7zmey 33bd13c538 positions tests 2018-02-18 13:51:03 +02:00
z7zmey e6e40484d1 token test 2018-02-18 12:55:32 +02:00
z7zmey ca6ee77850 scanner test 2018-02-17 18:50:09 +02:00
z7zmey 21ad25c581 scanner test 2018-02-17 18:25:57 +02:00
z7zmey b2d35d353d scanner test 2018-02-17 12:53:10 +02:00
z7zmey 55316625e8 php7 test coverage 2018-02-17 00:00:46 +02:00
z7zmey a9d06733bc php7 test coverage 2018-02-16 18:11:53 +02:00
z7zmey e2e9ebc8eb php5 test coverage 2018-02-14 21:21:32 +02:00
z7zmey 30b6533864 php5 test coverage 2018-02-14 21:16:11 +02:00
z7zmey 75f952ad03 php5 test coverage 2018-02-14 17:28:20 +02:00
z7zmey d40cdc5426 php5 test coverage 2018-02-14 16:23:10 +02:00
z7zmey 6d714725bd php5 test coverage 2018-02-14 12:30:41 +02:00
z7zmey 4cac863d8f php5 test coverage 2018-02-14 12:14:08 +02:00
z7zmey b13d520387 php5 test coverage 2018-02-13 19:38:37 +02:00
z7zmey 0a34643856 php5 test coverage 2018-02-13 17:42:00 +02:00
z7zmey a6fb7fc8a9 php5 test coverage 2018-02-13 14:58:10 +02:00
z7zmey 5faf9769cf php5 test coverage 2018-02-13 13:38:57 +02:00
z7zmey 0c3b75de8d php5 test coverage 2018-02-13 13:15:28 +02:00
z7zmey edc2513433 php5 test coverage 2018-02-13 12:33:21 +02:00
z7zmey 172f46d0f7 php5 test coverage 2018-02-13 12:16:53 +02:00
z7zmey b5e6d263f3 php5 test coverage 2018-02-12 23:10:53 +02:00
z7zmey 98b1698db7 php5 test coverage 2018-02-12 16:37:13 +02:00
z7zmey bf90803ef3 fix parsing php5 parameters 2018-02-12 12:09:56 +02:00
z7zmey f0411890e6 php5 parser test 2018-02-11 00:11:56 +02:00
z7zmey 6fbcde6847 php7 parser test 2018-02-10 18:28:15 +02:00
z7zmey 1e356ee7e4 Yield YieldFrom tests 2018-02-10 15:08:54 +02:00
z7zmey 6343404ac5 Variable tests 2018-02-10 14:53:48 +02:00
z7zmey 84fabfac96 UnaryMinus UnaryPlus tests 2018-02-10 14:50:18 +02:00
z7zmey d848606c80 ternary tests 2018-02-10 14:48:15 +02:00
z7zmey be266a44a8 StaticPropertyFetch tests 2018-02-10 14:41:28 +02:00
z7zmey e7ee9a9703 StaticCall tests 2018-02-10 14:36:19 +02:00
z7zmey 0efba8456f ShortList tests 2018-02-10 14:32:03 +02:00
z7zmey f8e83c2b53 ShortArray tests 2018-02-10 14:21:47 +02:00
z7zmey 398645631f ShallExec tests 2018-02-10 14:19:50 +02:00
z7zmey 2745cf4c26 PropertyFetch tests 2018-02-10 13:49:14 +02:00
z7zmey 3b0c08a698 Print tests 2018-02-10 13:44:53 +02:00
z7zmey 647207e97b PostDec PostInc PreDec PreInc tests 2018-02-10 13:43:52 +02:00
z7zmey 8e254dd886 New tests 2018-02-10 13:42:59 +02:00
z7zmey da3e532636 MethodCall tests 2018-02-10 13:31:48 +02:00
z7zmey 322acdcda4 List tests 2018-02-10 13:25:08 +02:00
z7zmey 9b2650c906 Isset tests 2018-02-10 13:10:21 +02:00
z7zmey b7607f82df InstanceOf tests 2018-02-10 13:06:45 +02:00
z7zmey ffe0ba79bb Include IncludeOnce Require RequireOnce tests 2018-02-10 13:01:14 +02:00