top | up | prev | next

TargetDeclaration Class

Definition at line 127 of Project.hpp

Constructors

TargetDeclaration(Target target_)

Member Functions

Target GetTarget() const
void Write(CodeFormatter& formatter) override

Member Variables

Target target

Constructor Details

TargetDeclaration Constructor

sngcm::ast::TargetDeclaration::TargetDeclaration(Target target_)

Definition at line 282 of Project.cpp :
282 : ProjectDeclaration(ProjectDeclarationType::targetDeclaration)target(target_)
283 {
284 }


Declaration at line 130 of Project.hpp


Member Function Details

GetTarget Member Function

Target sngcm::ast::TargetDeclaration::GetTarget() const

Definition at line 131 of Project.hpp :
131 { return target; }

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


Write Member Function

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

Definition at line 286 of Project.cpp :
287 {
288     formatter.WriteLine("target=" + TargetStr(target) + ";");
289 }


Declaration at line 132 of Project.hpp

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

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


top | up | prev | next