Package org.languagetool.rules.patterns
Class PatternToken.RareFields
java.lang.Object
org.languagetool.rules.patterns.PatternToken.RareFields
- Enclosing class:
PatternToken
Fields that are null in most instances of PatternToken
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<PatternToken> private ChunkTagprivate PatternToken[]List of exceptions that are valid for the current token and / or some next tokens.private List<PatternToken> private StringString ID of the phrase the element is in.private PatternToken[]List of exceptions that are valid for a previous token.private MatchThe reference to another element in the pattern. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddException(PatternToken pToken, boolean scopePrevious)
-
Field Details
-
currentAndNextExceptions
List of exceptions that are valid for the current token and / or some next tokens. -
previousExceptions
List of exceptions that are valid for a previous token. -
unificationFeatures
-
phraseName
String ID of the phrase the element is in. -
andGroupList
-
orGroupList
-
tokenReference
The reference to another element in the pattern. -
chunkTag
-
-
Constructor Details
-
RareFields
private RareFields()
-
-
Method Details
-
addException
-