Show / Hide Table of Contents

Class guidoBaseListener

This class provides an empty implementation of IguidoListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
guidoBaseListener
Implements
IguidoListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Guido
Assembly: Guido.dll
Syntax
public class guidoBaseListener : object, IguidoListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAccidental(guidoParser.AccidentalContext)

Enter a parse tree produced by accidental().

The default implementation does nothing.

Declaration
public virtual void EnterAccidental(guidoParser.AccidentalContext context)
Parameters
Type Name Description
guidoParser.AccidentalContext context

The parse tree.

| Improve this Doc View Source

EnterBarformat(guidoParser.BarformatContext)

Enter a parse tree produced by barformat().

The default implementation does nothing.

Declaration
public virtual void EnterBarformat(guidoParser.BarformatContext context)
Parameters
Type Name Description
guidoParser.BarformatContext context

The parse tree.

| Improve this Doc View Source

EnterChord(guidoParser.ChordContext)

Enter a parse tree produced by chord().

The default implementation does nothing.

Declaration
public virtual void EnterChord(guidoParser.ChordContext context)
Parameters
Type Name Description
guidoParser.ChordContext context

The parse tree.

| Improve this Doc View Source

EnterClef(guidoParser.ClefContext)

Enter a parse tree produced by clef().

The default implementation does nothing.

Declaration
public virtual void EnterClef(guidoParser.ClefContext context)
Parameters
Type Name Description
guidoParser.ClefContext context

The parse tree.

| Improve this Doc View Source

EnterDotting(guidoParser.DottingContext)

Enter a parse tree produced by dotting().

The default implementation does nothing.

Declaration
public virtual void EnterDotting(guidoParser.DottingContext context)
Parameters
Type Name Description
guidoParser.DottingContext context

The parse tree.

| Improve this Doc View Source

EnterDuration(guidoParser.DurationContext)

Enter a parse tree produced by duration().

The default implementation does nothing.

Declaration
public virtual void EnterDuration(guidoParser.DurationContext context)
Parameters
Type Name Description
guidoParser.DurationContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

EnterFraction(guidoParser.FractionContext)

Enter a parse tree produced by fraction().

The default implementation does nothing.

Declaration
public virtual void EnterFraction(guidoParser.FractionContext context)
Parameters
Type Name Description
guidoParser.FractionContext context

The parse tree.

| Improve this Doc View Source

EnterKey(guidoParser.KeyContext)

Enter a parse tree produced by key().

The default implementation does nothing.

Declaration
public virtual void EnterKey(guidoParser.KeyContext context)
Parameters
Type Name Description
guidoParser.KeyContext context

The parse tree.

| Improve this Doc View Source

EnterKvpair(guidoParser.KvpairContext)

Enter a parse tree produced by kvpair().

The default implementation does nothing.

Declaration
public virtual void EnterKvpair(guidoParser.KvpairContext context)
Parameters
Type Name Description
guidoParser.KvpairContext context

The parse tree.

| Improve this Doc View Source

EnterMeter(guidoParser.MeterContext)

Enter a parse tree produced by meter().

The default implementation does nothing.

Declaration
public virtual void EnterMeter(guidoParser.MeterContext context)
Parameters
Type Name Description
guidoParser.MeterContext context

The parse tree.

| Improve this Doc View Source

EnterNote(guidoParser.NoteContext)

Enter a parse tree produced by note().

The default implementation does nothing.

Declaration
public virtual void EnterNote(guidoParser.NoteContext context)
Parameters
Type Name Description
guidoParser.NoteContext context

The parse tree.

| Improve this Doc View Source

EnterNotename(guidoParser.NotenameContext)

Enter a parse tree produced by notename().

The default implementation does nothing.

Declaration
public virtual void EnterNotename(guidoParser.NotenameContext context)
Parameters
Type Name Description
guidoParser.NotenameContext context

The parse tree.

| Improve this Doc View Source

EnterNotes(guidoParser.NotesContext)

Enter a parse tree produced by notes().

The default implementation does nothing.

Declaration
public virtual void EnterNotes(guidoParser.NotesContext context)
Parameters
Type Name Description
guidoParser.NotesContext context

The parse tree.

| Improve this Doc View Source

EnterNumber(guidoParser.NumberContext)

Enter a parse tree produced by number().

The default implementation does nothing.

Declaration
public virtual void EnterNumber(guidoParser.NumberContext context)
Parameters
Type Name Description
guidoParser.NumberContext context

The parse tree.

| Improve this Doc View Source

EnterOctave(guidoParser.OctaveContext)

