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

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

Collaboration diagram for infix2postfix::BlockStmt:

Public Member Functions

 BlockStmt (std::vector< std::unique_ptr< Stmt > > s)

Public Attributes

std::vector< std::unique_ptr< Stmt > > statements
Range range

Detailed Description

Definition at line 159 of file AST.hpp.

Constructor & Destructor Documentation

◆ BlockStmt()

infix2postfix::BlockStmt::BlockStmt ( std::vector< std::unique_ptr< Stmt > > s)
inlineexplicit

Definition at line 331 of file AST.hpp.

332 : statements(std::move(s)) {
333 if (!statements.empty()) {
334 range.start = statements.front()->range().start;
335 range.end = statements.back()->range().end;
336 }
337}
std::vector< std::unique_ptr< Stmt > > statements
Definition AST.hpp:160

References statements.

Member Data Documentation

◆ range

Range infix2postfix::BlockStmt::range

Definition at line 161 of file AST.hpp.

◆ statements

std::vector<std::unique_ptr<Stmt> > infix2postfix::BlockStmt::statements

Definition at line 160 of file AST.hpp.

Referenced by BlockStmt().


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