StmtImport adds the exported scope definitions of a module into the current scope. It can be used anywhere a statement is allowed, and can even be nested inside a class definition. By convention, it is commonly used at the top of a file. As with any statement, it produces output, but that output is
| 7214 | // file. As with any statement, it produces output, but that output is empty. To |
| 7215 | // benefit from its inclusion, reference the scope definitions you want. |
| 7216 | type StmtImport struct { |
| 7217 | interfaces.Textarea |
| 7218 | |
| 7219 | data *interfaces.Data |
| 7220 | |
| 7221 | Name string |
| 7222 | Alias string |
| 7223 | } |
| 7224 | |
| 7225 | // String returns a short representation of this statement. |
| 7226 | func (obj *StmtImport) String() string { |
nothing calls this directly
no outgoing calls
no test coverage detected