Vala.SwitchStatement – libvala-0.56 Reference Manual
Packages
libvala-0.56
Vala
SwitchStatement
expression
SwitchStatement
accept
accept_children
add_section
check
emit
get_error_types
get_sections
replace_expression
SwitchStatement
Object Hierarchy:
Description:
public
class
SwitchStatement
:
CodeNode
,
Statement
Namespace:
Vala
Package:
libvala-0.56
Content:
Properties:
public
Expression
expression
{
get
; }
Creation methods:
public
SwitchStatement
(
Expression
expression,
SourceReference
? source_reference =
null
)
Methods:
public
override
void
accept
(
CodeVisitor
visitor)
public
override
void
accept_children
(
CodeVisitor
visitor)
public
void
add_section
(
SwitchSection
section)
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
<
SwitchSection
>
get_sections
()
public
override
void
replace_expression
(
Expression
old_node,
Expression
new_node)
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