/// <summary> /// Ctor. /// </summary> /// <param name="type">multiplicity</param> /// <param name="optionalRepeat">repetition</param> public MatchRecognizeRegExNested( MatchRecogizePatternElementType type, MatchRecognizeRegExRepeat optionalRepeat) { this.type = type; this.optionalRepeat = optionalRepeat; }
/// <summary> /// Ctor. /// </summary> /// <param name="name">of variable</param> /// <param name="type">multiplicity</param> /// <param name="optionalRepeat">repetition</param> public MatchRecognizeRegExAtom( string name, MatchRecogizePatternElementType type, MatchRecognizeRegExRepeat optionalRepeat) { this.name = name; this.type = type; this.optionalRepeat = optionalRepeat; }