Skip to content

Visitor to postcss - #1245

Merged
ai merged 25 commits into
postcss:osefrom
BondarenkoAlex:visitor
Apr 12, 2019
Merged

ai merged 25 commits into
postcss:osefrom
BondarenkoAlex:visitor

Conversation

@BondarenkoAlex

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread test/parse.test.js Resolved
Comment thread lib/lazy-result.es6 Resolved
@jonathantneal

jonathantneal commented Feb 27, 2019 •

Copy link
Copy Markdown
Member

I’m so excited for this. Question: In this PR, observers will default to node enter, but I have thought Babel observers default to exit. I think we should be consistent. Would someone verify this?

@BondarenkoAlex

BondarenkoAlex commented Feb 27, 2019 •

Copy link
Copy Markdown
Contributor Author

I’m so excited for this. Question: In this PR, observers will default to node enter, but I have thought Babel observers default to exit. I think we should be consistent. Would someone verify this?

The default value is "enter".

Note: Identifier() { ... } is shorthand for Identifier: { enter() { ... } }

https://github.com/jamiebuilds/babel-handbook/blob/master/translations/en/plugin-handbook.md#toc-visitors

@jonathantneal

Copy link
Copy Markdown
Member

Consider my feedback resolved. This is going to have such an amazing impact on performance, @BondarenkoAlex.

Comment thread lib/node.es6 Outdated
return pos
}

[resetNodeWalk] () {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай вынесём её в функцию.

Методы плохо работают в 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)
      }
    }
  }
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ок. Нет проблем.

Comment thread lib/root.es6 Resolved
Comment thread lib/root.es6 Outdated
// return { decl: {enter: cb}}
let type = typeNode
if (!type.includes('.')) {
type = `${ type }.enter`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any need for template literals here?

Suggested change
type = `${ type }.enter`
type += '.enter'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability. Imho.

@ai
ai self-requested a review April 12, 2019 17:15
@ai
ai changed the base branch from master to ose April 12, 2019 17:16
@ai
ai merged commit d258372 into postcss:ose Apr 12, 2019
ai pushed a commit that referenced this pull request May 4, 2019
* 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
ai pushed a commit that referenced this pull request May 4, 2019
* 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
ai pushed a commit that referenced this pull request May 24, 2019
* 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
ai pushed a commit that referenced this pull request Jun 5, 2019
* 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
ai pushed a commit that referenced this pull request Aug 5, 2019
* 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
ai pushed a commit that referenced this pull request Sep 6, 2019
* 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
ai pushed a commit that referenced this pull request Oct 19, 2019
* 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
ai pushed a commit that referenced this pull request Oct 22, 2019
* 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
ai pushed a commit that referenced this pull request Oct 25, 2019
* 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
ai pushed a commit that referenced this pull request Nov 20, 2019
* 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
ai pushed a commit that referenced this pull request Dec 16, 2019
* 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
ai pushed a commit that referenced this pull request Jan 7, 2020
* 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
ai pushed a commit that referenced this pull request Jan 27, 2020
* 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
ai pushed a commit that referenced this pull request Feb 8, 2020
* 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
ai pushed a commit that referenced this pull request Mar 28, 2020
* 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
ai pushed a commit that referenced this pull request Mar 30, 2020
* 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
ai pushed a commit that referenced this pull request Apr 8, 2020
* 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
ai pushed a commit that referenced this pull request May 4, 2020
* 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
ai pushed a commit that referenced this pull request May 29, 2020
* 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
ai pushed a commit that referenced this pull request Jun 2, 2020
* 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
ai pushed a commit that referenced this pull request Jun 21, 2020
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants