Package de.monochromata.ast
Interface AnaphorsApi<N,E,TB,S,I,QI,EV,PP>
- Type Parameters:
N- The node type in the ASTE- The expression typeTB- The type binding typeS- The scope type (optional)I- The type used to represent identifiersQI- The type used to represent qualified identifiersEV- The type of the event contained in the condition that is evaluated to check when the perspectivations shall be applied.PP- The type used for positions that carry perspectivations
public interface AnaphorsApi<N,E,TB,S,I,QI,EV,PP>
The service provider interface used by the
de.monochromata.anaphors package to perform anaphora resolution
on a given AST implementation.-
Method Summary
Modifier and Type Method Description booleanconceptualTypeInIdentifierEqualsFauxHyponymyOfSimpleNameOfType(I id, TB type, boolean caseSensitive)booleanconceptualTypeInIdentifierEqualsSimpleNameOfType(I id, TB type, boolean caseSensitive)Set<QI>getFeaturesRemainingInIdentifierBesidesConceptualTypeOfReferentType(I id, TB referentType, boolean caseSensitive)Set<QI>getFeaturesRemainingInIdentifierBesidesConceptualTypeOfReferentTypeWithFauxHyponymy(I id, TB type, boolean caseSensitive)IgetIdentifierOfSimpleName(E simpleName)intgetLength(QI qualifiedIdentifier)booleanisSimpleName(E definiteExpression)booleannameOfIdentifierEqualsFauxHyponymOfSimpleNameOfTypeBinding(I id, TB type, boolean caseSensitive)booleannameOfIdentifierEqualsSimpleNameOfTypeBinding(I id, TB type, boolean caseSensitive)Test whether the given identifier matches the simple name of the given type binding.
-
Method Details
-
isSimpleName
-
getIdentifierOfSimpleName
-
nameOfIdentifierEqualsSimpleNameOfTypeBinding
Test whether the given identifier matches the simple name of the given type binding. TODO: Add the possibility to match prefix/suffix- Parameters:
id- The identifier to match.type- The typing binding whose simple name is to be matched.caseSensitive- True, if case is to be considered, false, if it is to be ignored. TODO: What about the initial character?- Returns:
- True, if the identifier matches the simple name of the type binding, false otherwise.
-
conceptualTypeInIdentifierEqualsSimpleNameOfType
-
getFeaturesRemainingInIdentifierBesidesConceptualTypeOfReferentType
Set<QI> getFeaturesRemainingInIdentifierBesidesConceptualTypeOfReferentType(I id, TB referentType, boolean caseSensitive) -
nameOfIdentifierEqualsFauxHyponymOfSimpleNameOfTypeBinding
boolean nameOfIdentifierEqualsFauxHyponymOfSimpleNameOfTypeBinding(I id, TB type, boolean caseSensitive) -
conceptualTypeInIdentifierEqualsFauxHyponymyOfSimpleNameOfType
boolean conceptualTypeInIdentifierEqualsFauxHyponymyOfSimpleNameOfType(I id, TB type, boolean caseSensitive) -
getFeaturesRemainingInIdentifierBesidesConceptualTypeOfReferentTypeWithFauxHyponymy
Set<QI> getFeaturesRemainingInIdentifierBesidesConceptualTypeOfReferentTypeWithFauxHyponymy(I id, TB type, boolean caseSensitive) -
getLength
-