aboutsummaryrefslogtreecommitdiff
path: root/Sources/WmapParser/ParserContext
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/WmapParser/ParserContext')
-rw-r--r--Sources/WmapParser/ParserContext/KeywordParserContext.swift9
-rw-r--r--Sources/WmapParser/ParserContext/LineParserContext.swift7
2 files changed, 16 insertions, 0 deletions
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
+ }
+}