ladybird/Userland/Libraries/LibDiff/Forward.h
Shannon Booth efb26b1781 LibDiff: Implement ability to parse a patch header
This is a somewhat naive implementation, but it is enough to parse a
simple unified patch header.

After parsing the patch header, the parser will be at the beginning of
the first hunks range, ready for that hunk to be parsed.
2023-07-13 10:29:30 +01:00

21 lines
264 B
C++

/*
* Copyright (c) 2023, Shannon Booth <shannon.ml.booth@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Diff {
enum class Format;
class Parser;
struct Header;
struct Hunk;
struct HunkLocation;
struct Line;
struct Range;
}