Vala.CodeContext – libvala-0.56 Reference Manual
Packages
libvala-0.56
Vala
CodeContext
abi_stability
analyzer
assert
basedir
ccode_only
checking
codegen
compile_only
debug
deprecated
directory
entry_point
entry_point_name
experimental
experimental_non_null
flow_analyzer
gir_directories
gobject_tracing
gresources
gresources_directories
header_filename
hide_internal
includedir
internal_header_filename
keep_going
mem_profiler
metadata_directories
module_init_method
optlevel
output
pkg_config_command
profile
report
resolver
root
run_output
save_csources
save_temps
since_check
symbols_filename
use_fast_vapi
used_attr
vapi_comments
vapi_directories
verbose_mode
version_header
@get
pop
push
realpath
CodeContext
accept
add_c_source_file
add_define
add_external_package
add_package
add_packages_from_file
add_source_file
add_source_filename
check
get_c_source_files
get_gir_path
get_gresource_path
get_metadata_path
get_packages
get_source_file
get_source_files
get_vapi_path
has_package
is_defined
pkg_config_compile_flags
pkg_config_exists
pkg_config_modversion
require_glib_version
set_target_glib_version
set_target_profile
write_dependencies
write_external_dependencies
CodeContext
Object Hierarchy:
Description:
public
class
CodeContext
Namespace:
Vala
Package:
libvala-0.56
Content:
Properties:
public
bool
abi_stability
{
get
;
set
; }
public
SemanticAnalyzer
analyzer
{
get
; }
public
bool
assert
{
get
;
set
; }
public
string
basedir
{
get
;
set
; }
public
bool
ccode_only
{
get
;
set
; }
public
bool
checking
{
get
;
set
; }
public
CodeGenerator
codegen
{
get
;
set
; }
public
bool
compile_only
{
get
;
set
; }
public
bool
debug
{
get
;
set
; }
public
bool
deprecated
{
get
;
set
; }
public
string
directory
{
get
;
set
; }
public
Method
?
entry_point
{
get
;
set
; }
public
string
entry_point_name
{
get
;
set
; }
public
bool
experimental
{
get
;
set
; }
public
bool
experimental_non_null
{
get
;
set
; }
public
FlowAnalyzer
flow_analyzer
{
get
; }
public
string
[]
gir_directories
{
get
;
set
; }
public
bool
gobject_tracing
{
get
;
set
; }
public
string
[]
gresources
{
get
;
set
; }
public
string
[]
gresources_directories
{
get
;
set
; }
public
string
?
header_filename
{
get
;
set
; }
public
bool
hide_internal
{
get
;
set
; }
public
string
?
includedir
{
get
;
set
; }
public
string
?
internal_header_filename
{
get
;
set
; }
public
bool
keep_going
{
get
;
set
; }
public
bool
mem_profiler
{
get
;
set
; }
public
string
[]
metadata_directories
{
get
;
set
; }
public
Method
module_init_method
{
get
;
set
; }
public
int
optlevel
{
get
;
set
; }
public
string
output
{
get
;
set
; }
public
string
pkg_config_command
{
get
;
set
; }
public
Profile
profile
{
get
; }
public
Report
report
{
get
;
set
; }
public
SymbolResolver
resolver
{
get
; }
public
Namespace
root
{
get
; }
public
bool
run_output
{
get
;
set
; }
public
bool
save_csources
{
get
; }
public
bool
save_temps
{
get
;
set
; }
public
bool
since_check
{
get
;
set
; }
public
string
?
symbols_filename
{
get
;
set
; }
public
bool
use_fast_vapi
{
get
;
set
; }
public
UsedAttr
used_attr
{
get
;
set
; }
public
bool
vapi_comments
{
get
;
set
; }
public
string
[]
vapi_directories
{
get
;
set
; }
public
bool
verbose_mode
{
get
;
set
; }
public
bool
version_header
{
get
;
set
; }
Static methods:
public
static
CodeContext
@get
()
public
static
void
pop
()
public
static
void
push
(
CodeContext
context)
public
static
string
realpath
(
string
name)
Creation methods:
public
CodeContext
()
Methods:
public
void
accept
(
CodeVisitor
visitor)
public
void
add_c_source_file
(
string
file)
public
void
add_define
(
string
define)
public
bool
add_external_package
(
string
pkg)
public
void
add_package
(
string
pkg)
public
bool
add_packages_from_file
(
string
filename)
public
void
add_source_file
(
SourceFile
file)
public
bool
add_source_filename
(
string
filename,
bool
is_source =
false
,
bool
cmdline =
false
)
public
void
check
()
public
unowned
List
<
string
>
get_c_source_files
()
public
string
?
get_gir_path
(
string
gir)
public
string
?
get_gresource_path
(
string
gresource,
string
resource)
public
string
?
get_metadata_path
(
string
gir_filename)
public
unowned
List
<
string
>
get_packages
()
public
unowned
SourceFile
?
get_source_file
(
string
filename)
public
unowned
List
<
SourceFile
>
get_source_files
()
public
string
?
get_vapi_path
(
string
pkg)
public
bool
has_package
(
string
pkg)
public
bool
is_defined
(
string
define)
public
string
?
pkg_config_compile_flags
(
string
package_name)
public
bool
pkg_config_exists
(
string
package_name)
public
string
?
pkg_config_modversion
(
string
package_name)
public
bool
require_glib_version
(
int
major,
int
minor)
public
void
set_target_glib_version
(
string
target_glib)
public
void
set_target_profile
(
Profile
profile,
bool
include_stdpkg =
true
)
public
void
write_dependencies
(
string
filename)
public
void
write_external_dependencies
(
string
filename)