public static enum CodeGenerator.Context extends java.lang.Enum<CodeGenerator.Context>
Enum Constant and Description |
---|
BEFORE_DANGLING_ELSE |
IN_FOR_INIT_CLAUSE |
OTHER |
START_OF_ARROW_FN_BODY |
START_OF_ARROW_FN_IN_FOR_INIT |
START_OF_EXPR |
STATEMENT |
Modifier and Type | Method and Description |
---|---|
boolean |
atArrowFunctionBody() |
boolean |
inForInInitClause() |
static CodeGenerator.Context |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeGenerator.Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeGenerator.Context STATEMENT
public static final CodeGenerator.Context BEFORE_DANGLING_ELSE
public static final CodeGenerator.Context START_OF_EXPR
public static final CodeGenerator.Context IN_FOR_INIT_CLAUSE
public static final CodeGenerator.Context START_OF_ARROW_FN_BODY
public static final CodeGenerator.Context START_OF_ARROW_FN_IN_FOR_INIT
public static final CodeGenerator.Context OTHER
public static CodeGenerator.Context[] values()
for (CodeGenerator.Context c : CodeGenerator.Context.values()) System.out.println(c);
public static CodeGenerator.Context valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean inForInInitClause()
public boolean atArrowFunctionBody()
Copyright © 2009-2019 Google. All Rights Reserved.