unlogic
Loading...
Searching...
No Matches
DebugPrinter.h
Go to the documentation of this file.
1
//
2
// Created by Nathan on 12/1/2024.
3
//
4
5
#ifndef DEBUGPRINTER_H
6
#define DEBUGPRINTER_H
7
8
#include <string>
9
#include "
parser/Node.h
"
10
11
namespace
unlogic
12
{
13
struct
DebugPrinter
14
{
15
std::string
operator()
(std::monostate &node);
16
std::string
operator()
(
NumericLiteralNode
&node);
17
std::string
operator()
(
StringLiteralNode
&node);
18
std::string
operator()
(
DivisionNode
&node);
19
std::string
operator()
(
ScopedBlockNode
&node);
20
std::string
operator()
(
VariableNode
&node);
21
std::string
operator()
(
CallNode
&node);
22
std::string
operator()
(
AdditionNode
&node);
23
std::string
operator()
(
SubtractionNode
&node);
24
std::string
operator()
(
MultiplicationNode
&node);
25
std::string
operator()
(
PotentiationNode
&node);
26
std::string
operator()
(
FunctionDefinitionNode
&node);
27
std::string
operator()
(
PlotCommandNode
&node);
28
std::string
operator()
(
ProgramEntryNode
&node);
29
};
30
}
// namespace unlogic
31
32
#endif
// DEBUGPRINTER_H
Node.h
unlogic
Definition
Compiler.h:18
unlogic::AdditionNode
Definition
Node.h:79
unlogic::CallNode
Definition
Node.h:62
unlogic::DebugPrinter
Definition
DebugPrinter.h:14
unlogic::DebugPrinter::operator()
std::string operator()(std::monostate &node)
Definition
DebugPrinter.cpp:8
unlogic::DivisionNode
Definition
Node.h:97
unlogic::FunctionDefinitionNode
Definition
Node.h:109
unlogic::MultiplicationNode
Definition
Node.h:91
unlogic::NumericLiteralNode
Definition
Node.h:42
unlogic::PlotCommandNode
Definition
Node.h:120
unlogic::PotentiationNode
Definition
Node.h:103
unlogic::ProgramEntryNode
Definition
Node.h:136
unlogic::ScopedBlockNode
Definition
Node.h:128
unlogic::StringLiteralNode
Definition
Node.h:48
unlogic::SubtractionNode
Definition
Node.h:85
unlogic::VariableNode
Definition
Node.h:54
unlogic
src
compiler
transformer
debug
DebugPrinter.h
Generated by
1.9.8