Vala.TryStatement – libvala-0.56 Reference Manual
Packages
libvala-0.56
Vala
TryStatement
after_try_block_reachable
body
finally_body
TryStatement
accept
accept_children
add_catch_clause
check
emit
get_catch_clauses
get_error_types
TryStatement
Object Hierarchy:
Description:
public
class
TryStatement
:
CodeNode
,
Statement
Namespace:
Vala
Package:
libvala-0.56
Content:
Properties:
public
bool
after_try_block_reachable
{
get
;
set
; }
public
Block
body
{
get
; }
public
Block
?
finally_body
{
get
; }
Creation methods:
public
TryStatement
(
Block
body,
Block
? finally_body,
SourceReference
? source_reference =
null
)
Methods:
public
override
void
accept
(
CodeVisitor
visitor)
public
override
void
accept_children
(
CodeVisitor
visitor)
public
void
add_catch_clause
(
CatchClause
clause)
public
override
bool
check
(
CodeContext
context)
public
override
void
emit
(
CodeGenerator
codegen)
public
unowned
List
<
CatchClause
>
get_catch_clauses
()
public
override
void
get_error_types
(
Collection
<
DataType
> collection,
SourceReference
? source_reference =
null
)
Inherited Members:
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