top
|
up
|
prev
|
next
SourceFileDeclaration Class
Definition at line
88
of
Project.hpp
Constructors
SourceFileDeclaration
(
const
std::string& filePath_)
Member Functions
const
std::string&
FilePath
()
const
void
Write
(
CodeFormatter
& formatter)
override
Member Variables
std::string
filePath
Constructor Details
SourceFileDeclaration Constructor
sngcm::ast::SourceFileDeclaration::SourceFileDeclaration(
const
std::string& filePath_)
Definition at line
255
of
Project.cpp
:
255
:
ProjectDeclaration
(
ProjectDeclarationType
::
sourceFileDeclaration
)
,
filePath
(
filePath_
)
256
{
257
}
Declaration at line
91
of
Project.hpp
Member Function Details
FilePath Member Function
const
std::string& sngcm::ast::SourceFileDeclaration::FilePath()
const
Definition at line
92
of
Project.hpp
:
92
{
return
filePath
;
}
Called by:
sngcm::ast::Project::ResolveDeclarations
Write Member Function
void
sngcm::ast::SourceFileDeclaration::Write(
CodeFormatter
& formatter)
override
Definition at line
259
of
Project.cpp
:
260
{
261
formatter
.
WriteLine
(
"source <"
+
filePath
+
">;"
)
;
262
}
Declaration at line
93
of
Project.hpp
Base class overridden functions:
sngcm::ast::ProjectDeclaration::Write
Calls:
soulng::util::CodeFormatter::WriteLine
top
|
up
|
prev
|
next