top | up | prev | next

ReferenceDeclaration Class

Definition at line 78 of Project.hpp

Constructors

ReferenceDeclaration(const std::string& filePath_)

Member Functions

const std::string& FilePath() const
void Write(CodeFormatter& formatter) override

Member Variables

std::string filePath

Constructor Details

ReferenceDeclaration Constructor

sngcm::ast::ReferenceDeclaration::ReferenceDeclaration(const std::string& filePath_)

Definition at line 246 of Project.cpp :
246 : ProjectDeclaration(ProjectDeclarationType::referenceDeclaration)filePath(filePath_)
247 {
248 }


Declaration at line 81 of Project.hpp


Member Function Details

FilePath Member Function

const std::string& sngcm::ast::ReferenceDeclaration::FilePath() const

Definition at line 82 of Project.hpp :
 82 { return filePath; }

Called by: sngcm::ast::Project::ResolveDeclarations


Write Member Function

void sngcm::ast::ReferenceDeclaration::Write(CodeFormatter & formatter) override

Definition at line 250 of Project.cpp :
251 {
252     formatter.WriteLine("reference <" + filePath + ">;");
253 }


Declaration at line 83 of Project.hpp

Base class overridden functions: sngcm::ast::ProjectDeclaration::Write

Calls: soulng::util::CodeFormatter::WriteLine


top | up | prev | next