Table of Contents

Class MusicNotationParser.ChordContext

Namespace
Celeritas.Core.Grammar
Assembly
Celeritas.dll
public class MusicNotationParser.ChordContext : ParserRuleContext, IRuleNode, IParseTree, ISyntaxTree, ITree
Inheritance
RuleContext
ParserRuleContext
MusicNotationParser.ChordContext
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

ChordContext(ParserRuleContext, int)

public ChordContext(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

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

MusicNotationParser.DurationContext

noteInChord()

public MusicNotationParser.NoteInChordContext[] noteInChord()

Returns

NoteInChordContext[]

noteInChord(int)

public MusicNotationParser.NoteInChordContext noteInChord(int i)

Parameters

i int

Returns

MusicNotationParser.NoteInChordContext