elna/source/ir.cpp

37 lines
671 B
C++
Raw Normal View History

2024-02-28 16:18:39 +01:00
#include "elna/ir.hpp"
2024-03-01 10:13:55 +01:00
#include <cassert>
2024-02-28 16:18:39 +01:00
2024-03-01 10:13:55 +01:00
namespace elna
{
void TransformVisitor::visit(source::definition *definition)
2024-02-28 16:18:39 +01:00
{
2024-03-01 10:13:55 +01:00
assert(false);
2024-02-28 16:18:39 +01:00
}
void TransformVisitor::visit(source::bang_statement *statement)
2024-02-28 16:18:39 +01:00
{
2024-03-01 10:13:55 +01:00
assert(false);
2024-02-28 16:18:39 +01:00
}
void TransformVisitor::visit(source::block *block)
2024-02-28 16:18:39 +01:00
{
2024-03-01 10:13:55 +01:00
assert(false);
2024-02-28 16:18:39 +01:00
}
void TransformVisitor::visit(source::integer_literal *number)
2024-02-28 16:18:39 +01:00
{
2024-03-01 10:13:55 +01:00
assert(false);
2024-02-28 16:18:39 +01:00
}
void TransformVisitor::visit(source::variable *variable)
2024-02-28 16:18:39 +01:00
{
2024-03-01 10:13:55 +01:00
assert(false);
2024-02-28 16:18:39 +01:00
}
void TransformVisitor::visit(source::binary_expression *binaryExpression)
2024-02-28 16:18:39 +01:00
{
2024-03-01 10:13:55 +01:00
assert(false);
2024-02-28 16:18:39 +01:00
}
}