org.python.core

## Class CompilerFlags

- java.lang.Object
- - org.python.core.CompilerFlags

- All Implemented Interfaces:
    java.io.Serializable

      public class CompilerFlags
      extends java.lang.Object
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    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 Summary

    Constructors
    Constructor and Description
    `CompilerFlags()`
    `CompilerFlags(int co_flags)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### PyCF_SOURCE_IS_UTF8

          public static final int PyCF_SOURCE_IS_UTF8

      See Also:
        Constant Field Values

    - #### PyCF_DONT_IMPLY_DEDENT

          public static final int PyCF_DONT_IMPLY_DEDENT

      See Also:
        Constant Field Values

    - #### PyCF_ONLY_AST

          public static final int PyCF_ONLY_AST

      See Also:
        Constant Field Values

    - #### only_ast

          public boolean only_ast

    - #### dont_imply_dedent

          public boolean dont_imply_dedent

    - #### source_is_utf8

          public boolean source_is_utf8

    - #### encoding

          public java.lang.String encoding

  - ### Constructor Detail

    - #### CompilerFlags

          public CompilerFlags()

    - #### CompilerFlags

          public CompilerFlags(int co_flags)

  - ### Method Detail

    - #### toBits

          public int toBits()

    - #### setFlag

          public void setFlag(CodeFlag flag)

    - #### isFlagSet

          public boolean isFlagSet(CodeFlag flag)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### getCompilerFlags

          public static CompilerFlags getCompilerFlags()

    - #### getCompilerFlags

          public static CompilerFlags getCompilerFlags(int flags,
                                                       PyFrame frame)

    - #### getCompilerFlags

          public static CompilerFlags getCompilerFlags(CompilerFlags flags,
                                                       PyFrame frame)

    - #### combine

          public CompilerFlags combine(CompilerFlags flags)

    - #### combine

          public CompilerFlags combine(int flags)

Jython homepage