|
1 |
| -// DO NOT EDIT: Autogenerated file created on 2024-03-02 9:43:35 PM. |
| 1 | +// DO NOT EDIT: Autogenerated file created on 2024-03-03 10:34:02 PM. |
2 | 2 | using System;
|
3 | 3 | using System.Linq;
|
4 | 4 |
|
5 | 5 | namespace Ara3D.Parakeet.Cst.CombinatorCalculusGrammarNameSpace
|
6 | 6 | {
|
7 | 7 | /// <summary>
|
| 8 | + /// Rule = Application ::= ((Term+Term)+(Spaces)?) |
8 | 9 | /// Nodes = (Term+Term)
|
9 | 10 | /// </summary>
|
10 | 11 | public class CstApplication : CstNodeSequence
|
11 | 12 | {
|
12 |
| - public static Rule Rule = CstNodeFactory.Grammar.Application; |
| 13 | + public static Rule Rule = CstNodeFactory.StaticGrammar.Application; |
13 | 14 | public CstApplication(params CstNode[] children) : base(children) { }
|
14 | 15 | public CstNodeFilter<CstTerm> Term => new CstNodeFilter<CstTerm> (Children);
|
15 | 16 | }
|
16 | 17 |
|
17 | 18 | /// <summary>
|
| 19 | + /// Rule = Combinator ::= (Letter+(Spaces)?) |
18 | 20 | /// Nodes =
|
19 | 21 | /// </summary>
|
20 | 22 | public class CstCombinator : CstNodeLeaf
|
21 | 23 | {
|
22 |
| - public static Rule Rule = CstNodeFactory.Grammar.Combinator; |
| 24 | + public static Rule Rule = CstNodeFactory.StaticGrammar.Combinator; |
23 | 25 | public CstCombinator(string text) : base(text) { }
|
24 | 26 | // No children
|
25 | 27 | }
|
26 | 28 |
|
27 | 29 | /// <summary>
|
| 30 | + /// Rule = Identifier ::= ((IdentifierFirstChar+(IdentifierChar)*)+(Spaces)?) |
28 | 31 | /// Nodes =
|
29 | 32 | /// </summary>
|
30 | 33 | public class CstIdentifier : CstNodeLeaf
|
31 | 34 | {
|
32 |
| - public static Rule Rule = CstNodeFactory.Grammar.Identifier; |
| 35 | + public static Rule Rule = CstNodeFactory.StaticGrammar.Identifier; |
33 | 36 | public CstIdentifier(string text) : base(text) { }
|
34 | 37 | // No children
|
35 | 38 | }
|
36 | 39 |
|
37 | 40 | /// <summary>
|
| 41 | + /// Rule = Term ::= (('('+(Spaces)?+_UNKNOWN_+(Term|Application|Combinator)+(Spaces)?+')'+(Spaces)?)+(Spaces)?) |
38 | 42 | /// Nodes = (Term|Application|Combinator)
|
39 | 43 | /// </summary>
|
40 | 44 | public class CstTerm : CstNodeChoice
|
41 | 45 | {
|
42 |
| - public static Rule Rule = CstNodeFactory.Grammar.Term; |
| 46 | + public static Rule Rule = CstNodeFactory.StaticGrammar.Term; |
43 | 47 | public CstTerm(params CstNode[] children) : base(children) { }
|
44 | 48 | public CstNodeFilter<CstTerm> Term => new CstNodeFilter<CstTerm> (Children);
|
45 | 49 | public CstNodeFilter<CstApplication> Application => new CstNodeFilter<CstApplication> (Children);
|
|
0 commit comments