Пример #1
0
            public Number(uint min, uint max, ParsingExpression child)
                : base(child)
            {
                if (min < 0 || max < 0)
                {
                    throw new ArgumentOutOfRangeException();
                }

                this.Min = min;
                this.Max = max;
            }
Пример #2
0
 public ParsingRule(string name, ParsingExpression expr)
 {
     this.Name = name;
     this.Expr = expr;
 }
Пример #3
0
 public void Add(string name, ParsingExpression expr)
 {
     _rules.Add(name, new ParsingRule(name, expr));
 }
Пример #4
0
 public CheckNot(ParsingExpression expr) : base(expr)
 {
 }
Пример #5
0
 public UnaryExpr(ParsingExpression child)
 {
     this.Child = child;
 }