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

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

Collaboration diagram for infix2postfix::ArrayAssignStmt:

Public Member Functions

 ArrayAssignStmt (std::unique_ptr< Expr > t, std::unique_ptr< Expr > v)

Public Attributes

std::unique_ptr< Exprtarget
std::unique_ptr< Exprvalue
Range range

Detailed Description

Definition at line 151 of file AST.hpp.

Constructor & Destructor Documentation

◆ ArrayAssignStmt()

infix2postfix::ArrayAssignStmt::ArrayAssignStmt ( std::unique_ptr< Expr > t,
std::unique_ptr< Expr > v )
inline

Definition at line 401 of file AST.hpp.

403 : target(std::move(t)), value(std::move(v)) {
404 if (target) {
405 range.start = target->range().start;
406 }
407 if (value) {
408 range.end = value->range().end;
409 } else if (target) {
410 range.end = target->range().end;
411 }
412}
std::unique_ptr< Expr > value
Definition AST.hpp:153
std::unique_ptr< Expr > target
Definition AST.hpp:152

References range, target, and value.

Member Data Documentation

◆ range

Range infix2postfix::ArrayAssignStmt::range

Definition at line 154 of file AST.hpp.

Referenced by ArrayAssignStmt().

◆ target

std::unique_ptr<Expr> infix2postfix::ArrayAssignStmt::target

Definition at line 152 of file AST.hpp.

Referenced by ArrayAssignStmt().

◆ value

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

Definition at line 153 of file AST.hpp.

Referenced by ArrayAssignStmt().


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