SpaceLocationFlags#

class SpaceLocationFlags#

SpaceLocationFlags contains flags for white space locations.

If a line contains only white spaces (no text), the white spaces match both LEADING and TRAILING.

Fields#

class SpaceLocationFlags
ALL#

White spaces anywhere.

INSIDE_TEXT#

White spaces inside a line of text.

LEADING#

Leading white spaces on a line, i.e. the indentation.

NONE#

No flags.

TRAILING#

Trailing white spaces on a line.