meowlang/parser/MeowBaseVisitorNya.cs
Gwendolyn d6bdd08002 loooots of stuff
the typechecker project can collect all the top level types from a file, which is pretty cool I think
(except for pointers, those aren't implemented yet...)
2022-02-13 02:41:16 +01:00

12 lines
250 B
C#

using Antlr4.Runtime.Tree;
using meowlang.parser.antlr;
namespace meowlang.parser;
public class MeowBaseVisitorNya<T> : MeowBaseVisitor<T>
{
public T? TryVisit(IParseTree? tree)
{
return tree == null ? default : Visit(tree);
}
}