Interface Scope

    • Method Detail

      • accept

        <T> T accept​(ScopeVisitor<T> visitor)
        Dispatches to the visitor hook for this scope variant.
        Type Parameters:
        T - the visitor's result type
        Parameters:
        visitor - the visitor to dispatch to
        Returns:
        whatever the visitor returns for this variant
      • isAll

        default boolean isAll()
        Returns:
        true if the scope is unrestricted, which only AllScope is