Class MusicNotationParser.ElementContext
public class MusicNotationParser.ElementContext : ParserRuleContext, IRuleNode, IParseTree, ISyntaxTree, ITree
- Inheritance
-
RuleContextParserRuleContextMusicNotationParser.ElementContext
- 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
ElementContext(ParserRuleContext, int)
public ElementContext(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
chord()
public MusicNotationParser.ChordContext chord()
Returns
directive()
public MusicNotationParser.DirectiveContext directive()
Returns
note()
public MusicNotationParser.NoteContext note()
Returns
polyphonicBlock()
public MusicNotationParser.PolyphonicBlockContext polyphonicBlock()
Returns
rest()
public MusicNotationParser.RestContext rest()