Repository navigation
Expand file tree
/
Copy pathNoteCarrier.java
More file actions
52 lines (26 loc) · 2.08 KB
/
Copy pathNoteCarrier.java
File metadata and controls
52 lines (26 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package Breccia.parser;
/** A note carrier in Breccia.
*
*/ @TagName("NoteCarrier") @DataReflector
public interface NoteCarrier extends CommandPoint {
/** The pattern matcher, or null if none is present.
*/
public PatternMatcher patternMatcher() throws ParseError;
// ━━━ G r a n u m ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/** The default implementation returns ‘NoteCarrier’.
*/
public default @Override String tagName() { return "NoteCarrier"; }
// ━━━ P a r s e S t a t e ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/** The default implementation returns {@linkplain Typestamp#noteCarrier noteCarrier}.
*/
public default @Override int typestamp() { return Typestamp.noteCarrier; }
// ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
/** The end of a note carrier.
*/
public static interface End extends CommandPoint.End {
// ━━━ P a r s e S t a t e ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/** The default implementation returns
* {@linkplain Typestamp#noteCarrierEnd noteCarrierEnd}.
*/
public default @Override int typestamp() { return Typestamp.noteCarrierEnd; }}}
// Copyright © 2023 Michael Allan. Licence MIT.