/// <summary> /// Skips any white spaces or JS comments (//... or /* ... */) and always returns true. /// </summary> /// <param name="this">This <see cref="IStringMatcher"/>.</param> /// <returns>Always true to ease composition.</returns> public static bool SkipWhiteSpacesAndJSComments(this IStringMatcher @this) { @this.MatchWhiteSpaces(0); while (@this.TryMatchJSComment()) { @this.MatchWhiteSpaces(0); } return(true); }