public override object VisitGroupItem(PParser.GroupItemContext context) { var item = (IParseTree)context.stateDecl() ?? context.group() ?? throw Handler.InternalError(context, "group item was neither state group nor group"); return(Visit(item)); }
public override object VisitGroupItem(PParser.GroupItemContext context) { var item = (IParseTree)context.stateDecl() ?? context.group() ?? throw Handler.InternalError(context, new ArgumentOutOfRangeException(nameof(context))); return(Visit(item)); }