Esempio n. 1
0
 public RegexNode(Expression expression)
 {
     Exp = expression;
 }
Esempio n. 2
0
 //匿名
 public CaptureExpression(Expression sub)
 {
     Name = null;
     Sub = sub;
 }
Esempio n. 3
0
 public AlternativeExpression(Expression left, Expression right)
 {
     Left = left;
     Right = right;
 }
Esempio n. 4
0
 public CaptureExpression(string name, Expression sub)
 {
     Name = name;
     Sub = sub;
 }
Esempio n. 5
0
 public SequenceExpression(Expression left,Expression right)
 {
     Left = left;
     Right = right;
 }
Esempio n. 6
0
 public PositiveExpression(Expression subExpression)
 {
     Matched = subExpression;
 }
Esempio n. 7
0
 public NegativeExpression(Expression subExpression)
 {
     Matched = subExpression;
 }
Esempio n. 8
0
 public LoopExpression(int min,int max,bool isGreedy,Expression looped = null)
 {
     Min = min;
     Max = max;
     IsGreedy = isGreedy;
     Looped = looped;
 }