sun::ast::ManifestAST
class · Source (opens in a new tab)
class sun::ast::ManifestAST : public sun::ast::ExprASTDependency declarations and target-specific settings from a Sun manifest.
Inherits
- sun::ast::ExprAST (public)
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 overrideReturns 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() constReturns 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() constReturns the compiled-library dependencies.
Related: ManifestMoonDependency
getProtos
public · function · Source (opens in a new tab)
const std::vector< ManifestProtoDependency > & sun::ast::ManifestAST::getProtos() constReturns the protobuf dependencies.
Related: ManifestProtoDependency
getSuns
public · function · Source (opens in a new tab)
const std::vector< ManifestSunDependency > & sun::ast::ManifestAST::getSuns() constReturns the source dependencies.
Related: ManifestSunDependency
getTargets
public · function · Source (opens in a new tab)
const std::vector< ManifestTargetBlock > & sun::ast::ManifestAST::getTargets() constReturns the target-specific dependency settings.
Related: ManifestTargetBlock
getTestSuns
public · function · Source (opens in a new tab)
const std::vector< ManifestSunDependency > & sun::ast::ManifestAST::getTestSuns() constReturns the test-source dependencies.
Related: ManifestSunDependency
getType
public · function · Source (opens in a new tab)
ASTNodeType sun::ast::ManifestAST::getType() const overrideReturns 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 overrideReturns a readable representation for diagnostics and debugging.
Private Fields
archives
private · variable · Source (opens in a new tab)
std::vector<ManifestArchiveDependency> sun::ast::ManifestAST::archivesNo documentation comment.
Related: ManifestArchiveDependency
moons
private · variable · Source (opens in a new tab)
std::vector<ManifestMoonDependency> sun::ast::ManifestAST::moonsNo documentation comment.
Related: ManifestMoonDependency
protos
private · variable · Source (opens in a new tab)
std::vector<ManifestProtoDependency> sun::ast::ManifestAST::protosNo documentation comment.
Related: ManifestProtoDependency
suns
private · variable · Source (opens in a new tab)
std::vector<ManifestSunDependency> sun::ast::ManifestAST::sunsNo documentation comment.
Related: ManifestSunDependency
targets
private · variable · Source (opens in a new tab)
std::vector<ManifestTargetBlock> sun::ast::ManifestAST::targetsNo documentation comment.
Related: ManifestTargetBlock
testSuns
private · variable · Source (opens in a new tab)
std::vector<ManifestSunDependency> sun::ast::ManifestAST::testSunsNo documentation comment.
Related: ManifestSunDependency