public enum RendererId extends Enum<RendererId>
Created here in S3 (not S16) because Pp2FormatResult.Region carries
one; S16 simply populates the dispatch values.
GUARDED_AST — wrapped FormatterFactory.pp() via
GuardedAstDelegate (S13). The default for parseable regions
that pass the TokenEquivalence guard.CONSERVATIVE — ConservativeTokenRenderer (S14):
single-space token passthrough; the Phase-2 MVP fallback.LEXICAL_ISLAND — LexicalIslandRenderer (S31): full
lexical island pipeline.AST_OVERLAY — AstOverlayRenderer (v3, not in v2). The
enum value exists so v3 can light it up without an API change.| Enum Constant and Description |
|---|
AST_OVERLAY |
CONSERVATIVE |
GUARDED_AST |
LEXICAL_ISLAND |
| Modifier and Type | Method and Description |
|---|---|
static RendererId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RendererId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RendererId GUARDED_AST
public static final RendererId CONSERVATIVE
public static final RendererId LEXICAL_ISLAND
public static final RendererId AST_OVERLAY
public static RendererId[] values()
for (RendererId c : RendererId.values()) System.out.println(c);
public static RendererId 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