private PTokenRepeat(IMatchable content, bool greedyMatch, int repeatLowerBound, int repeatUpperBound, MatchCompleteChecker matchCompleteChecker = null) { _content = content; _repeatLowerBound = repeatLowerBound; RepeatUpperBound = repeatUpperBound; _greedyMatch = greedyMatch; _matchCompleteChecker = matchCompleteChecker; }
public CTokenRepeat(IMatchable content, bool greedyMatch, int repeatLowerBound, int repeatUpperBound, MatchCompleteChecker matchCompleteChecker = null) { this.content = content; this.repeatLowerBound = repeatLowerBound; this.repeatUpperBound = repeatUpperBound; this.greedyMatch = greedyMatch; this.matchCompleteChecker = matchCompleteChecker; }
public CTokenRepeat(IMatchable content, bool greedyMatch, int repeatLowerBound = 0, MatchCompleteChecker matchCompleteChecker = null) : this(content, greedyMatch, repeatLowerBound, 0, matchCompleteChecker) { this.infiniteRepeat = true; }