sun::ast::NullLiteralAST
class · Source (opens in a new tab)
class sun::ast::NullLiteralAST : public sun::ast::ExprASTThe null pointer literal before its target type is resolved.
Inherits
- sun::ast::ExprAST (public)
Public Functions
NullLiteralAST
public · function · Source (opens in a new tab)
sun::ast::NullLiteralAST::NullLiteralAST()=defaultCreates this syntax node and takes ownership of any supplied child expressions.
dotLabel
public · function · Source (opens in a new tab)
std::string sun::ast::NullLiteralAST::dotLabel() const overrideReturns the node label used in syntax-tree graph visualizations.
getType
public · function · Source (opens in a new tab)
ASTNodeType sun::ast::NullLiteralAST::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::NullLiteralAST::toString() const overrideReturns a readable representation for diagnostics and debugging.