Show / Hide Table of Contents

Class tinymudBaseVisitor<Result>

This class provides an empty implementation of ItinymudVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
tinymudBaseVisitor<Result>
Implements
ItinymudVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Tinymud
Assembly: Tinymud.dll
Syntax
public class tinymudBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ItinymudVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAction(tinymudParser.ActionContext)

Visit a parse tree produced by action().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAction(tinymudParser.ActionContext context)
Parameters
Type Name Description
tinymudParser.ActionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBootcommand(tinymudParser.BootcommandContext)

Visit a parse tree produced by bootcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBootcommand(tinymudParser.BootcommandContext context)
Parameters
Type Name Description
tinymudParser.BootcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitChowncommand(tinymudParser.ChowncommandContext)

Visit a parse tree produced by chowncommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitChowncommand(tinymudParser.ChowncommandContext context)
Parameters
Type Name Description
tinymudParser.ChowncommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCommand(tinymudParser.CommandContext)

Visit a parse tree produced by command().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCommand(tinymudParser.CommandContext context)
Parameters
Type Name Description
tinymudParser.CommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCost(tinymudParser.CostContext)

Visit a parse tree produced by cost().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCost(tinymudParser.CostContext context)
Parameters
Type Name Description
tinymudParser.CostContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCreatecommand(tinymudParser.CreatecommandContext)

Visit a parse tree produced by createcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCreatecommand(tinymudParser.CreatecommandContext context)
Parameters
Type Name Description
tinymudParser.CreatecommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDescribecommand(tinymudParser.DescribecommandContext)

Visit a parse tree produced by describecommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDescribecommand(tinymudParser.DescribecommandContext context)
Parameters
Type Name Description
tinymudParser.DescribecommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDescription(tinymudParser.DescriptionContext)

Visit a parse tree produced by description().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDescription(tinymudParser.DescriptionContext context)
Parameters
Type Name Description
tinymudParser.DescriptionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDigcommand(tinymudParser.DigcommandContext)

Visit a parse tree produced by digcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDigcommand(tinymudParser.DigcommandContext context)
Parameters
Type Name Description
tinymudParser.DigcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDir_(tinymudParser.Dir_Context)

Visit a parse tree produced by dir_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDir_(tinymudParser.Dir_Context context)
Parameters
Type Name Description
tinymudParser.Dir_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDirection(tinymudParser.DirectionContext)

Visit a parse tree produced by direction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDirection(tinymudParser.DirectionContext context)
Parameters
Type Name Description
tinymudParser.DirectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDropaction(tinymudParser.DropactionContext)

Visit a parse tree produced by dropaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDropaction(tinymudParser.DropactionContext context)
Parameters
Type Name Description
tinymudParser.DropactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDumpcommand(tinymudParser.DumpcommandContext)

Visit a parse tree produced by dumpcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDumpcommand(tinymudParser.DumpcommandContext context)
Parameters
Type Name Description
tinymudParser.DumpcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExamineaction(tinymudParser.ExamineactionContext)

Visit a parse tree produced by examineaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExamineaction(tinymudParser.ExamineactionContext context)
Parameters
Type Name Description
tinymudParser.ExamineactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFailcommand(tinymudParser.FailcommandContext)

Visit a parse tree produced by failcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFailcommand(tinymudParser.FailcommandContext context)
Parameters
Type Name Description
tinymudParser.FailcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFindcommand(tinymudParser.FindcommandContext)

Visit a parse tree produced by findcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFindcommand(tinymudParser.FindcommandContext context)
Parameters
Type Name Description
tinymudParser.FindcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFlag(tinymudParser.FlagContext)

Visit a parse tree produced by flag().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFlag(tinymudParser.FlagContext context)
Parameters
Type Name Description
tinymudParser.FlagContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitForcecommand(tinymudParser.ForcecommandContext)

Visit a parse tree produced by forcecommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitForcecommand(tinymudParser.ForcecommandContext context)
Parameters
Type Name Description
tinymudParser.ForcecommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGetaction(tinymudParser.GetactionContext)

Visit a parse tree produced by getaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGetaction(tinymudParser.GetactionContext context)
Parameters
Type Name Description
tinymudParser.GetactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGiveaction(tinymudParser.GiveactionContext)

Visit a parse tree produced by giveaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGiveaction(tinymudParser.GiveactionContext context)
Parameters
Type Name Description
tinymudParser.GiveactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGotoaction(tinymudParser.GotoactionContext)

Visit a parse tree produced by gotoaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGotoaction(tinymudParser.GotoactionContext context)
Parameters
Type Name Description
tinymudParser.GotoactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGripeaction(tinymudParser.GripeactionContext)

