/// <summary> /// Visit a parse tree produced by <see cref="Generated.Z80AsmParser.externPragma"/>. /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public override object VisitExternPragma(Z80AsmParser.ExternPragmaContext context) { if (IsInvalidContext(context)) { return(null); } return(AddLine(new ExternPragma(), context)); }
public override object VisitExternPragma(Z80AsmParser.ExternPragmaContext context) => new ExternPragma();
/// <summary> /// Visit a parse tree produced by <see cref="Z80AsmParser.externPragma"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitExternPragma([NotNull] Z80AsmParser.ExternPragmaContext context) { return(VisitChildren(context)); }
/// <summary> /// Exit a parse tree produced by <see cref="Z80AsmParser.externPragma"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitExternPragma([NotNull] Z80AsmParser.ExternPragmaContext context) { }