Class MusicNotationParser.ChordContext
public class MusicNotationParser.ChordContext : ParserRuleContext, IRuleNode, IParseTree, ISyntaxTree, ITree
- Inheritance
-
RuleContextParserRuleContextMusicNotationParser.ChordContext
- Implements
-
IRuleNodeIParseTreeISyntaxTreeITree
- Inherited Members
-
ParserRuleContext.EMPTYParserRuleContext.childrenParserRuleContext.exceptionParserRuleContext.CopyFrom(ParserRuleContext)ParserRuleContext.EnterRule(IParseTreeListener)ParserRuleContext.ExitRule(IParseTreeListener)ParserRuleContext.AddChild(ITerminalNode)ParserRuleContext.AddChild(RuleContext)ParserRuleContext.RemoveLastChild()ParserRuleContext.AddChild(IToken)ParserRuleContext.AddErrorNode(IToken)ParserRuleContext.GetRuleContexts<T>()ParserRuleContext.ToInfoString(Parser)ParserRuleContext.EmptyContextParserRuleContext.ChildCountParserRuleContext.SourceIntervalParserRuleContext.StartParserRuleContext.StopRuleContext.invokingStateRuleContext.Depth()RuleContext.GetText()RuleContext.getAltNumber()RuleContext.Accept<T>(IParseTreeVisitor<T>)RuleContext.ToStringTree(Parser)RuleContext.ToStringTree()RuleContext.ToString()RuleContext.ToString(IRecognizer)RuleContext.ToString(IRecognizer, RuleContext)RuleContext.IsEmptyRuleContext.ParentRuleContext.Payload
Constructors
ChordContext(ParserRuleContext, int)
public ChordContext(ParserRuleContext parent, int invokingState)
Parameters
parentParserRuleContextinvokingStateint
Properties
RuleIndex
public override int RuleIndex { get; }
Property Value
Methods
Accept<TResult>(IParseTreeVisitor<TResult>)
The Antlr4.Runtime.Tree.IParseTreeVisitor<Result> needs a double dispatch method.
public override TResult Accept<TResult>(IParseTreeVisitor<TResult> visitor)
Parameters
visitorIParseTreeVisitor<TResult>
Returns
- TResult
Type Parameters
TResult
LBRACKET()
public ITerminalNode LBRACKET()
Returns
- ITerminalNode
LPAREN()
public ITerminalNode LPAREN()
Returns
- ITerminalNode
RBRACKET()
public ITerminalNode RBRACKET()
Returns
- ITerminalNode
RPAREN()
public ITerminalNode RPAREN()
Returns
- ITerminalNode
duration()
public MusicNotationParser.DurationContext duration()
Returns
noteInChord()
public MusicNotationParser.NoteInChordContext[] noteInChord()
Returns
noteInChord(int)
public MusicNotationParser.NoteInChordContext noteInChord(int i)
Parameters
iint