object Rule

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Rule
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def combine(rules: Seq[Rule]): Rule
  2. def constant(ruleName: String, patch: v0.Patch, index: SemanticdbIndex): Rule

    Creates a rule that always returns the same patch.

  3. lazy val empty: Rule
  4. def emptyConfigured: Configured[Rule]
  5. def emptyFromSemanticdbIndexOpt(index: Option[SemanticdbIndex]): Rule
  6. def linter(ruleName: String)(f: (RuleCtx) ⇒ List[v0.Diagnostic]): Rule

    Creates a linter.

  7. def merge(a: Rule, b: Rule): Rule

    Combine two rules into a single rule

  8. def semantic(ruleName: String)(f: (SemanticdbIndex) ⇒ (RuleCtx) ⇒ v0.Patch): (SemanticdbIndex) ⇒ Rule

    Creates a semantic rule.

  9. def syntactic(ruleName: String)(f: (RuleCtx) ⇒ v0.Patch): Rule

    Creates a syntactic rule.