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

This commit is contained in:
yuyi 2024-09-10 22:02:51 +08:00 committed by GitHub
parent 86fe9456a5
commit dd2210abf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 48 additions and 57 deletions

View file

@ -56,9 +56,9 @@ pub mut:
end_line u8 = `\n`
end_line_len int = 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 = 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
}