Class PatternToken.RareFields

java.lang.Object
org.languagetool.rules.patterns.PatternToken.RareFields
Enclosing class:
PatternToken

private static class PatternToken.RareFields extends Object
Fields that are null in most instances of PatternToken
  • Field Details

    • currentAndNextExceptions

      @NotNull private PatternToken[] currentAndNextExceptions
      List of exceptions that are valid for the current token and / or some next tokens.
    • previousExceptions

      @NotNull private PatternToken[] previousExceptions
      List of exceptions that are valid for a previous token.
    • unificationFeatures

      private Map<String,List<String>> unificationFeatures
    • phraseName

      private String phraseName
      String ID of the phrase the element is in.
    • andGroupList

      private List<PatternToken> andGroupList
    • orGroupList

      private List<PatternToken> orGroupList
    • tokenReference

      private Match tokenReference
      The reference to another element in the pattern.
    • chunkTag

      private ChunkTag chunkTag
  • Constructor Details

    • RareFields

      private RareFields()
  • Method Details

    • addException

      private void addException(PatternToken pToken, boolean scopePrevious)