sun::ast::PackExpansionAST
class · Source (opens in a new tab)
class sun::ast::PackExpansionAST : public sun::ast::ExprASTPack expansion expression: args... Expands a variadic parameter pack in a call expression.
Inherits
- sun::ast::ExprAST (public)
Public Functions
PackExpansionAST
public · function · Source (opens in a new tab)
sun::ast::PackExpansionAST::PackExpansionAST(std::string name)Creates this syntax node and takes ownership of any supplied child expressions.
dotLabel
public · function · Source (opens in a new tab)
std::string sun::ast::PackExpansionAST::dotLabel() const overrideReturns the node label used in syntax-tree graph visualizations.
getPackName
public · function · Source (opens in a new tab)
const std::string & sun::ast::PackExpansionAST::getPackName() constReturns the pack name stored by this object.
getType
public · function · Source (opens in a new tab)
ASTNodeType sun::ast::PackExpansionAST::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::PackExpansionAST::toString() const overrideReturns a readable representation for diagnostics and debugging.
Private Fields
packName
private · variable · Source (opens in a new tab)
std::string sun::ast::PackExpansionAST::packNameNo documentation comment.