public abstract class LanguageMatcher
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static LanguageMatcher |
match(Language language)
Given the filter language X returns the matcher which matches language L if one the following is
true :
X is not a metalanguage and X is L
X is a metalanguage of L
|
abstract boolean |
matchesLanguage(Language language) |
static LanguageMatcher |
matchWithDialects(Language language)
Given the filter language X returns the matcher which matches language L if one the following is
true :
X is not a metalanguage and X is a base language of L: L.isKindOf(X) == true
X is a metalanguage of L or one of its base languages
|
public abstract boolean matchesLanguage(Language language)
public static LanguageMatcher match(Language language)
true
:
public static LanguageMatcher matchWithDialects(Language language)
true
:
L.isKindOf(X) == true