| const IR::IDeclaration * | getDeclaration (const IR::Path *path, bool notNull=false) const |
| const IR::IDeclaration * | getDeclaration (const IR::This *, bool notNull=false) const |
|
auto | getDeclarations (const IR::INamespace *ns) const |
| | Returns the set of decls that exist in the given namespace.
|
|
auto | getDeclsByName (const IR::INamespace *ns, cstring name) const |
| | Returns the set of decls with the given name that exist in the given namespace.
|
|
std::vector< const IR::IDeclaration * > | resolve (const IR::ID &name, ResolutionType type) const |
| | Resolve references for name, restricted to type declarations.
|
| virtual const IR::IDeclaration * | resolvePath (const IR::Path *path, bool isType) const |
|
const IR::Type * | resolveType (const IR::Type *type) const |
| | Resolve a refrence to a type type.
|
|
const IR::IDeclaration * | resolveUnique (const IR::ID &name, ResolutionType type, const IR::INamespace *=nullptr) const |
| | Resolve reference for name, restricted to type declarations, and expect one result.
|