Vala.Block – libvala-0.56 Reference Manual
Packages
libvala-0.56
Vala
Block
captured
contains_jump_statement
unreachable_exit
Block
accept
accept_children
add_local_constant
add_local_variable
add_statement
check
emit
get_error_types
get_local_constants
get_local_variables
get_statements
insert_before
insert_statement
remove_local_variable
replace_statement
Block
Object Hierarchy:
Description:
public
class
Block
:
Symbol
,
Statement
All known sub-classes:
ForeachStatement
SwitchSection
WithStatement
Namespace:
Vala
Package:
libvala-0.56
Content:
Properties:
public
bool
captured
{
get
;
set
; }
public
bool
contains_jump_statement
{
get
;
set
; }
public
bool
unreachable_exit
{
get
;
set
; }
Creation methods:
public
Block
(
SourceReference
? source_reference =
null
)
Methods:
public
override
void
accept
(
CodeVisitor
visitor)
public
override
void
accept_children
(
CodeVisitor
visitor)
public
void
add_local_constant
(
Constant
constant)
public
void
add_local_variable
(
LocalVariable
local)
public
void
add_statement
(
Statement
stmt)
public
override
bool
check
(
CodeContext
context)
public
override
void
emit
(
CodeGenerator
codegen)
public
override
void
get_error_types
(
Collection
<
DataType
> collection,
SourceReference
? source_reference =
null
)
public
unowned
List
<
Constant
>
get_local_constants
()
public
unowned
List
<
LocalVariable
>
get_local_variables
()
public
List
<
Statement
>
get_statements
()
public
void
insert_before
(
Statement
stmt,
Statement
new_stmt)
public
void
insert_statement
(
int
index,
Statement
stmt)
public
void
remove_local_variable
(
LocalVariable
local)
public
void
replace_statement
(
Statement
old_stmt,
Statement
new_stmt)
Inherited Members:
All known members inherited from class Vala.Symbol
access
active
add_class
add_constant
add_constructor
add_delegate
add_destructor
add_enum
add_error_domain
add_field
add_interface
add_method
add_namespace
add_property
add_signal
add_struct
anonymous
camel_case_to_lower_case
comment
equal_func
external
external_package
from_commandline
get_full_name
get_hidden_member
get_top_accessible_scope
hash_func
hides
is_accessible
is_class_member
is_extern
is_instance_member
is_internal_symbol
is_private_symbol
lower_case_to_camel_case
name
owner
parent_symbol
scope
source_type
to_string
used
version
All known members inherited from class Vala.CodeNode
accept
accept_children
add_attribute
attributes
check
checked
copy_attribute_bool
copy_attribute_double
copy_attribute_integer
copy_attribute_string
emit
error
get_attribute
get_attribute_bool
get_attribute_cache
get_attribute_cache_index
get_attribute_double
get_attribute_integer
get_attribute_string
get_defined_variables
get_error_types
get_temp_name
get_used_variables
has_attribute
has_attribute_argument
parent_node
remove_attribute_argument
replace_expression
replace_type
set_attribute
set_attribute_bool
set_attribute_cache
set_attribute_double
set_attribute_integer
set_attribute_string
source_reference
to_string
tree_can_fail
type_name
unreachable