1
Fork 0
mirror of https://github.com/RGBCube/properties.v synced 2025-07-29 16:07:46 +00:00

Chore: Un-pub PropertiesParser

This commit is contained in:
RGBCube 2023-03-12 10:26:10 +03:00
parent 21099caada
commit 49564395a3

View file

@ -10,9 +10,7 @@ enum ParseState {
value value
} }
// PropertiesParser is a parser for properties files. struct PropertiesParser {
[noinit]
pub struct PropertiesParser {
// The string we are parsing. // The string we are parsing.
raw string raw string
mut: mut:
@ -194,9 +192,7 @@ fn (mut p PropertiesParser) loop_inner() {
} }
} }
// parse parses the properties file. fn (mut p PropertiesParser) parse() {
// The parsed properties are stored in the properties field.
pub fn (mut p PropertiesParser) parse() {
for !p.is_at_end() { for !p.is_at_end() {
p.loop_inner() p.loop_inner()
} }