Пример #1
0
 /// <summary> if the current input starts with the given string, succeed and consumes all the characters until the end of line '\n character.
 /// It does not consume the end of line character.
 /// </summary>
 /// <param name="start">the start string.
 /// </param>
 /// <returns> the scanner.
 /// </returns>
 public static Scanner IsLineComment(string start)
 {
     return(IsPattern("line comment", Patterns.IsLineComment(start), start));
 }