mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
strings: simplify Builder (#10263)
This commit is contained in:
parent
8990114b4b
commit
eac1e25c5d
14 changed files with 65 additions and 76 deletions
|
@ -13,11 +13,11 @@ mut:
|
|||
is_attribute bool
|
||||
opened_code_type string
|
||||
line_count int
|
||||
lexeme_builder strings.Builder = strings.Builder{}
|
||||
lexeme_builder strings.Builder = strings.new_builder(100)
|
||||
code_tags map[string]bool = map{
|
||||
'script': true
|
||||
'style': true
|
||||
}
|
||||
'script': true
|
||||
'style': true
|
||||
}
|
||||
}
|
||||
|
||||
// Parser is responsible for reading the HTML strings and converting them into a `DocumentObjectModel`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue