The Psyche Project
Public Member Functions | List of all members
psy::C::Scope Class Reference

The Scope class. More...

#include <Scope.h>

Public Member Functions

ScopeKind kind () const
 
const DeclarationsearchForDeclaration (const Identifier *ident, NameSpace ns) const
 
std::vector< const Declaration * > declarations () const
 
const std::vector< const Scope * > innerScopes () const
 
const ScopeouterScope () const
 

Detailed Description

The Scope class.

Remarks
6.2.1

Member Function Documentation

◆ declarations()

std::vector< const Declaration * > Scope::declarations ( ) const

The Declaration(s) in this Scope.

◆ innerScopes()

const std::vector< const Scope * > Scope::innerScopes ( ) const

The inner scopes of this Scope.

◆ kind()

ScopeKind Scope::kind ( ) const

The ScopeKind of this Scope.

◆ outerScope()

const Scope * Scope::outerScope ( ) const

The outer scope of this Scope.

◆ searchForDeclaration()

const Declaration * Scope::searchForDeclaration ( const Identifier ident,
NameSpace  ns 
) const

Search this Scope and outer scopes of this Scope for a Declaration with Identifier ident in NameSpace ns.


The documentation for this class was generated from the following files: