324 lines
18 KiB
C#
324 lines
18 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// ANTLR Version: 4.13.2
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
// Generated from C:/Users/mbelletti/RiderProjects/inkblot/InkBlot/InkBlotAntlrGrammar.g4 by ANTLR 4.13.2
|
|
|
|
// Unreachable code detected
|
|
#pragma warning disable 0162
|
|
// The variable '...' is assigned but its value is never used
|
|
#pragma warning disable 0219
|
|
// Missing XML comment for publicly visible type or member '...'
|
|
#pragma warning disable 1591
|
|
// Ambiguous reference in cref attribute
|
|
#pragma warning disable 419
|
|
|
|
using Antlr4.Runtime.Misc;
|
|
using Antlr4.Runtime.Tree;
|
|
using IToken = Antlr4.Runtime.IToken;
|
|
using ParserRuleContext = Antlr4.Runtime.ParserRuleContext;
|
|
|
|
/// <summary>
|
|
/// This class provides an empty implementation of <see cref="IInkBlotAntlrGrammarVisitor{Result}"/>,
|
|
/// which can be extended to create a visitor which only needs to handle a subset
|
|
/// of the available methods.
|
|
/// </summary>
|
|
/// <typeparam name="Result">The return type of the visit operation.</typeparam>
|
|
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.2")]
|
|
[System.Diagnostics.DebuggerNonUserCode]
|
|
[System.CLSCompliant(false)]
|
|
public partial class InkBlotAntlrGrammarBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IInkBlotAntlrGrammarVisitor<Result> {
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.story"/>.
|
|
/// <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 VisitStory([NotNull] InkBlotAntlrGrammarParser.StoryContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.topLevelStatements"/>.
|
|
/// <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 VisitTopLevelStatements([NotNull] InkBlotAntlrGrammarParser.TopLevelStatementsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.topLevelStatement"/>.
|
|
/// <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 VisitTopLevelStatement([NotNull] InkBlotAntlrGrammarParser.TopLevelStatementContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.knotLevelStatements"/>.
|
|
/// <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 VisitKnotLevelStatements([NotNull] InkBlotAntlrGrammarParser.KnotLevelStatementsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.stitchLevelStatements"/>.
|
|
/// <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 VisitStitchLevelStatements([NotNull] InkBlotAntlrGrammarParser.StitchLevelStatementsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.innerBlockLevelStatements"/>.
|
|
/// <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 VisitInnerBlockLevelStatements([NotNull] InkBlotAntlrGrammarParser.InnerBlockLevelStatementsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.contentText"/>.
|
|
/// <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 VisitContentText([NotNull] InkBlotAntlrGrammarParser.ContentTextContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.mixedTextAndLogic"/>.
|
|
/// <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 VisitMixedTextAndLogic([NotNull] InkBlotAntlrGrammarParser.MixedTextAndLogicContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.inlineLogicOrGlueOrTagStart"/>.
|
|
/// <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 VisitInlineLogicOrGlueOrTagStart([NotNull] InkBlotAntlrGrammarParser.InlineLogicOrGlueOrTagStartContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.inlineLogic"/>.
|
|
/// <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 VisitInlineLogic([NotNull] InkBlotAntlrGrammarParser.InlineLogicContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.innerLogic"/>.
|
|
/// <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 VisitInnerLogic([NotNull] InkBlotAntlrGrammarParser.InnerLogicContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.multiDivert"/>.
|
|
/// <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 VisitMultiDivert([NotNull] InkBlotAntlrGrammarParser.MultiDivertContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by the <c>MultiDivertThread</c>
|
|
/// labeled alternative in <see cref="InkBlotAntlrGrammarParser.multiDivert_withoutWS"/>.
|
|
/// <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 VisitMultiDivertThread([NotNull] InkBlotAntlrGrammarParser.MultiDivertThreadContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by the <c>MultiDivertArrows</c>
|
|
/// labeled alternative in <see cref="InkBlotAntlrGrammarParser.multiDivert_withoutWS"/>.
|
|
/// <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 VisitMultiDivertArrows([NotNull] InkBlotAntlrGrammarParser.MultiDivertArrowsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by the <c>MultiDivertArrows_tailDefaultChoice</c>
|
|
/// labeled alternative in <see cref="InkBlotAntlrGrammarParser.multiDivertArrows_tail"/>.
|
|
/// <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 VisitMultiDivertArrows_tailDefaultChoice([NotNull] InkBlotAntlrGrammarParser.MultiDivertArrows_tailDefaultChoiceContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by the <c>MultiDivertArrows_tailDivert</c>
|
|
/// labeled alternative in <see cref="InkBlotAntlrGrammarParser.multiDivertArrows_tail"/>.
|
|
/// <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 VisitMultiDivertArrows_tailDivert([NotNull] InkBlotAntlrGrammarParser.MultiDivertArrows_tailDivertContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by the <c>MultiDivertArrows_tailTunnelWithReplacement</c>
|
|
/// labeled alternative in <see cref="InkBlotAntlrGrammarParser.multiDivertArrows_tail"/>.
|
|
/// <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 VisitMultiDivertArrows_tailTunnelWithReplacement([NotNull] InkBlotAntlrGrammarParser.MultiDivertArrows_tailTunnelWithReplacementContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by the <c>MultiDivertArrows_tailTunnel</c>
|
|
/// labeled alternative in <see cref="InkBlotAntlrGrammarParser.multiDivertArrows_tail"/>.
|
|
/// <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 VisitMultiDivertArrows_tailTunnel([NotNull] InkBlotAntlrGrammarParser.MultiDivertArrows_tailTunnelContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.divertIdentifierWithArguments"/>.
|
|
/// <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 VisitDivertIdentifierWithArguments([NotNull] InkBlotAntlrGrammarParser.DivertIdentifierWithArgumentsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.divertIdentifierWithArguments_name"/>.
|
|
/// <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 VisitDivertIdentifierWithArguments_name([NotNull] InkBlotAntlrGrammarParser.DivertIdentifierWithArguments_nameContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.divertIdentifierWithArguments_arguments"/>.
|
|
/// <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 VisitDivertIdentifierWithArguments_arguments([NotNull] InkBlotAntlrGrammarParser.DivertIdentifierWithArguments_argumentsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.identifier"/>.
|
|
/// <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 VisitIdentifier([NotNull] InkBlotAntlrGrammarParser.IdentifierContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.expression"/>.
|
|
/// <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 VisitExpression([NotNull] InkBlotAntlrGrammarParser.ExpressionContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.sequenceTypeAnnotation"/>.
|
|
/// <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 VisitSequenceTypeAnnotation([NotNull] InkBlotAntlrGrammarParser.SequenceTypeAnnotationContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.innerSequenceObjects"/>.
|
|
/// <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 VisitInnerSequenceObjects([NotNull] InkBlotAntlrGrammarParser.InnerSequenceObjectsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.innerMultilineSequenceObjects"/>.
|
|
/// <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 VisitInnerMultilineSequenceObjects([NotNull] InkBlotAntlrGrammarParser.InnerMultilineSequenceObjectsContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.singleMultilineSequenceElement"/>.
|
|
/// <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 VisitSingleMultilineSequenceElement([NotNull] InkBlotAntlrGrammarParser.SingleMultilineSequenceElementContext context) { return VisitChildren(context); }
|
|
/// <summary>
|
|
/// Visit a parse tree produced by <see cref="InkBlotAntlrGrammarParser.innerInlineSequenceObjects"/>.
|
|
/// <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 VisitInnerInlineSequenceObjects([NotNull] InkBlotAntlrGrammarParser.InnerInlineSequenceObjectsContext context) { return VisitChildren(context); }
|
|
}
|