Enter a parse tree produced by octave().

The default implementation does nothing.

Declaration
public virtual void EnterOctave(guidoParser.OctaveContext context)
Parameters
Type Name Description
guidoParser.OctaveContext context

The parse tree.

| Improve this Doc View Source

EnterParameter(guidoParser.ParameterContext)

Enter a parse tree produced by parameter().

The default implementation does nothing.

Declaration
public virtual void EnterParameter(guidoParser.ParameterContext context)
Parameters
Type Name Description
guidoParser.ParameterContext context

The parse tree.

| Improve this Doc View Source

EnterParameters(guidoParser.ParametersContext)

Enter a parse tree produced by parameters().

The default implementation does nothing.

Declaration
public virtual void EnterParameters(guidoParser.ParametersContext context)
Parameters
Type Name Description
guidoParser.ParametersContext context

The parse tree.

| Improve this Doc View Source

EnterProg(guidoParser.ProgContext)

Enter a parse tree produced by prog().

The default implementation does nothing.

Declaration
public virtual void EnterProg(guidoParser.ProgContext context)
Parameters
Type Name Description
guidoParser.ProgContext context

The parse tree.

| Improve this Doc View Source

EnterRepeatEnd(guidoParser.RepeatEndContext)

Enter a parse tree produced by repeatEnd().

The default implementation does nothing.

Declaration
public virtual void EnterRepeatEnd(guidoParser.RepeatEndContext context)
Parameters
Type Name Description
guidoParser.RepeatEndContext context

The parse tree.

| Improve this Doc View Source

EnterSegment(guidoParser.SegmentContext)

Enter a parse tree produced by segment().

The default implementation does nothing.

Declaration
public virtual void EnterSegment(guidoParser.SegmentContext context)
Parameters
Type Name Description
guidoParser.SegmentContext context

The parse tree.

| Improve this Doc View Source

EnterSequence(guidoParser.SequenceContext)

Enter a parse tree produced by sequence().

The default implementation does nothing.

Declaration
public virtual void EnterSequence(guidoParser.SequenceContext context)
Parameters
Type Name Description
guidoParser.SequenceContext context

The parse tree.

| Improve this Doc View Source

EnterSequencelist(guidoParser.SequencelistContext)

Enter a parse tree produced by sequencelist().

The default implementation does nothing.

Declaration
public virtual void EnterSequencelist(guidoParser.SequencelistContext context)
Parameters
Type Name Description
guidoParser.SequencelistContext context

The parse tree.

| Improve this Doc View Source

EnterSlur(guidoParser.SlurContext)

Enter a parse tree produced by slur().

The default implementation does nothing.

Declaration
public virtual void EnterSlur(guidoParser.SlurContext context)
Parameters
Type Name Description
guidoParser.SlurContext context

The parse tree.

| Improve this Doc View Source

EnterStaff(guidoParser.StaffContext)

Enter a parse tree produced by staff().

The default implementation does nothing.

Declaration
public virtual void EnterStaff(guidoParser.StaffContext context)
Parameters
Type Name Description
guidoParser.StaffContext context

The parse tree.

| Improve this Doc View Source

EnterT(guidoParser.TContext)

Enter a parse tree produced by t().

The default implementation does nothing.

Declaration
public virtual void EnterT(guidoParser.TContext context)
Parameters
Type Name Description
guidoParser.TContext context

The parse tree.

| Improve this Doc View Source

EnterTag(guidoParser.TagContext)

Enter a parse tree produced by tag().

The default implementation does nothing.

Declaration
public virtual void EnterTag(guidoParser.TagContext context)
Parameters
Type Name Description
guidoParser.TagContext context

The parse tree.

| Improve this Doc View Source

EnterTagname(guidoParser.TagnameContext)

Enter a parse tree produced by tagname().

The default implementation does nothing.

Declaration
public virtual void EnterTagname(guidoParser.TagnameContext context)
Parameters
Type Name Description
guidoParser.TagnameContext context

The parse tree.

| Improve this Doc View Source

EnterTempo(guidoParser.TempoContext)

Enter a parse tree produced by tempo().

The default implementation does nothing.

Declaration
public virtual void EnterTempo(guidoParser.TempoContext context)
Parameters
Type Name Description
guidoParser.TempoContext context

The parse tree.

| Improve this Doc View Source

EnterTitle(guidoParser.TitleContext)

Enter a parse tree produced by title().

The default implementation does nothing.

Declaration
public virtual void EnterTitle(guidoParser.TitleContext context)
Parameters
Type Name Description
guidoParser.TitleContext context

