Body returns the root body of the file, which contains the top-level attributes and blocks.
()
| 29 | // Body returns the root body of the file, which contains the top-level |
| 30 | // attributes and blocks. |
| 31 | func (f *File) Body() *Body { |
| 32 | return f.body.content.(*Body) |
| 33 | } |
| 34 | |
| 35 | // WriteTo writes the tokens underlying the receiving file to the given writer. |
| 36 | // |
no outgoing calls