Interface IMatchVisitor

    • Method Detail

      • visitPathMatchExpression

        java.lang.Object visitPathMatchExpression​(PathMatchExpression expression)
                                           throws VilException
        Visits a path match expression.
        Parameters:
        expression - the expression
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitStringMatchExpression

        java.lang.Object visitStringMatchExpression​(StringMatchExpression expression)
                                             throws VilException
        Visits a string match expression.
        Parameters:
        expression - the expression
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitArtifactMatchExpression

        java.lang.Object visitArtifactMatchExpression​(ArtifactMatchExpression expression)
                                               throws VilException
        Visits an artifact match expression.
        Parameters:
        expression - the expression
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitCollectionMatchExpression

        java.lang.Object visitCollectionMatchExpression​(CollectionMatchExpression expression)
                                                 throws VilException
        Visits a collection match expression.
        Parameters:
        expression - the expression
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitBooleanMatchExpression

        java.lang.Object visitBooleanMatchExpression​(BooleanMatchExpression expression)
                                              throws VilException
        Visits a boolean match expression.
        Parameters:
        expression - the expression
        Returns:
        the result of visiting the given statement (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)
      • visitCompoundMatchExpression

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