Interface IVisitor

    • Method Detail

      • visitVariableDeclaration

        java.lang.Object visitVariableDeclaration​(VariableDeclaration var)
                                           throws VilException
        Visits a variable declaration.
        Parameters:
        var - the variable declaration
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitAdvice

        java.lang.Object visitAdvice​(Advice advice)
                              throws VilException
        Visits an advice.
        Parameters:
        advice - the advice to be visited
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitExpressionStatement

        java.lang.Object visitExpressionStatement​(ExpressionStatement statement)
                                           throws VilException
        Visits a statement.
        Parameters:
        statement - the statement
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitTypedef

        java.lang.Object visitTypedef​(Typedef typedef)
                               throws VilException
        Visits a typedef.
        Parameters:
        typedef - the typedef
        Returns:
        the result of visiting (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitCompound

        java.lang.Object visitCompound​(Compound compound)
                                throws VilException
        Visits a compound.
        Parameters:
        compound - the compound
        Returns:
        the result of visiting (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)