ast: a minor format of ast.v
parent
e949d4b26c
commit
c16bb7f3e4
|
@ -551,8 +551,8 @@ pub struct File {
|
||||||
pub:
|
pub:
|
||||||
path string // absolute path of the source file - '/projects/v/file.v'
|
path string // absolute path of the source file - '/projects/v/file.v'
|
||||||
path_base string // file name - 'file.v' (useful for tracing)
|
path_base string // file name - 'file.v' (useful for tracing)
|
||||||
nr_lines int // number of source code lines in the file (including newlines and comments)
|
nr_lines int // number of source code lines in the file (including newlines and comments)
|
||||||
nr_bytes int // number of processed source code bytes
|
nr_bytes int // number of processed source code bytes
|
||||||
mod Module // the module of the source file (from `module xyz` at the top)
|
mod Module // the module of the source file (from `module xyz` at the top)
|
||||||
global_scope &Scope
|
global_scope &Scope
|
||||||
is_test bool // true for _test.v files
|
is_test bool // true for _test.v files
|
||||||
|
|
Loading…
Reference in New Issue