Valadoc.Token – valadoc Reference Manual
Packages
valadoc
Valadoc
Token
begin
end
is_number
is_word
token_type
value
word
Token
Token.from_type
Token.from_word
to_int
to_pretty_string
to_string
_begin
_end
_type
_value
_word
Token
Object Hierarchy:
Valadoc.Token
Valadoc.Token
Valadoc.Token
GLib.Object
GLib.Object
GLib.Object->Valadoc.Token
Description:
public
class
Token
:
Object
Namespace:
Valadoc
Package:
valadoc
Content:
Properties:
public
SourceLocation
begin
{
get
; }
public
SourceLocation
end
{
get
; }
public
bool
is_number
{
get
; }
public
bool
is_word
{
get
; }
public
TokenType
?
token_type
{
get
; }
public
string
?
value
{
get
; }
public
string
?
word
{
get
; }
Creation methods:
public
Token
()
public
Token.from_type
(
TokenType
type,
SourceLocation
begin,
SourceLocation
end,
string
? val =
null
)
public
Token.from_word
(
string
word,
SourceLocation
begin,
SourceLocation
end)
Methods:
public
int
to_int
()
public
unowned
string
to_pretty_string
()
public
unowned
string
to_string
()
Fields:
private
SourceLocation
_begin
private
SourceLocation
_end
private
TokenType
?
_type
private
string
?
_value
private
string
?
_word
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref