namespace AIStudio.Tools.DocumentSegments.Latex; /// /// An argument of a command or of the start of an environment. /// /// Whether the argument stands in brackets or parentheses rather than in braces. /// Where its content starts in the source, behind the opening bracket or brace. /// Where its content ends in the source, before the closing bracket or brace. /// Its content; empty for an argument which LaTeX reads as it stands, e.g., an address. internal sealed record LatexArgument(bool IsOptional, int ContentStart, int ContentEnd, IReadOnlyList Children);