Class morsecodeBaseVisitor<Result>
This class provides an empty implementation of ImorsecodeVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Morsecode
Assembly: Morsecode.dll
Syntax
public class morsecodeBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ImorsecodeVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitA(morsecodeParser.AContext)
Visit a parse tree produced by a().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitA(morsecodeParser.AContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.AContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitB(morsecodeParser.BContext)
Visit a parse tree produced by b().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitB(morsecodeParser.BContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.BContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitC(morsecodeParser.CContext)
Visit a parse tree produced by c().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitC(morsecodeParser.CContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.CContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitD(morsecodeParser.DContext)
Visit a parse tree produced by d().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitD(morsecodeParser.DContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.DContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitE(morsecodeParser.EContext)
Visit a parse tree produced by e().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitE(morsecodeParser.EContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.EContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEight(morsecodeParser.EightContext)
Visit a parse tree produced by eight().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEight(morsecodeParser.EightContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.EightContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitF(morsecodeParser.FContext)
Visit a parse tree produced by f().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitF(morsecodeParser.FContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.FContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFive(morsecodeParser.FiveContext)
Visit a parse tree produced by five().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFive(morsecodeParser.FiveContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.FiveContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFour(morsecodeParser.FourContext)
Visit a parse tree produced by four().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFour(morsecodeParser.FourContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.FourContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitG(morsecodeParser.GContext)
Visit a parse tree produced by g().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitG(morsecodeParser.GContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.GContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitH(morsecodeParser.HContext)
Visit a parse tree produced by h().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitH(morsecodeParser.HContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.HContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitI(morsecodeParser.IContext)
Visit a parse tree produced by i().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitI(morsecodeParser.IContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.IContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitJ(morsecodeParser.JContext)
Visit a parse tree produced by j().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitJ(morsecodeParser.JContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.JContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitK(morsecodeParser.KContext)
Visit a parse tree produced by k().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitK(morsecodeParser.KContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.KContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitL(morsecodeParser.LContext)
Visit a parse tree produced by l().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitL(morsecodeParser.LContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.LContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLetter(morsecodeParser.LetterContext)
Visit a parse tree produced by letter().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitLetter(morsecodeParser.LetterContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.LetterContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitM(morsecodeParser.MContext)
Visit a parse tree produced by m().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitM(morsecodeParser.MContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.MContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMorsecode(morsecodeParser.MorsecodeContext)
Visit a parse tree produced by morsecode().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMorsecode(morsecodeParser.MorsecodeContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.MorsecodeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitN(morsecodeParser.NContext)
Visit a parse tree produced by n().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitN(morsecodeParser.NContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.NContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNine(morsecodeParser.NineContext)
Visit a parse tree produced by nine().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNine(morsecodeParser.NineContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.NineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitO(morsecodeParser.OContext)
Visit a parse tree produced by o().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitO(morsecodeParser.OContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.OContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOne(morsecodeParser.OneContext)
Visit a parse tree produced by one().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOne(morsecodeParser.OneContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.OneContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitP(morsecodeParser.PContext)
Visit a parse tree produced by p().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitP(morsecodeParser.PContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.PContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQ(morsecodeParser.QContext)
Visit a parse tree produced by q().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQ(morsecodeParser.QContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.QContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitR(morsecodeParser.RContext)
Visit a parse tree produced by r().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitR(morsecodeParser.RContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.RContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitS(morsecodeParser.SContext)
Visit a parse tree produced by s().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitS(morsecodeParser.SContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.SContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSeven(morsecodeParser.SevenContext)
Visit a parse tree produced by seven().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSeven(morsecodeParser.SevenContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.SevenContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSix(morsecodeParser.SixContext)
Visit a parse tree produced by six().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSix(morsecodeParser.SixContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.SixContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitT(morsecodeParser.TContext)
Visit a parse tree produced by t().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitT(morsecodeParser.TContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.TContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitThree(morsecodeParser.ThreeContext)
Visit a parse tree produced by three().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitThree(morsecodeParser.ThreeContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.ThreeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTwo(morsecodeParser.TwoContext)
Visit a parse tree produced by two().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTwo(morsecodeParser.TwoContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.TwoContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitU(morsecodeParser.UContext)
Visit a parse tree produced by u().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitU(morsecodeParser.UContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.UContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitV(morsecodeParser.VContext)
Visit a parse tree produced by v().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitV(morsecodeParser.VContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.VContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitW(morsecodeParser.WContext)
Visit a parse tree produced by w().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitW(morsecodeParser.WContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.WContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitX(morsecodeParser.XContext)
Visit a parse tree produced by x().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitX(morsecodeParser.XContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.XContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitY(morsecodeParser.YContext)
Visit a parse tree produced by y().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitY(morsecodeParser.YContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.YContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitZ(morsecodeParser.ZContext)
Visit a parse tree produced by z().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitZ(morsecodeParser.ZContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.ZContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitZero(morsecodeParser.ZeroContext)
Visit a parse tree produced by zero().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitZero(morsecodeParser.ZeroContext context)
Parameters
Type | Name | Description |
---|---|---|
morsecodeParser.ZeroContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |