vala-1.0 Reference Manual

Synopsis

public class Attribute : CodeNode  {
    public    Gee.List< NamedArgument >  args ;


    public    string                    name                      { get; set; } ;


    public                              Attribute                 ( string              name,
                                                                    SourceReference?    source_reference ) ;


    public    void                      add_argument              ( NamedArgument       arg ) ;
    public    bool                      has_argument              ( string              name ) ;
    public    string?                   get_string                ( string              name ) ;
    public    int                       get_integer               ( string              name ) ;
    public    double                    get_double                ( string              name ) ;
    public    bool                      get_bool                  ( string              name ) ;
}

Attribute Description

Details

Constructor Details

Attribute ()
    public                              Attribute                 ( string              name,
                                                                    SourceReference?    source_reference ) ;		

Field Details

args
    public    Gee.List< NamedArgument >  args ;		

Signal Details

Property Details

name
    public    string                    name                      { get; set; } ;		

Method Details

add_argument ()
    public    void                      add_argument              ( NamedArgument       arg ) ;		

has_argument ()
    public    bool                      has_argument              ( string              name ) ;		

get_string ()
    public    string?                   get_string                ( string              name ) ;		

get_integer ()
    public    int                       get_integer               ( string              name ) ;		

get_double ()
    public    double                    get_double                ( string              name ) ;		

get_bool ()
    public    bool                      get_bool                  ( string              name ) ;		


Created by Valadoc