Interface RuleValueVisitor<R>

Type Parameters:
R - The return type of the visitor
All Known Implementing Classes:
DefaultVisitor, TraversingVisitor, ValidateUriScheme

public interface RuleValueVisitor<R>
Visitor for the right-hand side of rules (tree, error, endpoint).
  • Method Details

    • visitTreeRule

      R visitTreeRule(List<Rule> rules)
      Invoked when reaching a tree rule.
      Parameters:
      rules - the sub-rules within a tree rule.
      Returns:
      the visitor return type.
    • visitErrorRule

      R visitErrorRule(Expression error)
      Invoked when reaching an error rule.
      Parameters:
      error - the error expression for the rule.
      Returns:
      the visitor return type.
    • visitEndpointRule

      R visitEndpointRule(Endpoint endpoint)
      Invoked when reaching an endpoint rule.
      Parameters:
      endpoint - the endpoint of the rule.
      Returns:
      the visitor return type.