Class NestedBlockDepthAstVisitor

  • All Implemented Interfaces:
    groovy.lang.GroovyObject, org.codehaus.groovy.ast.GroovyClassVisitor, org.codehaus.groovy.ast.GroovyCodeVisitor, AstVisitor

    public class NestedBlockDepthAstVisitor
    extends AbstractAstVisitor
    implements groovy.lang.GroovyObject
    • Constructor Detail

      • NestedBlockDepthAstVisitor

        public NestedBlockDepthAstVisitor()
    • Method Detail

      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • invokeMethod

        public Object invokeMethod​(String method,
                                   Object arguments)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
      • getProperty

        public Object getProperty​(String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
      • setProperty

        public void setProperty​(String property,
                                Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
      • visitBlockStatement

        public void visitBlockStatement​(org.codehaus.groovy.ast.stmt.BlockStatement block)
        Specified by:
        visitBlockStatement in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitBlockStatement in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitTryCatchFinally

        public void visitTryCatchFinally​(org.codehaus.groovy.ast.stmt.TryCatchStatement tryCatchStatement)
        Specified by:
        visitTryCatchFinally in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitTryCatchFinally in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitCatchStatement

        public void visitCatchStatement​(org.codehaus.groovy.ast.stmt.CatchStatement statement)
        Specified by:
        visitCatchStatement in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitCatchStatement in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitIfElse

        public void visitIfElse​(org.codehaus.groovy.ast.stmt.IfStatement ifStatement)
        Specified by:
        visitIfElse in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitIfElse in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitWhileLoop

        public void visitWhileLoop​(org.codehaus.groovy.ast.stmt.WhileStatement whileStatement)
        Specified by:
        visitWhileLoop in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitWhileLoop in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitForLoop

        public void visitForLoop​(org.codehaus.groovy.ast.stmt.ForStatement forStatement)
        Specified by:
        visitForLoop in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitForLoop in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitCaseStatement

        public void visitCaseStatement​(org.codehaus.groovy.ast.stmt.CaseStatement statement)
        Specified by:
        visitCaseStatement in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitCaseStatement in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitSynchronizedStatement

        public void visitSynchronizedStatement​(org.codehaus.groovy.ast.stmt.SynchronizedStatement statement)
        Specified by:
        visitSynchronizedStatement in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitSynchronizedStatement in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitClosureExpression

        public void visitClosureExpression​(org.codehaus.groovy.ast.expr.ClosureExpression expression)
        Specified by:
        visitClosureExpression in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitClosureExpression in class org.codehaus.groovy.ast.CodeVisitorSupport
      • visitMethodCallExpression

        public void visitMethodCallExpression​(org.codehaus.groovy.ast.expr.MethodCallExpression call)
        Specified by:
        visitMethodCallExpression in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitMethodCallExpression in class org.codehaus.groovy.ast.CodeVisitorSupport