blob: 52e577f4ee2d481a7c6cfdb42382a6f1e2a96ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
namespace Q1.Compiler;
using Antlr4.Runtime;
public class Context : ParserRuleContext
{
public string? LoopEndBranch;
public string? LoopBodyBranch;
public Context() { }
public Context(ParserRuleContext parent, int invokingStateNumber)
: base((Context) parent, invokingStateNumber)
{
}
public void SyncProps(Context childCtx)
{
childCtx.LoopBodyBranch = this.LoopBodyBranch;
childCtx.LoopEndBranch = this.LoopEndBranch;
}
}
|