Class LeadingSpaces
java.lang.Object
org.ek9lang.compiler.repair.LeadingSpaces
- All Implemented Interfaces:
ToIntFunction<String>
THE number of leading spaces of a line, for the repairs (was
SyntaxProbe.indentOf and
SourceLines.indent, the second delegating to the first). Spaces only - a tab is not counted.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LeadingSpaces
LeadingSpaces()
-
-
Method Details
-
applyAsInt
- Specified by:
applyAsIntin interfaceToIntFunction<String>
-