|
VapourSynth-llvmexpr
|
#include <llvmexpr/frontend/infix2postfix/PostfixBuilder.hpp>
Public Member Functions | |
| PostfixBuilder ()=default | |
| void | addOp (TokenType type) |
| void | addUnaryOp (TokenType type) |
| void | addTernaryOp () |
| void | addFunctionCall (const std::string &func_name) |
| void | append (const PostfixBuilder &other) |
| std::string | getExpression () const |
| void | clear () |
| bool | empty () const |
| void | addNumber (const std::string &num_literal) |
| void | addConstant (const std::string &const_name) |
| void | addVariableLoad (const std::string &var_name) |
| void | addVariableStore (const std::string &var_name) |
| void | addLabel (const std::string &label_name) |
| void | addConditionalJump (const std::string &label_name) |
| void | addUnconditionalJump (const std::string &label_name) |
| void | prefixLabels (const std::string &prefix) |
| void | addPropAccess (const std::string &clip_name, const std::string &prop_name) |
| void | addPropExist (const std::string &clip_name, const std::string &prop_name) |
| void | addSetProp (const std::string &prop_name, const std::string &suffix) |
| void | addDeleteProp (const std::string &prop_name) |
| void | addStaticPixelAccess (const std::string &clip_name, const std::string &x, const std::string &y, const std::string &suffix) |
| void | addDynPixelAccessExpr (const std::string &clip_name, const std::string &suffix) |
| void | addDynPixelAccessSingle (const std::string &clip_name, const std::string &plane) |
| void | addStoreExpr () |
| void | addStoreSingle (const std::string &plane) |
| void | addFrameDimension (const std::string &dim, const std::string &plane) |
| void | addExitMarker () |
| void | addDropN (int count=1) |
| void | addDupN (int count=0) |
| void | addSwapN (int count=1) |
| void | addSortN (int count) |
| void | addArrayAllocStatic (const std::string &array_name, const std::string &size) |
| void | addArrayAllocDynamic (const std::string &array_name) |
| void | addArrayLoad (const std::string &array_name) |
| void | addArrayStore (const std::string &array_name) |
| void | addRaw (const std::string &raw_string) |
Definition at line 30 of file PostfixBuilder.hpp.
|
default |
References PostfixBuilder().
Referenced by append(), and PostfixBuilder().
| void infix2postfix::PostfixBuilder::addArrayAllocDynamic | ( | const std::string & | array_name | ) |
Definition at line 215 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addArrayAllocStatic | ( | const std::string & | array_name, |
| const std::string & | size ) |
Definition at line 210 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addArrayLoad | ( | const std::string & | array_name | ) |
Definition at line 219 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addArrayStore | ( | const std::string & | array_name | ) |
Definition at line 223 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addConditionalJump | ( | const std::string & | label_name | ) |
Definition at line 136 of file PostfixBuilder.cpp.
Referenced by addUnconditionalJump().
| void infix2postfix::PostfixBuilder::addConstant | ( | const std::string & | const_name | ) |
Definition at line 120 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addDeleteProp | ( | const std::string & | prop_name | ) |
Definition at line 160 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addDropN | ( | int | count = 1 | ) |
Definition at line 194 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addDupN | ( | int | count = 0 | ) |
Definition at line 198 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addDynPixelAccessExpr | ( | const std::string & | clip_name, |
| const std::string & | suffix ) |
Definition at line 171 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addDynPixelAccessSingle | ( | const std::string & | clip_name, |
| const std::string & | plane ) |
Definition at line 176 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addExitMarker | ( | ) |
Definition at line 192 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addFrameDimension | ( | const std::string & | dim, |
| const std::string & | plane ) |
Definition at line 187 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addFunctionCall | ( | const std::string & | func_name | ) |
Definition at line 112 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addLabel | ( | const std::string & | label_name | ) |
Definition at line 132 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addNumber | ( | const std::string & | num_literal | ) |
Definition at line 116 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addOp | ( | TokenType | type | ) |
Definition at line 35 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addPropAccess | ( | const std::string & | clip_name, |
| const std::string & | prop_name ) |
Definition at line 145 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addPropExist | ( | const std::string & | clip_name, |
| const std::string & | prop_name ) |
Definition at line 150 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addRaw | ( | const std::string & | raw_string | ) |
Definition at line 227 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addSetProp | ( | const std::string & | prop_name, |
| const std::string & | suffix ) |
Definition at line 155 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addSortN | ( | int | count | ) |
Definition at line 206 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addStaticPixelAccess | ( | const std::string & | clip_name, |
| const std::string & | x, | ||
| const std::string & | y, | ||
| const std::string & | suffix ) |
Definition at line 164 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addStoreExpr | ( | ) |
Definition at line 181 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addStoreSingle | ( | const std::string & | plane | ) |
Definition at line 183 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addSwapN | ( | int | count = 1 | ) |
Definition at line 202 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addTernaryOp | ( | ) |
Definition at line 110 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::addUnaryOp | ( | TokenType | type | ) |
Definition at line 94 of file PostfixBuilder.cpp.
References Not.
| void infix2postfix::PostfixBuilder::addUnconditionalJump | ( | const std::string & | label_name | ) |
Definition at line 140 of file PostfixBuilder.cpp.
References addConditionalJump().
| void infix2postfix::PostfixBuilder::addVariableLoad | ( | const std::string & | var_name | ) |
Definition at line 124 of file PostfixBuilder.cpp.
Referenced by infix2postfix::CodeGenerator::generate().
| void infix2postfix::PostfixBuilder::addVariableStore | ( | const std::string & | var_name | ) |
Definition at line 128 of file PostfixBuilder.cpp.
| void infix2postfix::PostfixBuilder::append | ( | const PostfixBuilder & | other | ) |
Definition at line 263 of file PostfixBuilder.cpp.
References PostfixBuilder().
| void infix2postfix::PostfixBuilder::clear | ( | ) |
Definition at line 259 of file PostfixBuilder.cpp.
|
nodiscard |
Definition at line 261 of file PostfixBuilder.cpp.
|
nodiscard |
Definition at line 235 of file PostfixBuilder.cpp.
Referenced by infix2postfix::CodeGenerator::generate().
| void infix2postfix::PostfixBuilder::prefixLabels | ( | const std::string & | prefix | ) |
Definition at line 267 of file PostfixBuilder.cpp.