vala-1.0 Reference Manual

Synopsis

public class Scope : Object  {
    public    weak Symbol               owner                     { get; set; } ;
    public    weak Scope                parent_scope              { get; set; } ;


    public                              Scope                     ( Symbol?             owner = null ) ;


    public    void                      add                       ( string?             name,
                                                                    Symbol              sym ) ;
    public    void                      remove                    ( string              name ) ;
    public    Symbol?                   lookup                    ( string              name ) ;
    public    bool                      is_subscope_of            ( Scope?              scope ) ;
}

Scope Description

Details

Constructor Details

Scope ()
    public                              Scope                     ( Symbol?             owner = null ) ;		

Field Details

Signal Details

Property Details

owner
    public    weak Symbol               owner                     { get; set; } ;		

parent_scope
    public    weak Scope                parent_scope              { get; set; } ;		

Method Details

add ()
    public    void                      add                       ( string?             name,
                                                                    Symbol              sym ) ;		

remove ()
    public    void                      remove                    ( string              name ) ;		

lookup ()
    public    Symbol?                   lookup                    ( string              name ) ;		

is_subscope_of ()
    public    bool                      is_subscope_of            ( Scope?              scope ) ;		


Created by Valadoc