-
assigned issue to
Private/final methods make it difficult to use the library
I'm struggling to use SnakeYAML as a base for an IntellijIDEA plugin and sometimes I need to use the code in a most peculiar ways.
Could it be possible for you to relax some of the modifiers to make integration easier for me?
Comments (8)
-
-
I had to add extra token types - whitespace, comment, error. For that I had to copy Token and add values to enum ID.
I wanted to extend ParserImpl, override some methods and set custom Scanner , but it is final.
With Composer - there not much I can think of than completely copy it, because I need to add lot of code here and there to create PsiNodes in IDEA, but at least you can make ComposerException'd constructor public.
-
I did not quite catch what exactly you expect the change. Feel free to submit a patch or a pull request.
P.S. If the changes to Token are backwards compatible we can add them to the core. Please create a separate issue/request.
-
We have a release this month. If you quickly provide the patch it will be released this month.
-
Created pull request
-
The code is taken and the SNAPSHOT is already uploaded. Can we close the issue ?
P.S. Just for your information. Branches for Mercurial and Git are not the same. If you just wish to use a branch for a feature you can use bookmarks in Mercurial. Then it disappears after the merge. Or just use default branch.
-
Yes, thank you.
-
- changed status to resolved
It will be released this month.
We can further discuss how to improve YAML support.
- Log in to comment
What are the methods to relax?