Interface IMatchVisitor
-
- All Known Subinterfaces:
IBuildlangVisitor,IVisitor
- All Known Implementing Classes:
BuildlangExecution,BuildlangWriter,BuildResolverVisitor,ExpressionCopyVisitor,ExpressionVersionRestrictionValidator,MatchResolver,RuleTreeVilVisitor,VariableFinder
public interface IMatchVisitorVisitor methods for the match expressions.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectvisitArtifactMatchExpression(ArtifactMatchExpression expression)Visits an artifact match expression.java.lang.ObjectvisitBooleanMatchExpression(BooleanMatchExpression expression)Visits a boolean match expression.java.lang.ObjectvisitCollectionMatchExpression(CollectionMatchExpression expression)Visits a collection match expression.java.lang.ObjectvisitCompoundMatchExpression(CompoundMatchExpression expression)Visits a compound match expression.java.lang.ObjectvisitPathMatchExpression(PathMatchExpression expression)Visits a path match expression.java.lang.ObjectvisitStringMatchExpression(StringMatchExpression expression)Visits a string match expression.
-
-
-
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)
-
-