public virtual int GetLength()
{
return this.GetPostfix().Length + 1;
}
}
public class GeExpression : Expression
{
public override string GetPostfix()
{
return string.Empty;
}
public override int Multiplier()
{
return 1;
}
public override int GetLength()
{
return 1;
}
}
public class ShiExpression : Expression
{
文章来源于领测软件测试网 https://www.ltesting.net/