Class ChordSymbolBaseVisitor<Result>
This class provides an empty implementation of IChordSymbolVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
[CLSCompliant(false)]
public class ChordSymbolBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IChordSymbolVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
ResultThe return type of the visit operation.
- Inheritance
-
AbstractParseTreeVisitor<Result>ChordSymbolBaseVisitor<Result>
- Implements
-
IChordSymbolVisitor<Result>IParseTreeVisitor<Result>
- Inherited Members
-
AbstractParseTreeVisitor<Result>.Visit(IParseTree)AbstractParseTreeVisitor<Result>.VisitChildren(IRuleNode)AbstractParseTreeVisitor<Result>.VisitTerminal(ITerminalNode)AbstractParseTreeVisitor<Result>.VisitErrorNode(IErrorNode)AbstractParseTreeVisitor<Result>.AggregateResult(Result, Result)AbstractParseTreeVisitor<Result>.ShouldVisitNextChild(IRuleNode, Result)AbstractParseTreeVisitor<Result>.DefaultResult
Methods
VisitAccidental(AccidentalContext)
Visit a parse tree produced by accidental().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitAccidental(ChordSymbolParser.AccidentalContext context)
Parameters
contextChordSymbolParser.AccidentalContextThe parse tree.
Returns
- Result
VisitAddTone(AddToneContext)
Visit a parse tree produced by addTone().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitAddTone(ChordSymbolParser.AddToneContext context)
Parameters
contextChordSymbolParser.AddToneContextThe parse tree.
Returns
- Result
VisitAlteration(AlterationContext)
Visit a parse tree produced by alteration().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitAlteration(ChordSymbolParser.AlterationContext context)
Parameters
contextChordSymbolParser.AlterationContextThe parse tree.
Returns
- Result
VisitChord(ChordContext)
Visit a parse tree produced by chord().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitChord(ChordSymbolParser.ChordContext context)
Parameters
contextChordSymbolParser.ChordContextThe parse tree.
Returns
- Result
VisitChordSuffix(ChordSuffixContext)
Visit a parse tree produced by chordSuffix().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitChordSuffix(ChordSymbolParser.ChordSuffixContext context)
Parameters
contextChordSymbolParser.ChordSuffixContextThe parse tree.
Returns
- Result
VisitExtension(ExtensionContext)
Visit a parse tree produced by extension().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitExtension(ChordSymbolParser.ExtensionContext context)
Parameters
contextChordSymbolParser.ExtensionContextThe parse tree.
Returns
- Result
VisitGroup(GroupContext)
Visit a parse tree produced by group().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitGroup(ChordSymbolParser.GroupContext context)
Parameters
contextChordSymbolParser.GroupContextThe parse tree.
Returns
- Result
VisitGroupItem(GroupItemContext)
Visit a parse tree produced by groupItem().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitGroupItem(ChordSymbolParser.GroupItemContext context)
Parameters
contextChordSymbolParser.GroupItemContextThe parse tree.
Returns
- Result
VisitModifier(ModifierContext)
Visit a parse tree produced by modifier().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitModifier(ChordSymbolParser.ModifierContext context)
Parameters
contextChordSymbolParser.ModifierContextThe parse tree.
Returns
- Result
VisitNote(NoteContext)
Visit a parse tree produced by note().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitNote(ChordSymbolParser.NoteContext context)
Parameters
contextChordSymbolParser.NoteContextThe parse tree.
Returns
- Result
VisitOmitTone(OmitToneContext)
Visit a parse tree produced by omitTone().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitOmitTone(ChordSymbolParser.OmitToneContext context)
Parameters
contextChordSymbolParser.OmitToneContextThe parse tree.
Returns
- Result
VisitPolychord(PolychordContext)
Visit a parse tree produced by polychord().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitPolychord(ChordSymbolParser.PolychordContext context)
Parameters
contextChordSymbolParser.PolychordContextThe parse tree.
Returns
- Result
VisitQuality(QualityContext)
Visit a parse tree produced by quality().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitQuality(ChordSymbolParser.QualityContext context)
Parameters
contextChordSymbolParser.QualityContextThe parse tree.
Returns
- Result
VisitSlashBass(SlashBassContext)
Visit a parse tree produced by slashBass().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitSlashBass(ChordSymbolParser.SlashBassContext context)
Parameters
contextChordSymbolParser.SlashBassContextThe parse tree.
Returns
- Result
VisitSymbol(SymbolContext)
Visit a parse tree produced by symbol().
The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
on context.
public virtual Result VisitSymbol(ChordSymbolParser.SymbolContext context)
Parameters
contextChordSymbolParser.SymbolContextThe parse tree.
Returns
- Result