sun::ast::ManifestAST

sun::ast::ManifestAST

class · Source (opens in a new tab)

class sun::ast::ManifestAST : public sun::ast::ExprAST

Dependency declarations and target-specific settings from a Sun manifest.

Inherits

Public Functions

ManifestAST

public · function · Source (opens in a new tab)

sun::ast::ManifestAST::ManifestAST(std::vector< ManifestSunDependency > suns, std::vector< ManifestMoonDependency > moons, std::vector< ManifestProtoDependency > protos={}, std::vector< ManifestArchiveDependency > archives={}, std::vector< ManifestTargetBlock > targets={}, std::vector< ManifestSunDependency > testSuns={})

Creates this syntax node and takes ownership of any supplied child expressions.

Related: ManifestSunDependency, ManifestMoonDependency, ManifestProtoDependency, ManifestArchiveDependency, ManifestTargetBlock

dotLabel

public · function · Source (opens in a new tab)

std::string sun::ast::ManifestAST::dotLabel() const override

Returns the node label used in syntax-tree graph visualizations.

getArchives

public · function · Source (opens in a new tab)

const std::vector< ManifestArchiveDependency > & sun::ast::ManifestAST::getArchives() const

Returns the archives stored by this object.

Related: ManifestArchiveDependency

getMoons

public · function · Source (opens in a new tab)

const std::vector< ManifestMoonDependency > & sun::ast::ManifestAST::getMoons() const

Returns the compiled-library dependencies.

Related: ManifestMoonDependency

getProtos

public · function · Source (opens in a new tab)

const std::vector< ManifestProtoDependency > & sun::ast::ManifestAST::getProtos() const

Returns the protobuf dependencies.

Related: ManifestProtoDependency

getSuns

public · function · Source (opens in a new tab)

const std::vector< ManifestSunDependency > & sun::ast::ManifestAST::getSuns() const

Returns the source dependencies.

Related: ManifestSunDependency

getTargets

public · function · Source (opens in a new tab)

const std::vector< ManifestTargetBlock > & sun::ast::ManifestAST::getTargets() const

Returns the target-specific dependency settings.

Related: ManifestTargetBlock

getTestSuns

public · function · Source (opens in a new tab)

const std::vector< ManifestSunDependency > & sun::ast::ManifestAST::getTestSuns() const

Returns the test-source dependencies.

Related: ManifestSunDependency

getType

public · function · Source (opens in a new tab)

ASTNodeType sun::ast::ManifestAST::getType() const override

Returns the syntax-node kind used to dispatch tree visitors.

Related: ASTNodeType

toString

public · function · Source (opens in a new tab)

std::string sun::ast::ManifestAST::toString() const override

Returns a readable representation for diagnostics and debugging.

Private Fields

archives

private · variable · Source (opens in a new tab)

std::vector<ManifestArchiveDependency> sun::ast::ManifestAST::archives

No documentation comment.

Related: ManifestArchiveDependency

moons

private · variable · Source (opens in a new tab)

std::vector<ManifestMoonDependency> sun::ast::ManifestAST::moons

No documentation comment.

Related: ManifestMoonDependency

protos

private · variable · Source (opens in a new tab)

std::vector<ManifestProtoDependency> sun::ast::ManifestAST::protos

No documentation comment.

Related: ManifestProtoDependency

suns

private · variable · Source (opens in a new tab)

std::vector<ManifestSunDependency> sun::ast::ManifestAST::suns

No documentation comment.

Related: ManifestSunDependency

targets

private · variable · Source (opens in a new tab)

std::vector<ManifestTargetBlock> sun::ast::ManifestAST::targets

No documentation comment.

Related: ManifestTargetBlock

testSuns

private · variable · Source (opens in a new tab)

std::vector<ManifestSunDependency> sun::ast::ManifestAST::testSuns

No documentation comment.

Related: ManifestSunDependency