private INonCaptureGroup ParseNonCaptureGroup() { ++index; // swallow ':' var item = Parse(); return(NonCaptureGroup.Of(item)); }
/// <summary> /// Creates a group that is not captured. /// </summary> /// <returns>The non-capture group.</returns> public static INonCaptureGroup From(IEnumerable <IExpression> members) { if (members == null) { throw new ArgumentNullException(nameof(members)); } var group = new NonCaptureGroup(); foreach (var expression in members) { group.Add(expression); } return(group); }