z7zmey
|
4da7b36056
|
created TokenPool
|
2018-07-12 10:53:36 +03:00 |
|
z7zmey
|
b70fb72a45
|
small improvements
|
2018-07-11 18:59:04 +03:00 |
|
z7zmey
|
8df2e7cef1
|
delete spew dump
|
2018-07-11 18:05:38 +03:00 |
|
z7zmey
|
f32a4b24c9
|
trace profiling added
|
2018-07-11 17:01:31 +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 |
|
 Vadym SlizovandGitHub
|
d2655bd75b
|
Update ISSUE_TEMPLATE.md
|
2018-07-09 21:19:33 +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
|
c4c0934c51
|
tokens constants moved to lexer_tokens.go
|
2018-07-08 01:06:49 +03:00 |
|
z7zmey
|
978e609f29
|
fmt
|
2018-07-01 00:38:31 +03:00 |
|
z7zmey
|
8de55d266c
|
Makefile is updated
|
2018-07-01 00:35:32 +03:00 |
|
z7zmey
|
9f0e766757
|
update tests
|
2018-07-01 00:05:59 +03:00 |
|
z7zmey
|
e90df8ef5f
|
#33 comment package has renamed to meta and parser now saves whitespaces
|
2018-06-30 23:23:19 +03:00 |
|
z7zmey
|
36d0cf4823
|
use empty *expr.ArrayItem to represent missed a list and array items.
|
2018-06-26 23:49:00 +03:00 |
|
z7zmey
|
b62cb4359b
|
Merge branch 'master' into dev
|
2018-06-26 23:09:16 +03:00 |
|
z7zmey
|
290645f3c9
|
#44: do not trim last nil if array item list ends by a comma
|
2018-06-26 12:22:51 +03:00 |
|
z7zmey
|
10c63a30ae
|
#44: fix crash on an empty list item
|
2018-06-26 11:57:17 +03:00 |
|
z7zmey
|
3cd45ecac5
|
#25: save comments within node
|
2018-06-26 00:07:02 +03:00 |
|
z7zmey
|
1ebb0c6fad
|
#25: save position within node
|
2018-06-25 23:30:10 +03:00 |
|
z7zmey
|
6ac67675d5
|
use karrick/godirwalk
|
2018-06-25 23:29:46 +03:00 |
|
z7zmey
|
81425528a5
|
close file
|
2018-06-25 20:14:36 +03:00 |
|
z7zmey
|
f068fb7aae
|
add file counter
|
2018-06-22 01:00:02 +03:00 |
|
z7zmey
|
ca5c3bbfff
|
cli: add -prof flag
|
2018-06-21 20:37:34 +03:00 |
|
z7zmey
|
09c984ebdb
|
#30 created json dumper
|
2018-06-20 01:57:20 +03:00 |
|
z7zmey
|
dd572a8fed
|
#31 dump to native golang struct
|
2018-06-19 22:56:52 +03:00 |
|
 Vadym SlizovandGitHub
|
26117164d8
|
Merge pull request #43 from donatj/patch-1
Corrects README example
|
2018-06-18 10:36:34 +03:00 |
|
z7zmey
|
063726aac4
|
#41 Namespace resolver: do not resolve build-in primitives
|
2018-06-18 00:15:41 +03:00 |
|
 Vadym SlizovandGitHub
|
e38db94f54
|
Merge pull request #42 from whilei/gofmt-2018-Jun-17-00-35
gofmt
|
2018-06-17 21:17:48 +03:00 |
|
z7zmey
|
a98301f940
|
nsresolver fails on TraitUse without adaptations
|
2018-06-14 00:29:48 +03:00 |
|
z7zmey
|
bfc346ebab
|
#40 reduce memory allocations for position.Position by using sync.Pool
|
2018-06-12 21:14:11 +03:00 |
|
z7zmey
|
2737e98559
|
#27 reduce memory allocations for scanner.Token by using sync.Pool
|
2018-06-12 19:37:22 +03:00 |
|
z7zmey
|
43451a070f
|
#26 replace TrimLeft by TrimLeftFunc
|
2018-06-10 14:53:10 +03:00 |
|
 Vadym SlizovandGitHub
|
339c7e5296
|
Merge pull request #39 from z7zmey/issue-38
#38 fix saving positions
|
2018-06-10 10:20:46 +03:00 |
|
z7zmey
|
d13681c042
|
#38 fix saving positions for php5 ArrayDimFetch, PropertyFetch and MethodCall nodes
|
2018-06-10 10:01:25 +03:00 |
|
 Vadym SlizovandGitHub
|
d21a0a3dc9
|
Merge pull request #35 from z7zmey/issue-34
#34 fix saving class node position
|
2018-06-08 11:00:10 +03:00 |
|
z7zmey
|
63cdd2931b
|
#34 fix saving class node position
|
2018-06-08 10:58:30 +03:00 |
|
 Vadym SlizovandGitHub
|
9f0d4b02c2
|
Update README.md
|
2018-06-07 19:52:44 +03:00 |
|
z7zmey
|
af379a61dd
|
Merge branch 'comments3'
|
2018-06-07 15:06:54 +03:00 |
|
z7zmey
|
944a343f0f
|
php5: save all comments
|
2018-06-07 02:25:27 +03:00 |
|
 Vadym SlizovandGitHub
|
170f7e0897
|
Merge pull request #32 from z7zmey/issue-28
#28 fix race conditions
|
2018-06-06 19:54:52 +03:00 |
|
z7zmey
|
58597aae21
|
#28 fix race conditions
|
2018-06-06 19:47:28 +03:00 |
|
z7zmey
|
d72d3b7980
|
refactor tokenString
|
2018-06-05 15:20:23 +03:00 |
|
z7zmey
|
95c257c0f6
|
add (binary) cast
|
2018-06-05 12:24:24 +03:00 |
|
z7zmey
|
876c5845d9
|
cli: add -noDump flug
|
2018-06-05 12:22:36 +03:00 |
|
 Vadym SlizovandGitHub
|
22fe72467f
|
Merge pull request #24 from z7zmey/issue-21
#21 scanner.Lexer.charsToBytes optimization
|
2018-06-05 02:47:09 +03:00 |
|
z7zmey
|
788628d902
|
#21 scanner.Lexer.charsToBytes optimization
|
2018-06-05 01:52:04 +03:00 |
|
z7zmey
|
b4f51d58af
|
update profiling commands
|
2018-06-05 01:20:57 +03:00 |
|
z7zmey
|
112ef18501
|
added profiling commands to Makefile
|
2018-06-05 00:09:21 +03:00 |
|
z7zmey
|
deccf266d9
|
save expr.Exit and expr.Die comments
|
2018-06-03 13:43:27 +03:00 |
|
z7zmey
|
22cca215df
|
create ForInitSemicolonToken and ForCondSemicolonToken comment anchors
|
2018-06-03 12:50:08 +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
|
cf4fb26764
|
remove boolWithToken type
|
2018-06-03 10:19:46 +03:00 |
|
z7zmey
|
e93874f644
|
remove altSintaxNode type
|
2018-06-03 09:47:26 +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
|
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 |
|
 Vadym SlizovandGitHub
|
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 SlizovandGitHub
|
72cf9d106e
|
Update README.md
|
2018-05-16 14:02:28 +03:00 |
|
 Vadym SlizovandGitHub
|
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 SlizovandGitHub
|
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 |
|
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 |
|