public interface UniqueTermTypeExtractor
| Modifier and Type | Method and Description |
|---|---|
Optional<TermType> |
extractUniqueTermType(ImmutableTerm term,
IQTree subTree)
Is expecting the term type to be unique.
|
Optional<TermType> extractUniqueTermType(ImmutableTerm term, IQTree subTree) throws NonUniqueTermTypeException
---> the filter condition will fail (as STRICT equality is required). Any type can be therefore returned.
DO NOT use it when you don't have such a uniqueness guarantee
(---> NonUniqueTermTypeException is interpreted as an internal bug)NonUniqueTermTypeExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.