All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.languagetool.rules.uk.RuleException Maven / Gradle / Ivy

The newest version!
package org.languagetool.rules.uk;

class RuleException {
  public enum Type { none, exception, skip }

  public final Type type;
  public final int skip;

  public RuleException(Type type) {
    this.type = type;
    this.skip = 0;
    if( type == Type.exception ) {
      TokenAgreementPrepNounExceptionHelper.logException();
    }
  }
  public RuleException(int skip) {
    this.type = Type.skip;
    this.skip = skip;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy