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

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

Public Types

using StmtVariant

Public Member Functions

template<typename T>
 Stmt (T &&v)
 Stmt (const Stmt &)=delete
Stmtoperator= (const Stmt &)=delete
 Stmt (Stmt &&)=default
Stmtoperator= (Stmt &&)=default
 ~Stmt ()=default
Range range () const

Public Attributes

StmtVariant value

Detailed Description

Definition at line 260 of file AST.hpp.

Member Typedef Documentation

◆ StmtVariant

Constructor & Destructor Documentation

◆ Stmt() [1/3]

template<typename T>
infix2postfix::Stmt::Stmt ( T && v)
inlineexplicit

Definition at line 267 of file AST.hpp.

267: value(std::forward<T>(v)) {}
StmtVariant value
Definition AST.hpp:265

References value.

Referenced by operator=(), operator=(), Stmt(), and Stmt().

◆ Stmt() [2/3]

infix2postfix::Stmt::Stmt ( const Stmt & )
delete

References Stmt().

◆ Stmt() [3/3]

infix2postfix::Stmt::Stmt ( Stmt && )
default

References Stmt().

◆ ~Stmt()

infix2postfix::Stmt::~Stmt ( )
default

Member Function Documentation

◆ operator=() [1/2]

Stmt & infix2postfix::Stmt::operator= ( const Stmt & )
delete

References Stmt().

◆ operator=() [2/2]

Stmt & infix2postfix::Stmt::operator= ( Stmt && )
default

References Stmt().

◆ range()

Range infix2postfix::Stmt::range ( ) const
inlinenodiscard

Definition at line 275 of file AST.hpp.

275 {
276 return std::visit([](const auto& s) { return s.range; }, value);
277 }

References value.

Member Data Documentation

◆ value

StmtVariant infix2postfix::Stmt::value

Definition at line 265 of file AST.hpp.

Referenced by range(), and Stmt().


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