12 lines
250 B
C#
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);
|
||
|
}
|
||
|
}
|