public static enum Pp2FormatOptions.ErrorRegionStrategy extends Enum<Pp2FormatOptions.ErrorRegionStrategy>
| Enum Constant and Description |
|---|
BEST_EFFORT
Apply the full lexical island pipeline; may rearrange whitespace.
|
LIGHT_FORMAT
Apply light token spacing only; never reorder or drop tokens.
|
PRESERVE
Emit the raw source text verbatim.
|
| Modifier and Type | Method and Description |
|---|---|
static Pp2FormatOptions.ErrorRegionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pp2FormatOptions.ErrorRegionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pp2FormatOptions.ErrorRegionStrategy PRESERVE
public static final Pp2FormatOptions.ErrorRegionStrategy LIGHT_FORMAT
public static final Pp2FormatOptions.ErrorRegionStrategy BEST_EFFORT
public static Pp2FormatOptions.ErrorRegionStrategy[] values()
for (Pp2FormatOptions.ErrorRegionStrategy c : Pp2FormatOptions.ErrorRegionStrategy.values()) System.out.println(c);
public static Pp2FormatOptions.ErrorRegionStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null