forked from PuqiAR/Fig-TreeWalker
[Fix] 修复科学表达式数字解析的问题(Lexer引起) 由 Satklomi发现,感谢 [Feat] 增加Compiler相关定义,将开发BytecodeVM [Tip] Evaluator进入Bug fix阶段,新功能延缓开发。转向VM
20 lines
401 B
C++
20 lines
401 B
C++
#pragma once
|
|
|
|
#include <Ast/Statements/InterfaceDefSt.hpp>
|
|
#include <Value/Type.hpp>
|
|
|
|
#include <vector>
|
|
|
|
namespace Fig
|
|
{
|
|
struct InterfaceType
|
|
{
|
|
TypeInfo type;
|
|
std::vector<Ast::InterfaceMethod> methods;
|
|
|
|
bool operator==(const InterfaceType &other) const
|
|
{
|
|
return type == other.type; // only compare type info (chain -> typeinfo.id)
|
|
}
|
|
};
|
|
} |