public enum CodeFlag extends Enum<CodeFlag>
| Enum Constant and Description | 
|---|
| CO_FUTURE_ABSOLUTE_IMPORTAbsolute import. | 
| CO_FUTURE_DIVISIONStandard division of integers returns float, truncating division needs to
 be enforced. | 
| CO_FUTURE_PRINT_FUNCTIONprint function. | 
| CO_FUTURE_UNICODE_LITERALSunicode literals. | 
| CO_FUTURE_WITH_STATEMENTWith statement. | 
| CO_GENERATORThe compiled code block is a generator code block. | 
| CO_GENERATOR_ALLOWEDDenotes that generators are enabled in the code block. | 
| CO_NESTEDDenotes that nested scopes are enabled in the code block. | 
| CO_NEWLOCALSDenotes that a new dictionary should be created for the code block. | 
| CO_OPTIMIZEDDenotes that the code block uses fast locals. | 
| CO_VARARGSThe compiled code block has a varargs argument. | 
| CO_VARKEYWORDSThe compiled code block has a varkeyword argument. | 
| Modifier and Type | Field and Description | 
|---|---|
| int | flag | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isFlagBitSetIn(int flags) | 
| static CodeFlag | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CodeFlag[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CodeFlag CO_OPTIMIZED
public static final CodeFlag CO_NEWLOCALS
public static final CodeFlag CO_VARARGS
public static final CodeFlag CO_VARKEYWORDS
public static final CodeFlag CO_GENERATOR
public static final CodeFlag CO_NESTED
public static final CodeFlag CO_GENERATOR_ALLOWED
public static final CodeFlag CO_FUTURE_DIVISION
public static final CodeFlag CO_FUTURE_ABSOLUTE_IMPORT
public static final CodeFlag CO_FUTURE_WITH_STATEMENT
public static final CodeFlag CO_FUTURE_PRINT_FUNCTION
public static final CodeFlag CO_FUTURE_UNICODE_LITERALS
public static CodeFlag[] values()
for (CodeFlag c : CodeFlag.values()) System.out.println(c);
public static CodeFlag 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 boolean isFlagBitSetIn(int flags)