Lines Matching refs:SourceLocation
29 explicit ScopeInsertResult(std::unique_ptr<SourceLocation> previous_occurance) in ScopeInsertResult()
33 static ScopeInsertResult FailureAt(SourceLocation previous) { in FailureAt()
34 return ScopeInsertResult(std::make_unique<SourceLocation>(previous)); in FailureAt()
41 const SourceLocation& previous_occurance() const { in previous_occurance()
47 std::unique_ptr<SourceLocation> previous_occurance_;
53 ScopeInsertResult Insert(const T& t, SourceLocation location) { in Insert()
63 typename std::map<T, SourceLocation>::const_iterator begin() const { in begin()
67 typename std::map<T, SourceLocation>::const_iterator end() const { in end()
72 std::map<T, SourceLocation> scope_;
461 bool Library::Fail(const SourceLocation& location, StringView message) { in Fail()
467 SourceLocation location, Name* name_out) { in CompileCompoundIdentifier()
471 SourceLocation decl_name = components.back()->location(); in CompileCompoundIdentifier()
536 bool Library::ConsumeConstant(std::unique_ptr<raw::Constant> raw_constant, SourceLocation location, in ConsumeConstant()
557 bool Library::ConsumeType(std::unique_ptr<raw::Type> raw_type, SourceLocation location, in ConsumeType()
751 SourceLocation method_name = method->identifier->location(); in ConsumeInterfaceDeclaration()
757 SourceLocation parameter_name = parameter->identifier->location(); in ConsumeInterfaceDeclaration()
769 SourceLocation parameter_name = parameter->identifier->location(); in ConsumeInterfaceDeclaration()