public enum JSEmitterTokens extends Enum<JSEmitterTokens> implements IEmitterTokens
Enum Constant and Description |
---|
ARGUMENTS |
ARRAY |
CALL |
CONFIGURABLE |
CONSTRUCTOR |
DEFINE_PROPERTIES |
DEFINE_PROPERTY |
INTERFACE |
PROTOTYPE |
SLICE |
Modifier and Type | Method and Description |
---|---|
String |
getToken() |
static JSEmitterTokens |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSEmitterTokens[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSEmitterTokens ARGUMENTS
public static final JSEmitterTokens CALL
public static final JSEmitterTokens CONFIGURABLE
public static final JSEmitterTokens CONSTRUCTOR
public static final JSEmitterTokens DEFINE_PROPERTY
public static final JSEmitterTokens DEFINE_PROPERTIES
public static final JSEmitterTokens INTERFACE
public static final JSEmitterTokens PROTOTYPE
public static final JSEmitterTokens SLICE
public static final JSEmitterTokens ARRAY
public static JSEmitterTokens[] values()
for (JSEmitterTokens c : JSEmitterTokens.values()) System.out.println(c);
public static JSEmitterTokens 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 nullpublic String getToken()
getToken
in interface IEmitterTokens
Copyright © 2016 The Apache Software Foundation. All rights reserved.