Class IntOfNumberOrText

java.lang.Object
org.ek9lang.compiler.repair.IntOfNumberOrText
All Implemented Interfaces:
ToIntFunction<Object>

final class IntOfNumberOrText extends Object implements ToIntFunction<Object>
THE line or column of a diagnostic map read leniently: the int of a Number, or of its text when that parses as one, else -1 (SourceRepairs' syntax layer and ServiceDeclarationForms each held this copy, identical). IntOfNumber is the strict reading the other repairs use.
  • Constructor Details

    • IntOfNumberOrText

      IntOfNumberOrText()
  • Method Details