Table of Contents

Class MusicNotationParser.ElementContext

Namespace
Celeritas.Core.Grammar
Assembly
Celeritas.dll
public class MusicNotationParser.ElementContext : ParserRuleContext, IRuleNode, IParseTree, ISyntaxTree, ITree
Inheritance
RuleContext
ParserRuleContext
MusicNotationParser.ElementContext
Implements
IRuleNode
IParseTree
ISyntaxTree
ITree
Inherited Members
ParserRuleContext.EMPTY
ParserRuleContext.children
ParserRuleContext.exception
ParserRuleContext.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.EmptyContext
ParserRuleContext.ChildCount
ParserRuleContext.SourceInterval
ParserRuleContext.Start
ParserRuleContext.Stop
RuleContext.invokingState
RuleContext.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.IsEmpty
RuleContext.Parent
RuleContext.Payload

Constructors

ElementContext(ParserRuleContext, int)

public ElementContext(ParserRuleContext parent, int invokingState)

Parameters

parent ParserRuleContext
invokingState int

Properties

RuleIndex

public override int RuleIndex { get; }

Property Value

int

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

visitor IParseTreeVisitor<TResult>

Returns

TResult

Type Parameters

TResult

chord()

public MusicNotationParser.ChordContext chord()

Returns

MusicNotationParser.ChordContext

directive()

public MusicNotationParser.DirectiveContext directive()

Returns

MusicNotationParser.DirectiveContext

note()

public MusicNotationParser.NoteContext note()

Returns

MusicNotationParser.NoteContext

polyphonicBlock()

public MusicNotationParser.PolyphonicBlockContext polyphonicBlock()

Returns

MusicNotationParser.PolyphonicBlockContext

rest()

public MusicNotationParser.RestContext rest()

Returns

MusicNotationParser.RestContext