mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
new AST built with sum types
This commit is contained in:
15
vlib/compiler2/fmt/fmt.v
Normal file
15
vlib/compiler2/fmt/fmt.v
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright (c) 2019 Alexander Medvednikov. All rights reserved.
|
||||
// Use of this source code is governed by an MIT license
|
||||
// that can be found in the LICENSE file.
|
||||
module fmt
|
||||
|
||||
struct Fmt {
|
||||
// vfmt fields TODO move to a separate struct
|
||||
// fmt_out strings.Builder
|
||||
fmt_lines []string
|
||||
// fmt_line string
|
||||
fmt_indent int
|
||||
fmt_line_empty bool
|
||||
// fmt_needs_nl bool
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user