From 0b90075f76b6f2df77c01c303322323b1395641a Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 14 Dec 2025 16:16:22 +0100 Subject: Use WmapParser namespace --- Sources/WmapParser/ParserContext/KeywordParserContext.swift | 9 +++++++++ Sources/WmapParser/ParserContext/LineParserContext.swift | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 Sources/WmapParser/ParserContext/KeywordParserContext.swift create mode 100644 Sources/WmapParser/ParserContext/LineParserContext.swift (limited to 'Sources/WmapParser/ParserContext') diff --git a/Sources/WmapParser/ParserContext/KeywordParserContext.swift b/Sources/WmapParser/ParserContext/KeywordParserContext.swift new file mode 100644 index 0000000..c3a77a7 --- /dev/null +++ b/Sources/WmapParser/ParserContext/KeywordParserContext.swift @@ -0,0 +1,9 @@ +extension WmapParser { + struct KeywordParserContext { + var stages: [Stage] + var notes: [Note] + var groups: [Group] + var inertias: [Inertia] + var evolutions: [Evolution] + } +} diff --git a/Sources/WmapParser/ParserContext/LineParserContext.swift b/Sources/WmapParser/ParserContext/LineParserContext.swift new file mode 100644 index 0000000..c823383 --- /dev/null +++ b/Sources/WmapParser/ParserContext/LineParserContext.swift @@ -0,0 +1,7 @@ +extension WmapParser { + struct LineParserContext { + var components: [Component] + var dependencies: [Dependency] + var keywordContext: KeywordParserContext + } +} -- cgit