Class IntOfNumberOrText
java.lang.Object
org.ek9lang.compiler.repair.IntOfNumberOrText
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
IntOfNumberOrText
IntOfNumberOrText()
-
-
Method Details
-
applyAsInt
- Specified by:
applyAsIntin interfaceToIntFunction<Object>
-