public static final class Pp2TokenStreamBuilder.BuildResult extends Object
| Modifier and Type | Method and Description |
|---|---|
Pp2TokenStream |
getStream() |
int |
getTotalSourceLength()
Total character count of the source token text the builder saw
(sum of every
TSourceToken.toString().length() including
whitespace tokens). |
int |
getTrailingBlanks() |
int |
getTrailingLinebreaks() |
public Pp2TokenStream getStream()
public int getTrailingBlanks()
public int getTrailingLinebreaks()
public int getTotalSourceLength()
TSourceToken.toString().length() including
whitespace tokens). Reported for diagnostics; the reconstruction
property compares the per-token sum against the
CRLF-normalized input length, which differs from this raw
total whenever the input contains "\r\n".