diff --git a/src/compiler/NubLang/Syntax/Templating/TemplateGenerator.cs b/src/compiler/NubLang/Syntax/Templating/TemplateGenerator.cs new file mode 100644 index 0000000..86d033e --- /dev/null +++ b/src/compiler/NubLang/Syntax/Templating/TemplateGenerator.cs @@ -0,0 +1,23 @@ +using NubLang.Syntax.Parsing.Node; + +namespace NubLang.Syntax.Templating; + +public class TemplateGenerator +{ + private readonly SyntaxTree _syntaxTree; + private readonly TemplateTable _templateTable; + + private List _definitions = []; + + public TemplateGenerator(SyntaxTree syntaxTree, TemplateTable templateTable) + { + _syntaxTree = syntaxTree; + _templateTable = templateTable; + } + + public IReadOnlyList Generate() + { + _definitions.Clear(); + return _definitions; + } +} \ No newline at end of file diff --git a/src/compiler/NubLang/Syntax/Templating/TemplateTable.cs b/src/compiler/NubLang/Syntax/Templating/TemplateTable.cs new file mode 100644 index 0000000..a01b8ca --- /dev/null +++ b/src/compiler/NubLang/Syntax/Templating/TemplateTable.cs @@ -0,0 +1,6 @@ +namespace NubLang.Syntax.Templating; + +public class TemplateTable +{ + +} \ No newline at end of file