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
Namespace: GCore.Antlr.Grammers.Guido
Assembly: Guido.dll
Syntax
public class guidoBaseListener : object, IguidoListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAccidental(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. |
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. |
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. |
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. |
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. |
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. |
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.
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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.
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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.
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.