Masatake YAMATO
Masatake YAMATO
Of course, I would like to add the code for parsing javascript source code using vue framework to ctags. I think adding vue parsr as a sub parser of javascript...
@codebrainz, you may correct. Using HTML as a host parser will be better. Anyway, I think we can do very interesting thing with existing code.
https://vue-loader.vuejs.org/en/start/spec.html @codebrainz, do you think we should run html parser for .vue file? My idea is introducing a small vue parser. vue parser may run html parser for `...` areas,...
@Fmajor, my understanding is that what you want is the top level keys in `export default` block. JavaScript parser has ability to capture keys. So many code for implementing what...
Oh, @b4n already wrote about "export". If JavaScript parser handling the block well, all parts of ctags may work fine. export is something like prototype in C. I like using...
Surprisingly a function can be defiend in export block... So using unknown/exported role/kind combination doesn't make sense (or it not enough.).
@b4n, ctags vue parser I implemented can push an area inside ``...`` to JavaScript parser. I will make a branch for vue. So could you consider how JavaScript parser deals...
See #1581. I made a prototype that parsers inside `export default` block in a vue file. Again, we can reduce tags later.
The prototype is updated. See https://github.com/universal-ctags/ctags/pull/1581/commits/61d77c85054fa3a574722e78075d03308aea459b . At least we have to do 1) merging #1584, 2) extending javascript parser to support "export" keyword. This is the first time stacking...
@Fmajor, I have been thinking about your original request for long time. Finally, an idea introducing a PostScript alike language to the limited are of ctags. I'm thiking about following...