Skip to content

Commit a3d0fda

Browse files
committed
fix: symlink
Signed-off-by: Alex Snaps <alex@wcgw.dev>
1 parent 72d83d0 commit a3d0fda

7 files changed

Lines changed: 0 additions & 18 deletions

File tree

runtime/Rust/templates/Rust.stg

Lines changed: 0 additions & 1 deletion
This file was deleted.

runtime/Rust/templates/Rust.stg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../tool/resources/org/antlr/v4/tool/templates/codegen/Rust/Rust.stg

runtime/Rust/tests/gen/csvlistener.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ fn enter_csvFile(&mut self, _ctx: &CsvFileContext<'input>) { }
1414
* @param ctx the parse tree
1515
*/
1616
fn exit_csvFile(&mut self, _ctx: &CsvFileContext<'input>) { }
17-
1817
/**
1918
* Enter a parse tree produced by {@link CSVParser#hdr}.
2019
* @param ctx the parse tree
@@ -25,7 +24,6 @@ fn enter_hdr(&mut self, _ctx: &HdrContext<'input>) { }
2524
* @param ctx the parse tree
2625
*/
2726
fn exit_hdr(&mut self, _ctx: &HdrContext<'input>) { }
28-
2927
/**
3028
* Enter a parse tree produced by {@link CSVParser#row}.
3129
* @param ctx the parse tree
@@ -36,7 +34,6 @@ fn enter_row(&mut self, _ctx: &RowContext<'input>) { }
3634
* @param ctx the parse tree
3735
*/
3836
fn exit_row(&mut self, _ctx: &RowContext<'input>) { }
39-
4037
/**
4138
* Enter a parse tree produced by {@link CSVParser#field}.
4239
* @param ctx the parse tree

runtime/Rust/tests/gen/labelslistener.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ fn enter_s(&mut self, _ctx: &SContext<'input>) { }
1414
* @param ctx the parse tree
1515
*/
1616
fn exit_s(&mut self, _ctx: &SContext<'input>) { }
17-
1817
/**
1918
* Enter a parse tree produced by the {@code add}
2019
* labeled alternative in {@link LabelsParser#e}.
@@ -27,7 +26,6 @@ fn enter_add(&mut self, _ctx: &AddContext<'input>) { }
2726
* @param ctx the parse tree
2827
*/
2928
fn exit_add(&mut self, _ctx: &AddContext<'input>) { }
30-
3129
/**
3230
* Enter a parse tree produced by the {@code parens}
3331
* labeled alternative in {@link LabelsParser#e}.
@@ -40,7 +38,6 @@ fn enter_parens(&mut self, _ctx: &ParensContext<'input>) { }
4038
* @param ctx the parse tree
4139
*/
4240
fn exit_parens(&mut self, _ctx: &ParensContext<'input>) { }
43-
4441
/**
4542
* Enter a parse tree produced by the {@code mult}
4643
* labeled alternative in {@link LabelsParser#e}.
@@ -53,7 +50,6 @@ fn enter_mult(&mut self, _ctx: &MultContext<'input>) { }
5350
* @param ctx the parse tree
5451
*/
5552
fn exit_mult(&mut self, _ctx: &MultContext<'input>) { }
56-
5753
/**
5854
* Enter a parse tree produced by the {@code dec}
5955
* labeled alternative in {@link LabelsParser#e}.
@@ -66,7 +62,6 @@ fn enter_dec(&mut self, _ctx: &DecContext<'input>) { }
6662
* @param ctx the parse tree
6763
*/
6864
fn exit_dec(&mut self, _ctx: &DecContext<'input>) { }
69-
7065
/**
7166
* Enter a parse tree produced by the {@code anID}
7267
* labeled alternative in {@link LabelsParser#e}.
@@ -79,7 +74,6 @@ fn enter_anID(&mut self, _ctx: &AnIDContext<'input>) { }
7974
* @param ctx the parse tree
8075
*/
8176
fn exit_anID(&mut self, _ctx: &AnIDContext<'input>) { }
82-
8377
/**
8478
* Enter a parse tree produced by the {@code anInt}
8579
* labeled alternative in {@link LabelsParser#e}.
@@ -92,7 +86,6 @@ fn enter_anInt(&mut self, _ctx: &AnIntContext<'input>) { }
9286
* @param ctx the parse tree
9387
*/
9488
fn exit_anInt(&mut self, _ctx: &AnIntContext<'input>) { }
95-
9689
/**
9790
* Enter a parse tree produced by the {@code inc}
9891
* labeled alternative in {@link LabelsParser#e}.

runtime/Rust/tests/gen/labelsparser.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,12 @@ where
222222
0=>{
223223
recog.precpred(None, 7)
224224
}
225-
226225
1=>{
227226
recog.precpred(None, 6)
228227
}
229-
230228
2=>{
231229
recog.precpred(None, 3)
232230
}
233-
234231
3=>{
235232
recog.precpred(None, 2)
236233
}

runtime/Rust/tests/gen/simplelrlistener.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ fn enter_s(&mut self, _ctx: &SContext<'input>) { }
1414
* @param ctx the parse tree
1515
*/
1616
fn exit_s(&mut self, _ctx: &SContext<'input>) { }
17-
1817
/**
1918
* Enter a parse tree produced by {@link SimpleLRParser#a}.
2019
* @param ctx the parse tree

runtime/Rust/tests/gen/visitorcalclistener.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ fn enter_s(&mut self, _ctx: &SContext<'input>) { }
1414
* @param ctx the parse tree
1515
*/
1616
fn exit_s(&mut self, _ctx: &SContext<'input>) { }
17-
1817
/**
1918
* Enter a parse tree produced by the {@code add}
2019
* labeled alternative in {@link VisitorCalcParser#expr}.
@@ -27,7 +26,6 @@ fn enter_add(&mut self, _ctx: &AddContext<'input>) { }
2726
* @param ctx the parse tree
2827
*/
2928
fn exit_add(&mut self, _ctx: &AddContext<'input>) { }
30-
3129
/**
3230
* Enter a parse tree produced by the {@code number}
3331
* labeled alternative in {@link VisitorCalcParser#expr}.
@@ -40,7 +38,6 @@ fn enter_number(&mut self, _ctx: &NumberContext<'input>) { }
4038
* @param ctx the parse tree
4139
*/
4240
fn exit_number(&mut self, _ctx: &NumberContext<'input>) { }
43-
4441
/**
4542
* Enter a parse tree produced by the {@code multiply}
4643
* labeled alternative in {@link VisitorCalcParser#expr}.

runtime/Rust/tests/gen/visitorcalcparser.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ where
231231
0=>{
232232
recog.precpred(None, 2)
233233
}
234-
235234
1=>{
236235
recog.precpred(None, 1)
237236
}

0 commit comments

Comments
 (0)