mirror of
https://github.com/RGBCube/properties.v
synced 2025-07-29 07:57:46 +00:00
Chore: Un-pub PropertiesParser
This commit is contained in:
parent
21099caada
commit
49564395a3
1 changed files with 2 additions and 6 deletions
|
@ -10,9 +10,7 @@ enum ParseState {
|
|||
value
|
||||
}
|
||||
|
||||
// PropertiesParser is a parser for properties files.
|
||||
[noinit]
|
||||
pub struct PropertiesParser {
|
||||
struct PropertiesParser {
|
||||
// The string we are parsing.
|
||||
raw string
|
||||
mut:
|
||||
|
@ -194,9 +192,7 @@ fn (mut p PropertiesParser) loop_inner() {
|
|||
}
|
||||
}
|
||||
|
||||
// parse parses the properties file.
|
||||
// The parsed properties are stored in the properties field.
|
||||
pub fn (mut p PropertiesParser) parse() {
|
||||
fn (mut p PropertiesParser) parse() {
|
||||
for !p.is_at_end() {
|
||||
p.loop_inner()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue