public class BasicUniqueTermTypeExtractor extends Object implements UniqueTermTypeExtractor
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BasicUniqueTermTypeExtractor.TermTypeVariableVisitor |
| Modifier and Type | Method and Description |
|---|---|
Optional<TermType> |
extractUniqueTermType(ImmutableTerm term,
IQTree subTree)
Is expecting the term type to be unique.
|
public Optional<TermType> extractUniqueTermType(ImmutableTerm term, IQTree subTree)
UniqueTermTypeExtractor---> 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)extractUniqueTermType in interface UniqueTermTypeExtractorCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.