70 lines
1.5 KiB
C#
70 lines
1.5 KiB
C#
using System;
|
|
|
|
namespace System.Text.RegularExpressions.Syntax
|
|
{
|
|
// Token: 0x020002E7 RID: 743
|
|
internal class Reference : Expression
|
|
{
|
|
// Token: 0x06001AF8 RID: 6904 RVA: 0x00063334 File Offset: 0x00061534
|
|
public Reference(bool ignore)
|
|
{
|
|
this.ignore = ignore;
|
|
}
|
|
|
|
// Token: 0x1700083B RID: 2107
|
|
// (get) Token: 0x06001AF9 RID: 6905 RVA: 0x00063344 File Offset: 0x00061544
|
|
// (set) Token: 0x06001AFA RID: 6906 RVA: 0x0006334C File Offset: 0x0006154C
|
|
public CapturingGroup CapturingGroup
|
|
{
|
|
get
|
|
{
|
|
return this.group;
|
|
}
|
|
set
|
|
{
|
|
this.group = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700083C RID: 2108
|
|
// (get) Token: 0x06001AFB RID: 6907 RVA: 0x00063358 File Offset: 0x00061558
|
|
// (set) Token: 0x06001AFC RID: 6908 RVA: 0x00063360 File Offset: 0x00061560
|
|
public bool IgnoreCase
|
|
{
|
|
get
|
|
{
|
|
return this.ignore;
|
|
}
|
|
set
|
|
{
|
|
this.ignore = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001AFD RID: 6909 RVA: 0x0006336C File Offset: 0x0006156C
|
|
public override void Compile(ICompiler cmp, bool reverse)
|
|
{
|
|
cmp.EmitReference(this.group.Index, this.ignore, reverse);
|
|
}
|
|
|
|
// Token: 0x06001AFE RID: 6910 RVA: 0x00063388 File Offset: 0x00061588
|
|
public override void GetWidth(out int min, out int max)
|
|
{
|
|
min = 0;
|
|
max = int.MaxValue;
|
|
}
|
|
|
|
// Token: 0x06001AFF RID: 6911 RVA: 0x00063394 File Offset: 0x00061594
|
|
public override bool IsComplex()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x040015C0 RID: 5568
|
|
private CapturingGroup group;
|
|
|
|
// Token: 0x040015C1 RID: 5569
|
|
private bool ignore;
|
|
}
|
|
}
|