sun::ast::PackExpansionAST

sun::ast::PackExpansionAST

class · Source (opens in a new tab)

class sun::ast::PackExpansionAST : public sun::ast::ExprAST

Pack expansion expression: args... Expands a variadic parameter pack in a call expression.

Inherits

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 override

Returns 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() const

Returns the pack name stored by this object.

getType

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

ASTNodeType sun::ast::PackExpansionAST::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::PackExpansionAST::toString() const override

Returns a readable representation for diagnostics and debugging.

Private Fields

packName

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

std::string sun::ast::PackExpansionAST::packName

No documentation comment.