Class MorBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
ca.phon.mor.MorBaseVisitor<T>
Type Parameters:
T - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
MorVisitor<T>, org.antlr.v4.runtime.tree.ParseTreeVisitor<T>

public class MorBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements MorVisitor<T>
This class provides an empty implementation of MorVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
  • Constructor Details

    • MorBaseVisitor

      public MorBaseVisitor()
  • Method Details

    • visitStart

      public T visitStart(MorParser.StartContext ctx)
      Visit a parse tree produced by MorParser.start().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitStart in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMortier

      public T visitMortier(MorParser.MortierContext ctx)
      Visit a parse tree produced by MorParser.mortier().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMortier in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMor

      public T visitMor(MorParser.MorContext ctx)
      Visit a parse tree produced by MorParser.mor().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMor in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMorprefix

      public T visitMorprefix(MorParser.MorprefixContext ctx)
      Visit a parse tree produced by MorParser.morprefix().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMorprefix in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMorelement

      public T visitMorelement(MorParser.MorelementContext ctx)
      Visit a parse tree produced by MorParser.morelement().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMorelement in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMw

      public T visitMw(MorParser.MwContext ctx)
      Visit a parse tree produced by MorParser.mw().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMw in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPrefix

      public T visitPrefix(MorParser.PrefixContext ctx)
      Visit a parse tree produced by MorParser.prefix().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPrefix in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPos

      public T visitPos(MorParser.PosContext ctx)
      Visit a parse tree produced by MorParser.pos().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPos in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitCategory

      public T visitCategory(MorParser.CategoryContext ctx)
      Visit a parse tree produced by MorParser.category().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitCategory in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSubcategory

      public T visitSubcategory(MorParser.SubcategoryContext ctx)
      Visit a parse tree produced by MorParser.subcategory().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSubcategory in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitStem

      public T visitStem(MorParser.StemContext ctx)
      Visit a parse tree produced by MorParser.stem().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitStem in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMarker

      public T visitMarker(MorParser.MarkerContext ctx)
      Visit a parse tree produced by MorParser.marker().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMarker in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFusionalsuffix

      public T visitFusionalsuffix(MorParser.FusionalsuffixContext ctx)
      Visit a parse tree produced by MorParser.fusionalsuffix().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFusionalsuffix in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSuffix

      public T visitSuffix(MorParser.SuffixContext ctx)
      Visit a parse tree produced by MorParser.suffix().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSuffix in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTranslations

      public T visitTranslations(MorParser.TranslationsContext ctx)
      Visit a parse tree produced by MorParser.translations().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTranslations in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTranslation

      public T visitTranslation(MorParser.TranslationContext ctx)
      Visit a parse tree produced by MorParser.translation().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTranslation in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitString

      public T visitString(MorParser.StringContext ctx)
      Visit a parse tree produced by MorParser.string().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitString in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMwc

      public T visitMwc(MorParser.MwcContext ctx)
      Visit a parse tree produced by MorParser.mwc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMwc in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMt

      public T visitMt(MorParser.MtContext ctx)
      Visit a parse tree produced by MorParser.mt().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMt in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMorpost

      public T visitMorpost(MorParser.MorpostContext ctx)
      Visit a parse tree produced by MorParser.morpost().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMorpost in interface MorVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result