The parse tree.

| Improve this Doc View Source

ExitAccidental(guidoParser.AccidentalContext)

Exit a parse tree produced by accidental().

The default implementation does nothing.

Declaration
public virtual void ExitAccidental(guidoParser.AccidentalContext context)
Parameters
Type Name Description
guidoParser.AccidentalContext context

The parse tree.

| Improve this Doc View Source

ExitBarformat(guidoParser.BarformatContext)

Exit a parse tree produced by barformat().

The default implementation does nothing.

Declaration
public virtual void ExitBarformat(guidoParser.BarformatContext context)
Parameters
Type Name Description
guidoParser.BarformatContext context

The parse tree.

| Improve this Doc View Source

ExitChord(guidoParser.ChordContext)

Exit a parse tree produced by chord().

The default implementation does nothing.

Declaration
public virtual void ExitChord(guidoParser.ChordContext context)
Parameters
Type Name Description
guidoParser.ChordContext context

The parse tree.

| Improve this Doc View Source

ExitClef(guidoParser.ClefContext)

Exit a parse tree produced by clef().

The default implementation does nothing.

Declaration
public virtual void ExitClef(guidoParser.ClefContext context)
Parameters
Type Name Description
guidoParser.ClefContext context

The parse tree.

| Improve this Doc View Source

ExitDotting(guidoParser.DottingContext)

Exit a parse tree produced by dotting().

The default implementation does nothing.

Declaration
public virtual void ExitDotting(guidoParser.DottingContext context)
Parameters
Type Name Description
guidoParser.DottingContext context

The parse tree.

| Improve this Doc View Source

ExitDuration(guidoParser.DurationContext)

Exit a parse tree produced by duration().

The default implementation does nothing.

Declaration
public virtual void ExitDuration(guidoParser.DurationContext context)
Parameters
Type Name Description
guidoParser.DurationContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

ExitFraction(guidoParser.FractionContext)

Exit a parse tree produced by fraction().

The default implementation does nothing.

Declaration
public virtual void ExitFraction(guidoParser.FractionContext context)
Parameters
Type Name Description
guidoParser.FractionContext context

The parse tree.

| Improve this Doc View Source

ExitKey(guidoParser.KeyContext)

Exit a parse tree produced by key().

The default implementation does nothing.

Declaration
public virtual void ExitKey(guidoParser.KeyContext context)
Parameters
Type Name Description
guidoParser.KeyContext context

The parse tree.

| Improve this Doc View Source

ExitKvpair(guidoParser.KvpairContext)

Exit a parse tree produced by kvpair().

The default implementation does nothing.

Declaration
public virtual void ExitKvpair(guidoParser.KvpairContext context)
Parameters
Type Name Description
guidoParser.KvpairContext context

The parse tree.

| Improve this Doc View Source

ExitMeter(guidoParser.MeterContext)

Exit a parse tree produced by meter().

The default implementation does nothing.

Declaration
public virtual void ExitMeter(guidoParser.MeterContext context)
Parameters
Type Name Description
guidoParser.MeterContext context

The parse tree.

| Improve this Doc View Source

ExitNote(guidoParser.NoteContext)

Exit a parse tree produced by note().

The default implementation does nothing.

Declaration
public virtual void ExitNote(guidoParser.NoteContext context)
Parameters
Type Name Description
guidoParser.NoteContext context

The parse tree.

| Improve this Doc View Source

ExitNotename(guidoParser.NotenameContext)

Exit a parse tree produced by notename().

The default implementation does nothing.

Declaration
public virtual void ExitNotename(guidoParser.NotenameContext context)
Parameters
Type Name Description
guidoParser.NotenameContext context

The parse tree.

| Improve this Doc View Source

ExitNotes(guidoParser.NotesContext)

Exit a parse tree produced by notes().

The default implementation does nothing.

Declaration
public virtual void ExitNotes(guidoParser.NotesContext context)
Parameters
Type Name Description
guidoParser.NotesContext context

The parse tree.

| Improve this Doc View Source

ExitNumber(guidoParser.NumberContext)

Exit a parse tree produced by number().

The default implementation does nothing.

Declaration
public virtual void ExitNumber(guidoParser.NumberContext context)
Parameters
Type Name Description
guidoParser.NumberContext context

The parse tree.

| Improve this Doc View Source

ExitOctave(guidoParser.OctaveContext)

Exit a parse tree produced by octave().

The default implementation does nothing.

Declaration
public virtual void ExitOctave(guidoParser.OctaveContext context)
Parameters
Type Name Description
guidoParser.OctaveContext context

