VapourSynth-llvmexpr
Loading...
Searching...
No Matches
PostfixHelper.hpp
Go to the documentation of this file.
1
19
20
#ifndef LLVMEXPR_FRONTEND_INFIX2POSTFIX_POSTFIXHELPER_HPP
21
#define LLVMEXPR_FRONTEND_INFIX2POSTFIX_POSTFIXHELPER_HPP
22
23
#include <cstdint>
24
#include <string>
25
26
namespace
infix2postfix
{
27
28
enum class
PostfixMode
: std::uint8_t {
29
Expr
,
30
SingleExpr
,
31
};
32
33
int
compute_postfix_stack_effect
(
const
std::string& postfix_expr,
34
PostfixMode
mode,
int
line,
int
num_inputs,
35
int
num_intermediate_inputs = 0);
36
37
}
// namespace infix2postfix
38
39
#endif
// LLVMEXPR_FRONTEND_INFIX2POSTFIX_POSTFIXHELPER_HPP
infix2postfix
Definition
AnalysisEngine.cpp:29
infix2postfix::compute_postfix_stack_effect
int compute_postfix_stack_effect(const std::string &postfix_expr, PostfixMode mode, int line, int num_inputs, int num_intermediate_inputs)
Definition
PostfixHelper.cpp:28
infix2postfix::PostfixMode
PostfixMode
Definition
PostfixHelper.hpp:28
infix2postfix::PostfixMode::SingleExpr
@ SingleExpr
Definition
PostfixHelper.hpp:30
infix2postfix::Expr
Definition
AST.hpp:239
llvmexpr
frontend
infix2postfix
PostfixHelper.hpp
Generated by
1.16.0