Free Touch Pricker
    Preparing search index...

    Class LeadBasedParser<Course, Touch>Abstract

    A parser that supports rows of courses with numbered calls

    Each line of the input should represent a course. The course will be parsed into SerialContainer that contains individual leads (Blocks.AbstractBlock instances). The first line of the input should be rounds (this is used to determine the stage).

    E.g. the classic extent of Cambridge Surprise Minor:

    123456
    145236 3 5
    134256 3
    125346 3 5
    142356 3
    135426 3 5
    123456 3

    Calls are bobs (default) or singles (marked with an s). Leads should support a .setCall() method in order to support this. A particular course may be a different length and this is marked in parentheses at the end of the line.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Parses calling for a touch expressed on multiple lines Strips out:

      • blank lines
      • MicroSIRIL's comment marker (/ at the start of a line)
      • Other comments (marked using // anywhere in a line) Uses the first line to create a touch and passes each subsequent line to parseLine() for further processing.

      Parameters

      • input: string

        input string to parse

      Returns Touch