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(Node *node)
|
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-01 10:13:55 +01:00
|
|
|
void TransformVisitor::visit(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
|
|
|
}
|
|
|
|
|
2024-03-01 10:13:55 +01:00
|
|
|
void TransformVisitor::visit(BangStatement *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
|
|
|
}
|
|
|
|
|
2024-03-01 10:13:55 +01:00
|
|
|
void TransformVisitor::visit(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
|
|
|
}
|
|
|
|
|
2024-03-01 10:13:55 +01:00
|
|
|
void TransformVisitor::visit(Expression *expression)
|
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-01 10:13:55 +01:00
|
|
|
void TransformVisitor::visit(Number *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-01 10:13:55 +01:00
|
|
|
void TransformVisitor::visit(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
|
|
|
}
|
|
|
|
|
2024-03-01 10:13:55 +01:00
|
|
|
void TransformVisitor::visit(BinaryExpression *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
|
|
|
}
|
|
|
|
}
|