Determine the type of line, and parse it into a ParsedLine