Repository navigation
Visitor to postcss - #1245
Visitor to postcss#1245
Conversation
Comment, Declaration, Rule classes.
to the Сontainer class
to the LazyResult class
acbbfcb to
95ce3a3
Compare
|
I’m so excited for this. Question: In this PR, observers will default to node |
The default value is "enter".
|
|
Consider my feedback resolved. This is going to have such an amazing impact on performance, @BondarenkoAlex. |
| return pos | ||
| } | ||
|
|
||
| [resetNodeWalk] () { |
There was a problem hiding this comment.
Давай вынесём её в функцию.
Методы плохо работают в JS (например, плохо сжимаются):
function resetNodeWalk (node) {
if (node.root().isVisitorMode === false) {
return
}
node[isClean] = false
if (node[isComplete]) {
node[isComplete] = false
if (node.parent) {
resetNodeWalk(node.parent)
}
}
}
}
There was a problem hiding this comment.
Ок. Нет проблем.
| // return { decl: {enter: cb}} | ||
| let type = typeNode | ||
| if (!type.includes('.')) { | ||
| type = `${ type }.enter` |
There was a problem hiding this comment.
Any need for template literals here?
| type = `${ type }.enter` | |
| type += '.enter' |
There was a problem hiding this comment.
Readability. Imho.
Co-Authored-By: BondarenkoAlex <[email protected]>
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
* feat(visitor): Node class has been modified for visitor algorithm * feat(visitor): Property access methods have been added to the AtRule, Comment, Declaration, Rule classes. * feat(visitor): A visitor traversal mechanism has been added to the Сontainer class * feat(visitor): A visitor traversal mechanism has been added to the LazyResult class * feat(visitor): В класс Root был добавлен метод для добавления visitor's plugins * feat(visitor): Added tests for visitor functionality and edit other tests * feat(visitor): Added rewire package * test(visitor): Modify parse test * review(visitor): Removed non-default export * ci(visitor): Set size limit at 29KB * chore(visitor): Remove script from package.json * test(visitor): Extract tests for visitor plugin * test(visitor): Added visitor plugin * feat(visitor): Added property important to Declaration * refactor(visitor): Optimized call reset node method * refactor(visitor): Extract method resetNodeWalk to function * docs(visitor): Added description of the root.on method * refactor(visitor): Fix rename * refactor(visitor): Readability Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring Co-Authored-By: BondarenkoAlex <[email protected]> * refactor(visitor): Refactoring * style(visitor): Styling * chore(visitor): Add atrule to dictionary
No description provided.