sun::ast::InterpolatedStringAST::Segment

sun::ast::InterpolatedStringAST::Segment

struct · Source (opens in a new tab)

struct sun::ast::InterpolatedStringAST::Segment

Ordered 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::cookedText

No documentation comment.

expression

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

std::unique_ptr<ExprAST> sun::ast::InterpolatedStringAST::Segment::expression

No documentation comment.

Related: ExprAST

isLiteral

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

bool sun::ast::InterpolatedStringAST::Segment::isLiteral = true

No documentation comment.

rawText

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

std::string sun::ast::InterpolatedStringAST::Segment::rawText

No documentation comment.

sourceOffset

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

int sun::ast::InterpolatedStringAST::Segment::sourceOffset = 0

No documentation comment.