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
|
be3bdbfdc0
|
dump comment anchor
|
2018-05-27 22:37:22 +03:00 |
|
z7zmey
|
6b70d665d4
|
remove unused token name constants
|
2018-05-27 22:21:06 +03:00 |
|
z7zmey
|
b383fe98fe
|
create token name constants in comment package
|
2018-05-27 22:15:27 +03:00 |
|
z7zmey
|
e396f81eea
|
php7: save all comments
|
2018-05-27 18:07:26 +03:00 |
|
z7zmey
|
a9f54cba27
|
scanner: remove unnecessary lval.Token calls
|
2018-05-27 18:04:18 +03:00 |
|
z7zmey
|
a28fd2e8ec
|
rename lastToken to currentToken
|
2018-04-15 23:04:24 +03:00 |
|
z7zmey
|
435dc5c706
|
scanner.NewToken returns pointer, and scanner.Token saves position as position.Position
|
2018-04-15 22:59:06 +03:00 |
|
z7zmey
|
bc15825663
|
rename PositionBuilder
|
2018-04-15 22:06:02 +03:00 |
|
z7zmey
|
56127a4a2c
|
move Positions and Comments into parser package
|
2018-04-15 22:02:07 +03:00 |
|
z7zmey
|
781a55659b
|
save comment position
|
2018-04-15 21:39:26 +03:00 |
|
z7zmey
|
c2f938e55c
|
merge DocComment and PlainComment
|
2018-04-15 15:55:33 +03:00 |
|
z7zmey
|
e65ace8984
|
merge token package into scanner package
|
2018-04-15 14:47:40 +03:00 |
|
z7zmey
|
983c721e83
|
scanner: fix scanning empty inline comment
|
2018-04-11 00:58:57 +03:00 |
|
z7zmey
|
8d6affdd68
|
move Parser interface to parser package
|
2018-04-10 23:59:57 +03:00 |
|
 Vadym SlizovandGitHub
|
04bd98eec2
|
Update README.md
|
2018-04-10 23:45:26 +03:00 |
|
 Vadym SlizovandGitHub
|
219bb36c69
|
Merge pull request #9 from z7zmey/issue-8
Issue #8 - Calling parser concurrently
|
2018-04-10 20:54:50 +03:00 |
|
z7zmey
|
0b37dd6dbf
|
namespace resolver: fix fail on anonimous class
|
2018-04-10 20:32:01 +03:00 |
|
z7zmey
|
316ed6e851
|
issue #8: cli - parse concurrently
|
2018-04-10 20:23:25 +03:00 |
|
z7zmey
|
0cf164c11c
|
issue #8: update Parser constructor
|
2018-04-10 16:19:47 +03:00 |
|
z7zmey
|
71f940fcf2
|
issue #8: update readme
|
2018-04-10 15:51:05 +03:00 |
|
z7zmey
|
6f7834eb6b
|
issue #8: update tests
|
2018-04-10 15:23:13 +03:00 |
|
z7zmey
|
343896d019
|
issue #8: php5 and php7 package refactoring
|
2018-04-10 01:03:20 +03:00 |
|
z7zmey
|
ac135f132d
|
update README.md
|
2018-04-09 23:30:44 +03:00 |
|
z7zmey
|
6ff2beafa3
|
update tests
|
2018-04-09 23:26:44 +03:00 |
|
z7zmey
|
83a1400a4f
|
error tolerant parsing
|
2018-04-09 23:08:29 +03:00 |
|
 Vadym SlizovandGitHub
|
ebe06da6e0
|
Merge pull request #7 from antham/patch-2
Various change to visitor doc
|
2018-04-07 23:13:18 +03:00 |
|
 Vadym SlizovandGitHub
|
8b5f350f63
|
Merge pull request #6 from antham/patch-1
Update README
|
2018-04-07 18:27:39 +03:00 |
|
 Vadym SlizovandGitHub
|
624dc4f498
|
Update README.md
|
2018-04-06 15:23:33 +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
|
9a799fc3be
|
scanner: fix heredoc
|
2018-04-06 00:24:00 +03:00 |
|
z7zmey
|
9ea1f05f90
|
add Heredoc node
|
2018-04-05 13:55:01 +03:00 |
|
z7zmey
|
a0cc61bdc0
|
fix typo
|
2018-04-05 12:04:28 +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
|
5edfa095cb
|
remove redundant nop before inline html
|
2018-04-02 00:02:13 +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 |
|
 Vadym SlizovandGitHub
|
0c1ac1c4a6
|
Merge pull request #4 from z7zmey/issue-2
Issue #2 - fix template and backquoted strings scanning
|
2018-03-30 20:05:25 +03:00 |
|
z7zmey
|
0a85cf2e1f
|
issue #2 - fix backqouted strings
now it works as template strings
|
2018-03-30 18:35:18 +03:00 |
|
z7zmey
|
148cf59e9d
|
issue #2 - fix single line comment
fix handling end of file
add handling php close tag
|
2018-03-30 17:46:04 +03:00 |
|
z7zmey
|
d31819db30
|
issue #2 - deny numbers and slashes in first char in variable name
|
2018-03-30 14:28:50 +03:00 |
|
z7zmey
|
07f02e4497
|
issue #2 - fix template string scanning
now it correctly check first char of variable
|
2018-03-30 12:23:18 +03:00 |
|
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 |
|