public enum CharLiteralStyle extends Enum<CharLiteralStyle>
Lex.charLiteralStyles| Enum Constant and Description |
|---|
BQ_DOUBLE
Double-quoted character literal with backslash escapes, as in BigQuery.
|
BQ_SINGLE
Single-quoted character literal with backslash escapes, as in BigQuery.
|
STANDARD
Standard character literal.
|
| Modifier and Type | Method and Description |
|---|---|
static CharLiteralStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharLiteralStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharLiteralStyle STANDARD
'Won''t'.public static final CharLiteralStyle BQ_SINGLE
'Won\'t'.public static final CharLiteralStyle BQ_DOUBLE
"Won\'t".public static CharLiteralStyle[] values()
for (CharLiteralStyle c : CharLiteralStyle.values()) System.out.println(c);
public static CharLiteralStyle 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 nullCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.