37 lines
825 B
C#
37 lines
825 B
C#
using System;
|
|
|
|
namespace System.Text.RegularExpressions.Syntax
|
|
{
|
|
// Token: 0x020002D9 RID: 729
|
|
internal abstract class Expression
|
|
{
|
|
// Token: 0x06001A9D RID: 6813
|
|
public abstract void Compile(ICompiler cmp, bool reverse);
|
|
|
|
// Token: 0x06001A9E RID: 6814
|
|
public abstract void GetWidth(out int min, out int max);
|
|
|
|
// Token: 0x06001A9F RID: 6815 RVA: 0x000623B4 File Offset: 0x000605B4
|
|
public int GetFixedWidth()
|
|
{
|
|
int num;
|
|
int num2;
|
|
this.GetWidth(out num, out num2);
|
|
if (num == num2)
|
|
{
|
|
return num;
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
// Token: 0x06001AA0 RID: 6816 RVA: 0x000623D8 File Offset: 0x000605D8
|
|
public virtual AnchorInfo GetAnchorInfo(bool reverse)
|
|
{
|
|
return new AnchorInfo(this, this.GetFixedWidth());
|
|
}
|
|
|
|
// Token: 0x06001AA1 RID: 6817
|
|
public abstract bool IsComplex();
|
|
}
|
|
}
|