ladybird/Libraries/LibWeb/CSS/Parser/SourcePosition.h
Sam Atkins df41e7a1cf LibWeb/CSS: Move Token::Position into SourcePosition
There's nothing about this that's specific to Tokens, and moving it
makes it easier to use for other types. We'll need this for the
following commits.
2026-06-04 20:54:33 +01:00

14 lines
217 B
C

/*
* Copyright (c) 2026, Sam Atkins <sam@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
struct SourcePosition {
size_t line { 0 };
size_t column { 0 };
};