Represents a sequence of expressions to match.
Inheritance: Expression
            protected override void WalkSequenceExpression(SequenceExpression sequenceExpression)
            {
                foreach (var expression in sequenceExpression.Sequence)
                {
                    this.WalkExpression(expression);

                    if (!this.zeroWidth[expression])
                    {
                        break;
                    }
                }
            }
 protected virtual void WalkSequenceExpression(SequenceExpression sequenceExpression)
 {
     foreach (var expression in sequenceExpression.Sequence)
     {
         this.WalkExpression(expression);
     }
 }
Esempio n. 3
0
 protected override void WalkSequenceExpression(SequenceExpression sequenceExpression)
 {
     base.WalkSequenceExpression(sequenceExpression);
     this.Set(sequenceExpression, "string");
 }
            protected override void WalkSequenceExpression(SequenceExpression sequenceExpression)
            {
                base.WalkSequenceExpression(sequenceExpression);

                bool? result = false;
                foreach (var e in sequenceExpression.Sequence)
                {
                    result |= this.containsAssertions[e];

                    if (result == true)
                    {
                        break;
                    }
                }

                this.containsAssertions[sequenceExpression] = result;
            }
Esempio n. 5
0
 protected override void WalkSequenceExpression(SequenceExpression sequenceExpression) => this.RenderSequenceExpression(sequenceExpression, this.writer, this.currentIndentation);
Esempio n. 6
0
            protected override void WalkSequenceExpression(SequenceExpression sequenceExpression)
            {
                base.WalkSequenceExpression(sequenceExpression);

                bool? result = true;
                foreach (var e in sequenceExpression.Sequence)
                {
                    result &= this.zeroWidth[e];

                    if (result == false)
                    {
                        break;
                    }
                }

                this.zeroWidth[sequenceExpression] = result;
            }