Visit a parse tree produced by gripeaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGripeaction(tinymudParser.GripeactionContext context)
Parameters
Type Name Description
tinymudParser.GripeactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitHelpaction(tinymudParser.HelpactionContext)

Visit a parse tree produced by helpaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitHelpaction(tinymudParser.HelpactionContext context)
Parameters
Type Name Description
tinymudParser.HelpactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInventoryaction(tinymudParser.InventoryactionContext)

Visit a parse tree produced by inventoryaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInventoryaction(tinymudParser.InventoryactionContext context)
Parameters
Type Name Description
tinymudParser.InventoryactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitKey(tinymudParser.KeyContext)

Visit a parse tree produced by key().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitKey(tinymudParser.KeyContext context)
Parameters
Type Name Description
tinymudParser.KeyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitKillaction(tinymudParser.KillactionContext)

Visit a parse tree produced by killaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitKillaction(tinymudParser.KillactionContext context)
Parameters
Type Name Description
tinymudParser.KillactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLine(tinymudParser.LineContext)

Visit a parse tree produced by line().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLine(tinymudParser.LineContext context)
Parameters
Type Name Description
tinymudParser.LineContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLinkcommand(tinymudParser.LinkcommandContext)

Visit a parse tree produced by linkcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLinkcommand(tinymudParser.LinkcommandContext context)
Parameters
Type Name Description
tinymudParser.LinkcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLockcommand(tinymudParser.LockcommandContext)

Visit a parse tree produced by lockcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLockcommand(tinymudParser.LockcommandContext context)
Parameters
Type Name Description
tinymudParser.LockcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLookaction(tinymudParser.LookactionContext)

Visit a parse tree produced by lookaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLookaction(tinymudParser.LookactionContext context)
Parameters
Type Name Description
tinymudParser.LookactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMessage(tinymudParser.MessageContext)

Visit a parse tree produced by message().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMessage(tinymudParser.MessageContext context)
Parameters
Type Name Description
tinymudParser.MessageContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitName(tinymudParser.NameContext)

Visit a parse tree produced by name().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitName(tinymudParser.NameContext context)
Parameters
Type Name Description
tinymudParser.NameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNamecommand(tinymudParser.NamecommandContext)

Visit a parse tree produced by namecommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNamecommand(tinymudParser.NamecommandContext context)
Parameters
Type Name Description
tinymudParser.NamecommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNewpassswordcommand(tinymudParser.NewpassswordcommandContext)

Visit a parse tree produced by newpassswordcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNewpassswordcommand(tinymudParser.NewpassswordcommandContext context)
Parameters
Type Name Description
tinymudParser.NewpassswordcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNewsaction(tinymudParser.NewsactionContext)

Visit a parse tree produced by newsaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNewsaction(tinymudParser.NewsactionContext context)
Parameters
Type Name Description
tinymudParser.NewsactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNumber(tinymudParser.NumberContext)

Visit a parse tree produced by number().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNumber(tinymudParser.NumberContext context)
Parameters
Type Name Description
tinymudParser.NumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitObject_(tinymudParser.Object_Context)

Visit a parse tree produced by object_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitObject_(tinymudParser.Object_Context context)
Parameters
Type Name Description
tinymudParser.Object_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOfailcommand(tinymudParser.OfailcommandContext)

Visit a parse tree produced by ofailcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOfailcommand(tinymudParser.OfailcommandContext context)
Parameters
Type Name Description
tinymudParser.OfailcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOpencommand(tinymudParser.OpencommandContext)

Visit a parse tree produced by opencommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOpencommand(tinymudParser.OpencommandContext context)
Parameters
Type Name Description
tinymudParser.OpencommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOsuccesscommand(tinymudParser.OsuccesscommandContext)

Visit a parse tree produced by osuccesscommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOsuccesscommand(tinymudParser.OsuccesscommandContext context)
Parameters
Type Name Description
tinymudParser.OsuccesscommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPageaction(tinymudParser.PageactionContext)

Visit a parse tree produced by pageaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPageaction(tinymudParser.PageactionContext context)
Parameters
Type Name Description
tinymudParser.PageactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPassword(tinymudParser.PasswordContext)

Visit a parse tree produced by password().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPassword(tinymudParser.PasswordContext context)
Parameters
Type Name Description
tinymudParser.PasswordContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPasswordcommand(tinymudParser.PasswordcommandContext)

