Lines Matching defs:namespace
60 struct symbol *lookup_symbol(struct ident *ident, enum namespace ns)
65 if (sym->namespace & ns) {
699 if (next->namespace != sym->namespace)
733 if (prev->namespace != NS_SYMBOL)
745 void bind_symbol_with_scope(struct symbol *sym, struct ident *ident, enum namespace ns, struct scope *scope)
755 sym->namespace = ns;
779 void bind_symbol(struct symbol *sym, struct ident *ident, enum namespace ns)
790 struct symbol *create_symbol(int stream, const char *name, int type, int namespace)
793 struct symbol *sym = lookup_symbol(ident, namespace);
803 bind_symbol(sym, token->ident, namespace);