elna/source/ir.cpp

37 lines
697 B
C++
Raw Normal View History

2024-03-07 09:15:11 +01:00
#include "elna/source/ir.hpp"
2024-02-28 16:18:39 +01:00
2024-03-01 10:13:55 +01:00
#include <cassert>
2024-02-28 16:18:39 +01:00
2024-03-07 09:15:11 +01:00
namespace elna::source
2024-03-01 10:13:55 +01:00
{
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
}
2024-03-07 09:15:11 +01:00
void TransformVisitor::visit(source::variable_expression *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
}
}