Class JavaScriptLanguageSupport.DeepestScopeVisitor

  • All Implemented Interfaces:
    org.mozilla.javascript.ast.NodeVisitor
    Enclosing class:
    JavaScriptLanguageSupport

    private static class JavaScriptLanguageSupport.DeepestScopeVisitor
    extends java.lang.Object
    implements org.mozilla.javascript.ast.NodeVisitor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.mozilla.javascript.ast.AstNode deepestScope  
      private int offs  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DeepestScopeVisitor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean containsOffs​(org.mozilla.javascript.ast.AstNode node)  
      org.mozilla.javascript.ast.AstNode getDeepestScope()  
      void reset​(int offs)  
      boolean visit​(org.mozilla.javascript.ast.AstNode node)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • offs

        private int offs
      • deepestScope

        private org.mozilla.javascript.ast.AstNode deepestScope
    • Constructor Detail

      • DeepestScopeVisitor

        private DeepestScopeVisitor()
    • Method Detail

      • containsOffs

        private boolean containsOffs​(org.mozilla.javascript.ast.AstNode node)
      • getDeepestScope

        public org.mozilla.javascript.ast.AstNode getDeepestScope()
      • reset

        public void reset​(int offs)
      • visit

        public boolean visit​(org.mozilla.javascript.ast.AstNode node)
        Specified by:
        visit in interface org.mozilla.javascript.ast.NodeVisitor