VapourSynth-llvmexpr
Loading...
Searching...
No Matches
Symbol.hpp
Go to the documentation of this file.
1
19
20#ifndef LLVMEXPR_FRONTEND_INFIX2POSTFIX_SYMBOL_HPP
21#define LLVMEXPR_FRONTEND_INFIX2POSTFIX_SYMBOL_HPP
22
23#include "types.hpp"
24
25#include <cstdint>
26#include <string>
27
28namespace infix2postfix {
29
30struct Stmt;
31struct Expr;
32
33enum class SymbolKind : std::uint8_t { Variable, Function, Parameter, Label };
34
35struct Symbol {
37 std::string name;
40 bool is_used = false;
41
42 const FunctionSignature* signature = nullptr;
43};
44
45} // namespace infix2postfix
46
47#endif // LLVMEXPR_FRONTEND_INFIX2POSTFIX_SYMBOL_HPP
std::string name
Definition Symbol.hpp:37
const FunctionSignature * signature
Definition Symbol.hpp:42