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

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

Collaboration diagram for infix2postfix::AssignStmt:

Public Member Functions

 AssignStmt (Token n, std::unique_ptr< Expr > v)

Public Attributes

Token name
std::unique_ptr< Exprvalue
Range range
std::shared_ptr< Symbolsymbol

Detailed Description

Definition at line 142 of file AST.hpp.

Constructor & Destructor Documentation

◆ AssignStmt()

infix2postfix::AssignStmt::AssignStmt ( Token n,
std::unique_ptr< Expr > v )
inline

Definition at line 325 of file AST.hpp.

326 : name(std::move(n)), value(std::move(v)) {
327 range.start = name.range.start;
328 range.end = value ? value->range().end : name.range.end;
329}
std::unique_ptr< Expr > value
Definition AST.hpp:144

References name, range, and value.

Member Data Documentation

◆ name

Token infix2postfix::AssignStmt::name

Definition at line 143 of file AST.hpp.

Referenced by AssignStmt().

◆ range

Range infix2postfix::AssignStmt::range

Definition at line 145 of file AST.hpp.

Referenced by AssignStmt().

◆ symbol

std::shared_ptr<Symbol> infix2postfix::AssignStmt::symbol

Definition at line 146 of file AST.hpp.

◆ value

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

Definition at line 144 of file AST.hpp.

Referenced by AssignStmt().


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