The parse tree.

| Improve this Doc View Source

ExitParameter(guidoParser.ParameterContext)

Exit a parse tree produced by parameter().

The default implementation does nothing.

Declaration
public virtual void ExitParameter(guidoParser.ParameterContext context)
Parameters
Type Name Description
guidoParser.ParameterContext context

The parse tree.

| Improve this Doc View Source

ExitParameters(guidoParser.ParametersContext)

Exit a parse tree produced by parameters().

The default implementation does nothing.

Declaration
public virtual void ExitParameters(guidoParser.ParametersContext context)
Parameters
Type Name Description
guidoParser.ParametersContext context

The parse tree.

| Improve this Doc View Source

ExitProg(guidoParser.ProgContext)

Exit a parse tree produced by prog().

The default implementation does nothing.

Declaration
public virtual void ExitProg(guidoParser.ProgContext context)
Parameters
Type Name Description
guidoParser.ProgContext context

The parse tree.

| Improve this Doc View Source

ExitRepeatEnd(guidoParser.RepeatEndContext)

Exit a parse tree produced by repeatEnd().

The default implementation does nothing.

Declaration
public virtual void ExitRepeatEnd(guidoParser.RepeatEndContext context)
Parameters
Type Name Description
guidoParser.RepeatEndContext context

The parse tree.

| Improve this Doc View Source

ExitSegment(guidoParser.SegmentContext)

Exit a parse tree produced by segment().

The default implementation does nothing.

Declaration
public virtual void ExitSegment(guidoParser.SegmentContext context)
Parameters
Type Name Description
guidoParser.SegmentContext context

The parse tree.

| Improve this Doc View Source

ExitSequence(guidoParser.SequenceContext)

Exit a parse tree produced by sequence().

The default implementation does nothing.

Declaration
public virtual void ExitSequence(guidoParser.SequenceContext context)
Parameters
Type Name Description
guidoParser.SequenceContext context

The parse tree.

| Improve this Doc View Source

ExitSequencelist(guidoParser.SequencelistContext)

Exit a parse tree produced by sequencelist().

The default implementation does nothing.

Declaration
public virtual void ExitSequencelist(guidoParser.SequencelistContext context)
Parameters
Type Name Description
guidoParser.SequencelistContext context

The parse tree.

| Improve this Doc View Source

ExitSlur(guidoParser.SlurContext)

Exit a parse tree produced by slur().

The default implementation does nothing.

Declaration
public virtual void ExitSlur(guidoParser.SlurContext context)
Parameters
Type Name Description
guidoParser.SlurContext context

The parse tree.

| Improve this Doc View Source

ExitStaff(guidoParser.StaffContext)

Exit a parse tree produced by staff().

The default implementation does nothing.

Declaration
public virtual void ExitStaff(guidoParser.StaffContext context)
Parameters
Type Name Description
guidoParser.StaffContext context

The parse tree.

| Improve this Doc View Source

ExitT(guidoParser.TContext)

Exit a parse tree produced by t().

The default implementation does nothing.

Declaration
public virtual void ExitT(guidoParser.TContext context)
Parameters
Type Name Description
guidoParser.TContext context

The parse tree.

| Improve this Doc View Source

ExitTag(guidoParser.TagContext)

Exit a parse tree produced by tag().

The default implementation does nothing.

Declaration
public virtual void ExitTag(guidoParser.TagContext context)
Parameters
Type Name Description
guidoParser.TagContext context

The parse tree.

| Improve this Doc View Source

ExitTagname(guidoParser.TagnameContext)

Exit a parse tree produced by tagname().

The default implementation does nothing.

Declaration
public virtual void ExitTagname(guidoParser.TagnameContext context)
Parameters
Type Name Description
guidoParser.TagnameContext context

The parse tree.

| Improve this Doc View Source

ExitTempo(guidoParser.TempoContext)

Exit a parse tree produced by tempo().

The default implementation does nothing.

Declaration
public virtual void ExitTempo(guidoParser.TempoContext context)
Parameters
Type Name Description
guidoParser.TempoContext context

The parse tree.

| Improve this Doc View Source

ExitTitle(guidoParser.TitleContext)

Exit a parse tree produced by title().

The default implementation does nothing.

Declaration
public virtual void ExitTitle(guidoParser.TitleContext context)
Parameters
Type Name Description
guidoParser.TitleContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)

Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.IErrorNode node
Remarks

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)

Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.ITerminalNode node
Remarks

The default implementation does nothing.

Implements

IguidoListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX