StmtInclude causes a user defined class to get used. It's effectively the way to call a class except that it produces output instead of a value. Most of the interesting logic for classes happens here or in StmtProg.
| 6714 | // to call a class except that it produces output instead of a value. Most of |
| 6715 | // the interesting logic for classes happens here or in StmtProg. |
| 6716 | type StmtInclude struct { |
| 6717 | interfaces.Textarea |
| 6718 | |
| 6719 | data *interfaces.Data |
| 6720 | scope *interfaces.Scope |
| 6721 | |
| 6722 | class *StmtClass // copy of class that we're using |
| 6723 | orig *StmtInclude // original pointer to this |
| 6724 | |
| 6725 | Name string |
| 6726 | Args []interfaces.Expr |
| 6727 | argsEnvKeys []*ExprIterated |
| 6728 | Alias string |
| 6729 | } |
| 6730 | |
| 6731 | // String returns a short representation of this statement. |
| 6732 | func (obj *StmtInclude) String() string { |
nothing calls this directly
no outgoing calls
no test coverage detected