ast: fix const field str() (#21998)

This commit is contained in:
yuyi 2024-08-06 22:42:24 +08:00 committed by GitHub
parent ddb6685d8a
commit 3247b98bb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 85 additions and 45 deletions

View file

@ -56,9 +56,9 @@ pub mut:
end_line u8 = `\n`
end_line_len int = csv.endline_cr_len // size of the endline rune \n = 1, \r\n = 2
separator u8 = `,` // comma is the default separator
separator_len int = 1 // size of the separator rune
quote u8 = `"` // double quote is the standard quote char
separator u8 = `,` // comma is the default separator
separator_len int = 1 // size of the separator rune
quote u8 = `"` // double quote is the standard quote char
quote_remove bool // if true clear the cell from the quotes
comment u8 = `#` // every line that start with the quote char is ignored
@ -92,7 +92,7 @@ pub:
default_cell string = '*' // return this string if out of the csv boundaries
empty_cell string // return this string if empty cell
end_line_len int = csv.endline_cr_len // size of the endline rune
quote u8 = `"` // double quote is the standard quote char
quote u8 = `"` // double quote is the standard quote char
quote_remove bool // if true clear the cell from the quotes
}