Class ControlFlowStmtDepthCheck


  • public class ControlFlowStmtDepthCheck
    extends FlexCheck
    Note that implementation differs from AbstractNestedIfCheck - see SONARPLUGINS-1855 and SONARPLUGINS-2178
    • Field Detail

      • max

        public int max
    • Constructor Detail

      • ControlFlowStmtDepthCheck

        public ControlFlowStmtDepthCheck()
    • Method Detail

      • getMax

        public int getMax()
      • visitNode

        public void visitNode​(com.sonar.sslr.api.AstNode astNode)
        Overrides:
        visitNode in class FlexVisitor
      • leaveNode

        public void leaveNode​(com.sonar.sslr.api.AstNode astNode)
        Overrides:
        leaveNode in class FlexVisitor