VapourSynth-llvmexpr
Loading...
Searching...
No Matches
infix2postfix::ReturnStmt Struct Reference

#include <llvmexpr/frontend/infix2postfix/AST.hpp>

Collaboration diagram for infix2postfix::ReturnStmt:

Public Member Functions

 ReturnStmt (Token kw, std::unique_ptr< Expr > v)

Public Attributes

Token keyword
std::unique_ptr< Exprvalue
Range range

Detailed Description

Definition at line 184 of file AST.hpp.

Constructor & Destructor Documentation

◆ ReturnStmt()

infix2postfix::ReturnStmt::ReturnStmt ( Token kw,
std::unique_ptr< Expr > v )
inline

Definition at line 367 of file AST.hpp.

368 : keyword(std::move(kw)), value(std::move(v)) {
369 range.start = keyword.range.start;
370 range.end = value ? value->range().end : keyword.range.end;
371}
std::unique_ptr< Expr > value
Definition AST.hpp:186

References keyword, range, and value.

Member Data Documentation

◆ keyword

Token infix2postfix::ReturnStmt::keyword

Definition at line 185 of file AST.hpp.

Referenced by ReturnStmt().

◆ range

Range infix2postfix::ReturnStmt::range

Definition at line 187 of file AST.hpp.

Referenced by ReturnStmt().

◆ value

std::unique_ptr<Expr> infix2postfix::ReturnStmt::value

Definition at line 186 of file AST.hpp.

Referenced by ReturnStmt().


The documentation for this struct was generated from the following file:
  • llvmexpr/frontend/infix2postfix/AST.hpp