Class TokenSpacer
java.lang.Object
org.ek9lang.compiler.formatter.TokenSpacer
Pass 3 of the EK9 source formatter: Token Spacing.
Re-tokenises the source, groups tokens by line, and rebuilds each line's content with canonical spacing while preserving the leading indent from Pass 1. The EK9 lexer discards whitespace, so all horizontal spacing must be reconstructed from token types.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TokenSpacer
TokenSpacer()
-
-
Method Details
-
space
-