sun::ast::InterpolatedStringAST::Segment
struct · Source (opens in a new tab)
struct sun::ast::InterpolatedStringAST::SegmentOrdered segment: either a literal run or a ${...} expression.
Public Fields
cookedText
public · variable · Source (opens in a new tab)
std::string sun::ast::InterpolatedStringAST::Segment::cookedTextNo documentation comment.
expression
public · variable · Source (opens in a new tab)
std::unique_ptr<ExprAST> sun::ast::InterpolatedStringAST::Segment::expressionNo documentation comment.
Related: ExprAST
isLiteral
public · variable · Source (opens in a new tab)
bool sun::ast::InterpolatedStringAST::Segment::isLiteral = trueNo documentation comment.
rawText
public · variable · Source (opens in a new tab)
std::string sun::ast::InterpolatedStringAST::Segment::rawTextNo documentation comment.
sourceOffset
public · variable · Source (opens in a new tab)
int sun::ast::InterpolatedStringAST::Segment::sourceOffset = 0No documentation comment.