public virtual LessNode VisitTerminatedStatement(LessParser.TerminatedStatementContext context) { throw new System.NotImplementedException(); }
public override LessNode VisitTerminatedStatement(LessParser.TerminatedStatementContext context) { return(context.blockStatement()?.Accept(this) ?? context.lineStatement()?.Accept(this) ?? throw new ParserException($"Unexpected statement type: [{context.GetText()}]")); }