public class CompilerFlags
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
dont_imply_dedent |
java.lang.String |
encoding |
boolean |
only_ast |
static int |
PyCF_DONT_IMPLY_DEDENT |
static int |
PyCF_ONLY_AST |
static int |
PyCF_SOURCE_IS_UTF8 |
boolean |
source_is_utf8 |
Constructor and Description |
---|
CompilerFlags() |
CompilerFlags(int co_flags) |
Modifier and Type | Method and Description |
---|---|
CompilerFlags |
combine(CompilerFlags flags) |
CompilerFlags |
combine(int flags) |
static CompilerFlags |
getCompilerFlags() |
static CompilerFlags |
getCompilerFlags(CompilerFlags flags,
PyFrame frame) |
static CompilerFlags |
getCompilerFlags(int flags,
PyFrame frame) |
boolean |
isFlagSet(CodeFlag flag) |
void |
setFlag(CodeFlag flag) |
int |
toBits() |
java.lang.String |
toString() |
public static final int PyCF_SOURCE_IS_UTF8
public static final int PyCF_DONT_IMPLY_DEDENT
public static final int PyCF_ONLY_AST
public boolean only_ast
public boolean dont_imply_dedent
public boolean source_is_utf8
public java.lang.String encoding
public CompilerFlags()
public CompilerFlags(int co_flags)
public int toBits()
public void setFlag(CodeFlag flag)
public boolean isFlagSet(CodeFlag flag)
public java.lang.String toString()
toString
in class java.lang.Object
public static CompilerFlags getCompilerFlags()
public static CompilerFlags getCompilerFlags(int flags, PyFrame frame)
public static CompilerFlags getCompilerFlags(CompilerFlags flags, PyFrame frame)
public CompilerFlags combine(CompilerFlags flags)
public CompilerFlags combine(int flags)