Processes whitespace, removing or replacing most whitespace characters except
for newline and space.
It modifies string input in the following ways:
Replaces all occurrences of tabs with the corresponding number of spaces,
depending on the column the tab is placed in and the configured tabStops value.
Removes any return character.
Replaces form feed and vertical tab with spaces.
The processor should run on text input before it is passed to the actual
parsers as they would not be able to deal with tabs properly.
Linear Supertypes
(String) ⇒ String, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
WhitespacePreprocessor
Function1
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newWhitespacePreprocessor()
Value Members
final def!=(arg0: Any): Boolean
Definition Classes
AnyRef → Any
final def##(): Int
Definition Classes
AnyRef → Any
final def==(arg0: Any): Boolean
Definition Classes
AnyRef → Any
defandThen[A](g: (String) ⇒ A): (String) ⇒ A
Definition Classes
Function1
Annotations
@unspecialized()
defapply(input: String): String
Processes whitespace, removing or replacing most whitespace characters except
for newline and space.
Processes whitespace, removing or replacing most whitespace characters except
for newline and space.
Processes whitespace, removing or replacing most whitespace characters except for newline and space.
It modifies string input in the following ways:
tabStops
value.The processor should run on text input before it is passed to the actual parsers as they would not be able to deal with tabs properly.