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