Lines Matching refs:Symbol
13 std::vector<const FunctionDeclaration*> SymbolTable::GetFunctions(const Symbol& s) { in GetFunctions()
15 case Symbol::kFunctionDeclaration_Kind: in GetFunctions()
17 case Symbol::kUnresolvedFunction_Kind: in GetFunctions()
24 const Symbol* SymbolTable::operator[](StringFragment name) { in operator []()
36 const Symbol* previous = (*fParent)[name]; in operator []()
62 Symbol* SymbolTable::takeOwnership(Symbol* s) { in takeOwnership()
72 void SymbolTable::add(StringFragment name, std::unique_ptr<Symbol> symbol) { in add()
77 void SymbolTable::addWithoutOwnership(StringFragment name, const Symbol* symbol) { in addWithoutOwnership()
81 } else if (symbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership()
82 const Symbol* oldSymbol = existing->second; in addWithoutOwnership()
83 if (oldSymbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership()
90 } else if (oldSymbol->fKind == Symbol::kUnresolvedFunction_Kind) { in addWithoutOwnership()
109 case Symbol::kFunctionDeclaration_Kind: in markAllFunctionsBuiltin()
112 case Symbol::kUnresolvedFunction_Kind: in markAllFunctionsBuiltin()
123 std::map<StringFragment, const Symbol*>::iterator SymbolTable::begin() { in begin()
127 std::map<StringFragment, const Symbol*>::iterator SymbolTable::end() { in end()