Interface Condition

    • Method Detail

      • accept

        <R> R accept​(Condition.Visitor<R> visitor)
        Dispatches to the visitor method for this node's variant.
        Type Parameters:
        R - the visitor's result type
        Parameters:
        visitor - the visitor to dispatch to
        Returns:
        whatever the visitor returns
      • join

        static String join​(List<Condition> terms,
                           String sep)
        Renders conditions in order, separated by the given text.
        Parameters:
        terms - the conditions to render
        sep - the text placed between consecutive terms
        Returns:
        the rendered text