-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDivision.java
More file actions
51 lines (24 loc) Β· 2.03 KB
/
Copy pathDivision.java
File metadata and controls
51 lines (24 loc) Β· 2.03 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
package Breccia.parser;
import java.util.List;
/** A division fractum in Breccia.
*
*/ @TagName("Division") @DataReflector
public interface Division extends BodyFractum {
// βββ G r a n u m βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
public @Override List<? extends DividerSegment> components() throws ParseError;
/** The default implementation returns βDivisionβ.
*/
public default @Override String tagName() { return "Division"; }
// βββ P a r s e S t a t e βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
/** The default implementation returns {@linkplain Typestamp#division division}.
*/
public default @Override int typestamp() { return Typestamp.division; }
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
/** The end of a division fractum.
*/
public static interface End extends BodyFractum.End {
// βββ P a r s e S t a t e βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
/** The default implementation returns {@linkplain Typestamp#divisionEnd divisionEnd}.
*/
public default @Override int typestamp() { return Typestamp.divisionEnd; }}}
// Copyright Β© 2021 Michael Allan. Licence MIT.