/// <summary> /// Initialises a new instance of the <see cref="BestFullMatchParserStrategy"/> /// with the specified <see cref="BestMatchHeuristic"/>. /// </summary> public BestFullMatchParserStrategy(BestMatchHeuristic bestMatchHeuristic) { _bestMatchHeuristic = bestMatchHeuristic; }
/// <summary> /// Initialises a new instance of the <see cref="BestFullMatchParserStrategy"/> /// with the default <see cref="BestMatchHeuristic"/>. /// </summary> public BestFullMatchParserStrategy() { _bestMatchHeuristic = BestMatchHeuristics.GreatestNumberOfTokensHeuristic(); }