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