Commit Graph

894 Commits

Author SHA1 Message Date
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
Vadym Slizov
d67d45948a
Merge pull request #19 from z7zmey/issue-18
#18 replace `heredocLabel` variable from global
2018-05-24 12:18:31 +03:00
z7zmey
e7a9de3dfc #18 replace heredocLabel variable from global 2018-05-24 12:14:30 +03:00
Vadym Slizov
72cf9d106e
Update README.md 2018-05-16 14:02:28 +03:00
Vadym Slizov
58a1ab4b79
Merge pull request #16 from z7zmey/issue-5
#5 update logo
2018-05-16 09:09:50 +03:00
z7zmey
97fb13eb72 #5 update logo 2018-05-16 09:08:16 +03:00
Vadym Slizov
e116a1adf9
Merge pull request #15 from imuli/panic-quick-fix
the simple fix for #14 (panic on 32-bit)
2018-05-15 18:35:12 +03:00
Imuli
d73ea72530 the simple fix for #14 (panic on 32-bit)
FileSet starts `base` at 1, and adds `size+1` for every file.
  So with 32 bit ints, anything larger than 2³¹-3 overflows.
2018-05-15 09:59:04 -04: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 Slizov
04bd98eec2
Update README.md 2018-04-10 23:45:26 +03:00
Vadym Slizov
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 Slizov
ebe06da6e0
Merge pull request #7 from antham/patch-2
Various change to visitor doc
2018-04-07 23:13:18 +03:00
Anthony HAMON
b0a430441c
visitor : update doc 2018-04-07 21:43:48 +02:00
Anthony HAMON
738397f2da
visitor : fix typo and doc comment 2018-04-07 18:07:02 +02:00
Vadym Slizov
8b5f350f63
Merge pull request #6 from antham/patch-1
Update README
2018-04-07 18:27:39 +03:00
Anthony HAMON
e8a496207c
update README
* add missing writer in main example
2018-04-07 15:01:59 +02:00
Vadym Slizov
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