net.sourceforge.pmd.lang.ecmascript.rule

## Class EcmascriptRuleChainVisitor

- java.lang.Object
- - net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
  - - net.sourceforge.pmd.lang.ecmascript.rule.EcmascriptRuleChainVisitor

- All Implemented Interfaces:
    RuleChainVisitor

      public class EcmascriptRuleChainVisitor
      extends AbstractRuleChainVisitor

- - ### Field Summary

    - ### Fields inherited from class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor

      `nodeNameToNodes, ruleSetRules`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EcmascriptRuleChainVisitor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `indexNodes(List<Node> nodes, RuleContext ctx)` Index all nodes for visitation by rules.
    `protected void` | `visit(Rule rule, Node node, RuleContext ctx)` Visit the given rule to the given node.

    - ### Methods inherited from class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor

      `add, clear, indexNode, initialize, visitAll`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EcmascriptRuleChainVisitor

          public EcmascriptRuleChainVisitor()

  - ### Method Detail

    - #### indexNodes

          protected void indexNodes(List<Node> nodes,
                        RuleContext ctx)

      Description copied from class: `AbstractRuleChainVisitor`
      Index all nodes for visitation by rules.
      Specified by:
        `indexNodes` in class `AbstractRuleChainVisitor`

    - #### visit

          protected void visit(Rule rule,
                   Node node,
                   RuleContext ctx)

      Description copied from class: `AbstractRuleChainVisitor`
      Visit the given rule to the given node.
      Specified by:
        `visit` in class `AbstractRuleChainVisitor`

Copyright © 2002-2013 InfoEther. All Rights Reserved.