Exemple #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;
            }
Exemple #2
0
 public ParsingRule(string name, ParsingExpression expr)
 {
     this.Name = name;
     this.Expr = expr;
 }
Exemple #3
0
 public void Add(string name, ParsingExpression expr)
 {
     _rules.Add(name, new ParsingRule(name, expr));
 }
Exemple #4
0
 public CheckNot(ParsingExpression expr) : base(expr)
 {
 }
Exemple #5
0
 public UnaryExpr(ParsingExpression child)
 {
     this.Child = child;
 }