#include
Inheritance diagram for cbl::codetree::scopes::TScope:
Public Types |
|
| typedef std::deque< symbols::TSymbol * > | TSymbolList |
| typedef std::deque< symbols::TMethodSym * > | TMethodList |
| typedef std::deque< symbols::TOperatorSym * > | TOperatorList |
| typedef std::deque< symbols::TCastSym * > | TCastList |
| typedef std::deque< TScope * > | TScopeList |
| typedef TSymbolList::iterator | iterator |
| typedef TSymbolList::const_iterator | const_iterator |
| enum |
TLookupType { ltMembers = 1, ltUses = 2, ltBases = 4, ltOuter = 8, ltAny = ltMembers | ltUses | ltBases | ltOuter } |
| enum | TScopeType { stNormal, stClass, stModule } |
Public Methods |
|
| virtual | ~TScope () |
| void | owningSymbol (symbols::TSymbol *ASymbol) |
| symbols::TSymbol * | owningSymbol () const |
| void | useScope (TScope *) |
| TScope * | parentScope () const |
| unsigned | count () const |
| bool | empty () const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | insert (symbols::TSymbol *) |
| void | remove (symbols::TSymbol *) |
| void | insert (const TScope &) |
| symbols::TSymbol * | lookup (const std::string &, TLookupType) const |
| bool | isUnique (const symbols::TSymbol *) const |
| bool | find (const std::string &AName, TSymbolList &AResult, TLookupType ALookupType) const |
| bool | find (TOperatorStyle AOperator, TOperatorList &AResult, TLookupType ALookupType) const |
| template |
find (std::deque< T * > &, TLookupType) const |
| TScope * | clone () const |
Protected Methods |
|
| TScope (symbols::TModuleSym *AOwner, TScopeType, TScope *AParent) | |
Friends |
|
| class | symbols::TModuleSym |
| TLookupType | operator| (TLookupType a, TLookupType b) |
|
|
Definition at line 64 of file scope.h. |
|
|
Definition at line 63 of file scope.h. |
|
|
Definition at line 37 of file scope.h. |
|
|
Definition at line 35 of file scope.h. |
|
|
Definition at line 36 of file scope.h. |
|
|
Definition at line 39 of file scope.h. |
|
|
Definition at line 34 of file scope.h. |
|
|
Definition at line 41 of file scope.h. |
|
|
Definition at line 49 of file scope.h. |
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
||||||||||||||||
|
||||||||||||||||
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
Definition at line 108 of file scope.h. 00108 {
00109 return TLookupType(static_cast
|
|
|
Definition at line 69 of file scope.h. |
1.2.14 written by , © 1997-2002