Visit a parse tree produced by passwordcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPasswordcommand(tinymudParser.PasswordcommandContext context)
Parameters
Type Name Description
tinymudParser.PasswordcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPcreatecommand(tinymudParser.PcreatecommandContext)

Visit a parse tree produced by pcreatecommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPcreatecommand(tinymudParser.PcreatecommandContext context)
Parameters
Type Name Description
tinymudParser.PcreatecommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPennies(tinymudParser.PenniesContext)

Visit a parse tree produced by pennies().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPennies(tinymudParser.PenniesContext context)
Parameters
Type Name Description
tinymudParser.PenniesContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPlayer(tinymudParser.PlayerContext)

Visit a parse tree produced by player().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPlayer(tinymudParser.PlayerContext context)
Parameters
Type Name Description
tinymudParser.PlayerContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProg(tinymudParser.ProgContext)

Visit a parse tree produced by prog().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitProg(tinymudParser.ProgContext context)
Parameters
Type Name Description
tinymudParser.ProgContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitQuitaction(tinymudParser.QuitactionContext)

Visit a parse tree produced by quitaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitQuitaction(tinymudParser.QuitactionContext context)
Parameters
Type Name Description
tinymudParser.QuitactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRobaction(tinymudParser.RobactionContext)

Visit a parse tree produced by robaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRobaction(tinymudParser.RobactionContext context)
Parameters
Type Name Description
tinymudParser.RobactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRoom(tinymudParser.RoomContext)

Visit a parse tree produced by room().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRoom(tinymudParser.RoomContext context)
Parameters
Type Name Description
tinymudParser.RoomContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSayaction(tinymudParser.SayactionContext)

Visit a parse tree produced by sayaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSayaction(tinymudParser.SayactionContext context)
Parameters
Type Name Description
tinymudParser.SayactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitScoreaction(tinymudParser.ScoreactionContext)

Visit a parse tree produced by scoreaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitScoreaction(tinymudParser.ScoreactionContext context)
Parameters
Type Name Description
tinymudParser.ScoreactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSetcommand(tinymudParser.SetcommandContext)

Visit a parse tree produced by setcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSetcommand(tinymudParser.SetcommandContext context)
Parameters
Type Name Description
tinymudParser.SetcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitShutdowncommand(tinymudParser.ShutdowncommandContext)

Visit a parse tree produced by shutdowncommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitShutdowncommand(tinymudParser.ShutdowncommandContext context)
Parameters
Type Name Description
tinymudParser.ShutdowncommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStatscommand(tinymudParser.StatscommandContext)

Visit a parse tree produced by statscommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStatscommand(tinymudParser.StatscommandContext context)
Parameters
Type Name Description
tinymudParser.StatscommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSuccesscommand(tinymudParser.SuccesscommandContext)

Visit a parse tree produced by successcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSuccesscommand(tinymudParser.SuccesscommandContext context)
Parameters
Type Name Description
tinymudParser.SuccesscommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTeleportcommand(tinymudParser.TeleportcommandContext)

Visit a parse tree produced by teleportcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTeleportcommand(tinymudParser.TeleportcommandContext context)
Parameters
Type Name Description
tinymudParser.TeleportcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitToadcommand(tinymudParser.ToadcommandContext)

Visit a parse tree produced by toadcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitToadcommand(tinymudParser.ToadcommandContext context)
Parameters
Type Name Description
tinymudParser.ToadcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUnlinkcommand(tinymudParser.UnlinkcommandContext)

Visit a parse tree produced by unlinkcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitUnlinkcommand(tinymudParser.UnlinkcommandContext context)
Parameters
Type Name Description
tinymudParser.UnlinkcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUnlockcommand(tinymudParser.UnlockcommandContext)

Visit a parse tree produced by unlockcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitUnlockcommand(tinymudParser.UnlockcommandContext context)
Parameters
Type Name Description
tinymudParser.UnlockcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWallcommand(tinymudParser.WallcommandContext)

Visit a parse tree produced by wallcommand().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWallcommand(tinymudParser.WallcommandContext context)
Parameters
Type Name Description
tinymudParser.WallcommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWhisperaction(tinymudParser.WhisperactionContext)

Visit a parse tree produced by whisperaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWhisperaction(tinymudParser.WhisperactionContext context)
Parameters
Type Name Description
tinymudParser.WhisperactionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWhoaction(tinymudParser.WhoactionContext)

Visit a parse tree produced by whoaction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWhoaction(tinymudParser.WhoactionContext context)
Parameters
Type Name Description
tinymudParser.WhoactionContext context

The parse tree.

Returns
Type Description
Result

Implements

ItinymudVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX