vala-1.0 Reference Manual

Synopsis

public class CodeContext : Object  {
    public    string                    library                   { get; set; } ;
    public    weak bool                 memory_management         { get; set; } ;
    public    weak bool                 assert                    { get; set; } ;
    public    weak bool                 checking                  { get; set; } ;
    public    weak bool                 non_null                  { get; set; } ;
    public    weak bool                 non_null_experimental     { get; set; } ;
    public    weak bool                 ccode_only                { get; set; } ;
    public    weak bool                 compile_only              { get; set; } ;
    public    string                    output                    { get; set; } ;
    public    string                    basedir                   { get; set; } ;
    public    string                    directory                 { get; set; } ;
    public    weak bool                 debug                     { get; set; } ;
    public    weak int                  optlevel                  { get; set; } ;
    public    weak bool                 thread                    { get; set; } ;
    public    Method                    module_init_method        { get; set; } ;
    public    weak bool                 save_temps                { get; set; } ;
    public    weak bool                 save_csources             { get; } ;
    public    weak bool                 save_cheaders             { get; } ;
    public    Namespace                 root                      { get; } ;
    public    CodeGenerator             codegen                   { get; set; } ;


    public                              CodeContext               (  ) ;


    public    Gee.Collection< SourceFile >  get_source_files          (  ) ;
    public    Gee.Collection< string >  get_c_source_files        (  ) ;
    public    void                      add_source_file           ( SourceFile          file ) ;
    public    void                      add_c_source_file         ( string              file ) ;
    public    Gee.Collection< string >  get_packages              (  ) ;
    public    bool                      has_package               ( string              pkg ) ;
    public    void                      add_package               ( string              pkg ) ;
    public    void                      accept                    ( CodeVisitor         visitor ) ;
    public    void                      find_header_cycles        (  ) ;
    public    void                      add_define                ( string              define ) ;
    public    bool                      ignore_node               ( CodeNode            node ) ;
    public    string?                   get_package_path          ( string              pkg,
                                                                    string[]            vapi_directories ) ;
    public    void                      add_dynamic_member        ( Symbol              dynamic_member ) ;
}

CodeContext Description

Details

Constructor Details

CodeContext ()
    public                              CodeContext               (  ) ;		

Field Details

Signal Details

Property Details

library
    public    string                    library                   { get; set; } ;		

memory_management
    public    weak bool                 memory_management         { get; set; } ;		

assert
    public    weak bool                 assert                    { get; set; } ;		

checking
    public    weak bool                 checking                  { get; set; } ;		

non_null
    public    weak bool                 non_null                  { get; set; } ;		

non_null_experimental
    public    weak bool                 non_null_experimental     { get; set; } ;		

ccode_only
    public    weak bool                 ccode_only                { get; set; } ;		

compile_only
    public    weak bool                 compile_only              { get; set; } ;		

output
    public    string                    output                    { get; set; } ;		

basedir
    public    string                    basedir                   { get; set; } ;		

directory
    public    string                    directory                 { get; set; } ;		

debug
    public    weak bool                 debug                     { get; set; } ;		

optlevel
    public    weak int                  optlevel                  { get; set; } ;		

thread
    public    weak bool                 thread                    { get; set; } ;		

module_init_method
    public    Method                    module_init_method        { get; set; } ;		

save_temps
    public    weak bool                 save_temps                { get; set; } ;		

save_csources
    public    weak bool                 save_csources             { get; } ;		

save_cheaders
    public    weak bool                 save_cheaders             { get; } ;		

root
    public    Namespace                 root                      { get; } ;		

codegen
    public    CodeGenerator             codegen                   { get; set; } ;		

Method Details

get_source_files ()
    public    Gee.Collection< SourceFile >  get_source_files          (  ) ;		

get_c_source_files ()
    public    Gee.Collection< string >  get_c_source_files        (  ) ;		

add_source_file ()
    public    void                      add_source_file           ( SourceFile          file ) ;		

add_c_source_file ()
    public    void                      add_c_source_file         ( string              file ) ;		

get_packages ()
    public    Gee.Collection< string >  get_packages              (  ) ;		

has_package ()
    public    bool                      has_package               ( string              pkg ) ;		

add_package ()
    public    void                      add_package               ( string              pkg ) ;		

accept ()
    public    void                      accept                    ( CodeVisitor         visitor ) ;		

find_header_cycles ()
    public    void                      find_header_cycles        (  ) ;		

add_define ()
    public    void                      add_define                ( string              define ) ;		

ignore_node ()
    public    bool                      ignore_node               ( CodeNode            node ) ;		

get_package_path ()
    public    string?                   get_package_path          ( string              pkg,
                                                                    string[]            vapi_directories ) ;		

add_dynamic_member ()
    public    void                      add_dynamic_member        ( Symbol              dynamic_member ) ;		


Created by Valadoc