Vala – codegen Reference Manual
Packages
codegen
Vala
CCodeArrayModule
CCodeAssignmentModule
CCodeAttribute
CCodeBaseModule
CCodeCompiler
CCodeControlFlowModule
CCodeDelegateModule
CCodeMemberAccessModule
CCodeMethodCallModule
CCodeMethodModule
CCodeStructModule
CType
ClassRegisterFunction
EnumRegisterFunction
ErrorDomainRegisterFunction
GAsyncModule
GDBusClientModule
GDBusModule
GDBusServerModule
GErrorModule
GIRWriter
GLibValue
GObjectModule
GSignalModule
GTypeModule
GValueModule
GVariantModule
GtkModule
InterfaceRegisterFunction
StructRegisterFunction
TypeRegisterFunction
append_array_length
get_array_length_cexpr
get_array_lengths
get_array_null_terminated
get_array_size_cvalue
get_ccode_array_length
get_ccode_array_length_expr
get_ccode_array_length_name
get_ccode_array_length_pos
get_ccode_array_length_type
get_ccode_array_null_terminated
get_ccode_async_result_pos
get_ccode_attribute
get_ccode_class_get_private_function
get_ccode_class_type_check_function
get_ccode_class_type_function
get_ccode_concrete_accessor
get_ccode_const_name
get_ccode_constructv_name
get_ccode_copy_function
get_ccode_default_value
get_ccode_default_value_on_error
get_ccode_delegate_target
get_ccode_delegate_target_destroy_notify_name
get_ccode_delegate_target_name
get_ccode_delegate_target_pos
get_ccode_destroy_function
get_ccode_destroy_notify_pos
get_ccode_dup_function
get_ccode_error_pos
get_ccode_feature_test_macros
get_ccode_finish_instance
get_ccode_finish_name
get_ccode_finish_real_name
get_ccode_finish_vfunc_name
get_ccode_free_function
get_ccode_free_function_address_of
get_ccode_generic_type_pos
get_ccode_get_value_function
get_ccode_has_copy_function
get_ccode_has_destroy_function
get_ccode_has_emitter
get_ccode_has_generic_type_parameter
get_ccode_has_new_function
get_ccode_has_type_id
get_ccode_header_filenames
get_ccode_instance_pos
get_ccode_is_gboxed
get_ccode_lower_case_name
get_ccode_lower_case_prefix
get_ccode_lower_case_suffix
get_ccode_marshaller_type_name
get_ccode_name
get_ccode_no_accessor_method
get_ccode_no_wrapper
get_ccode_param_spec_function
get_ccode_pos
get_ccode_prefix
get_ccode_quark_name
get_ccode_real_name
get_ccode_ref_function
get_ccode_ref_function_void
get_ccode_ref_sink_function
get_ccode_sentinel
get_ccode_set_value_function
get_ccode_simple_generics
get_ccode_take_value_function
get_ccode_type
get_ccode_type_cast_function
get_ccode_type_check_function
get_ccode_type_function
get_ccode_type_get_function
get_ccode_type_id
get_ccode_type_name
get_ccode_unref_function
get_ccode_upper_case_name
get_ccode_vfunc_name
get_ctype
get_cvalue
get_cvalue_
get_delegate_target
get_delegate_target_destroy_notify
get_lvalue
get_non_null
is_free_function_address_of
is_ref_function_void
is_reference_counting
set_array_length
set_array_size_cvalue
set_cvalue
set_delegate_target
set_delegate_target_destroy_notify
ccode_attribute_cache_index
Vala
Description:
Content:
Classes:
CCodeArrayModule
CCodeAssignmentModule
-
The link between an assignment and generated code.
CCodeAttribute
-
Cache for the CCode attribute
CCodeBaseModule
-
Code visitor generating C Code.
CCodeCompiler
-
Interface to the C compiler.
CCodeControlFlowModule
CCodeDelegateModule
-
The link between an assignment and generated code.
CCodeMemberAccessModule
CCodeMethodCallModule
CCodeMethodModule
-
The link between a method and generated code.
CCodeStructModule
CType
-
A C type, used only for code generation purposes.
ClassRegisterFunction
-
C function to register a class at runtime.
EnumRegisterFunction
-
C function to register an enum at runtime.
ErrorDomainRegisterFunction
-
C function to register an error domain at runtime.
GAsyncModule
GDBusClientModule
GDBusModule
GDBusServerModule
GErrorModule
GIRWriter
-
Code visitor generating .gir file for the public interface.
GLibValue
GObjectModule
GSignalModule
GTypeModule
GValueModule
GVariantModule
GtkModule
InterfaceRegisterFunction
-
C function to register an interface at runtime.
StructRegisterFunction
-
C function to register a struct at runtime.
TypeRegisterFunction
-
C function to register a type at runtime.
Functions:
public
void
append_array_length
(
Expression
expr,
CCodeExpression
size)
public
unowned
CCodeExpression
?
get_array_length_cexpr
(
TargetValue
value)
public
unowned
List
<
CCodeExpression
>?
get_array_lengths
(
Expression
expr)
public
bool
get_array_null_terminated
(
TargetValue
value)
public
unowned
CCodeExpression
?
get_array_size_cvalue
(
TargetValue
value)
public
bool
get_ccode_array_length
(
CodeNode
node)
public
string
?
get_ccode_array_length_expr
(
CodeNode
node)
public
string
?
get_ccode_array_length_name
(
CodeNode
node)
public
double
get_ccode_array_length_pos
(
CodeNode
node)
public
string
get_ccode_array_length_type
(
CodeNode
node)
public
bool
get_ccode_array_null_terminated
(
CodeNode
node)
public
double
get_ccode_async_result_pos
(
Method
m)
internal
unowned
CCodeAttribute
get_ccode_attribute
(
CodeNode
node)
public
string
get_ccode_class_get_private_function
(
Class
cl)
public
string
get_ccode_class_type_check_function
(
Class
cl)
public
string
get_ccode_class_type_function
(
Class
cl)
public
bool
get_ccode_concrete_accessor
(
Property
p)
public
string
get_ccode_const_name
(
CodeNode
node)
public
string
get_ccode_constructv_name
(
CreationMethod
m)
public
string
get_ccode_copy_function
(
TypeSymbol
sym)
public
string
get_ccode_default_value
(
TypeSymbol
sym)
public
string
get_ccode_default_value_on_error
(
TypeSymbol
sym)
public
bool
get_ccode_delegate_target
(
CodeNode
node)
public
string
get_ccode_delegate_target_destroy_notify_name
(
Variable
variable)
public
string
get_ccode_delegate_target_name
(
Variable
variable)
public
double
get_ccode_delegate_target_pos
(
CodeNode
node)
public
string
get_ccode_destroy_function
(
TypeSymbol
sym)
public
double
get_ccode_destroy_notify_pos
(
CodeNode
node)
public
string
?
get_ccode_dup_function
(
TypeSymbol
sym)
public
double
get_ccode_error_pos
(
Callable
c)
public
string
get_ccode_feature_test_macros
(
Symbol
sym)
public
bool
get_ccode_finish_instance
(
Method
m)
public
string
get_ccode_finish_name
(
Method
m)
public
string
get_ccode_finish_real_name
(
Method
m)
public
string
get_ccode_finish_vfunc_name
(
Method
m)
public
string
get_ccode_free_function
(
TypeSymbol
sym)
public
bool
get_ccode_free_function_address_of
(
Class
cl)
public
double
get_ccode_generic_type_pos
(
Method
m)
public
string
get_ccode_get_value_function
(
CodeNode
sym)
public
bool
get_ccode_has_copy_function
(
Struct
st)
public
bool
get_ccode_has_destroy_function
(
Struct
st)
public
bool
get_ccode_has_emitter
(
Signal
sig)
public
bool
get_ccode_has_generic_type_parameter
(
Method
m)
public
bool
get_ccode_has_new_function
(
Method
m)
public
bool
get_ccode_has_type_id
(
TypeSymbol
sym)
public
string
get_ccode_header_filenames
(
Symbol
sym)
public
double
get_ccode_instance_pos
(
CodeNode
node)
public
bool
get_ccode_is_gboxed
(
TypeSymbol
sym)
public
string
get_ccode_lower_case_name
(
CodeNode
node,
string
? infix =
null
)
public
string
get_ccode_lower_case_prefix
(
Symbol
sym)
public
string
get_ccode_lower_case_suffix
(
Symbol
sym)
public
string
get_ccode_marshaller_type_name
(
CodeNode
node)
public
string
get_ccode_name
(
CodeNode
node)
public
bool
get_ccode_no_accessor_method
(
Property
p)
public
bool
get_ccode_no_wrapper
(
Method
m)
public
string
get_ccode_param_spec_function
(
CodeNode
sym)
public
double
get_ccode_pos
(
Parameter
param)
public
string
get_ccode_prefix
(
Symbol
sym)
public
string
get_ccode_quark_name
(
ErrorDomain
edomain)
public
string
get_ccode_real_name
(
Symbol
sym)
public
string
get_ccode_ref_function
(
TypeSymbol
sym)
public
bool
get_ccode_ref_function_void
(
Class
cl)
public
string
get_ccode_ref_sink_function
(
ObjectTypeSymbol
sym)
public
string
get_ccode_sentinel
(
Method
m)
public
string
get_ccode_set_value_function
(
CodeNode
sym)
public
bool
get_ccode_simple_generics
(
Method
m)
public
string
get_ccode_take_value_function
(
CodeNode
sym)
public
string
?
get_ccode_type
(
CodeNode
node)
public
string
get_ccode_type_cast_function
(
ObjectTypeSymbol
sym)
public
string
get_ccode_type_check_function
(
TypeSymbol
sym)
public
string
get_ccode_type_function
(
TypeSymbol
sym)
public
string
get_ccode_type_get_function
(
ObjectTypeSymbol
sym)
public
string
get_ccode_type_id
(
CodeNode
node)
public
string
get_ccode_type_name
(
ObjectTypeSymbol
sym)
public
string
get_ccode_unref_function
(
ObjectTypeSymbol
sym)
public
string
get_ccode_upper_case_name
(
Symbol
sym,
string
? infix =
null
)
public
string
get_ccode_vfunc_name
(
Method
m)
public
unowned
string
?
get_ctype
(
TargetValue
value)
public
unowned
CCodeExpression
?
get_cvalue
(
Expression
expr)
public
unowned
CCodeExpression
?
get_cvalue_
(
TargetValue
value)
public
unowned
CCodeExpression
?
get_delegate_target
(
Expression
expr)
public
unowned
CCodeExpression
?
get_delegate_target_destroy_notify
(
Expression
expr)
public
bool
get_lvalue
(
TargetValue
value)
public
bool
get_non_null
(
TargetValue
value)
public
bool
is_free_function_address_of
(
DataType
type)
public
bool
is_ref_function_void
(
DataType
type)
public
bool
is_reference_counting
(
TypeSymbol
sym)
public
void
set_array_length
(
Expression
expr,
CCodeExpression
size)
public
void
set_array_size_cvalue
(
TargetValue
value,
CCodeExpression
? cvalue)
public
void
set_cvalue
(
Expression
expr,
CCodeExpression
? cvalue)
public
void
set_delegate_target
(
Expression
expr,
CCodeExpression
? delegate_target)
public
void
set_delegate_target_destroy_notify
(
Expression
expr,
CCodeExpression
? destroy_notify)
Fields:
internal
int
?
ccode_attribute_cache_index