IsGeneratorClass returns true if the resolved overload metadata is of the GeneratorClass.
()
| 1313 | // IsGeneratorClass returns true if the resolved overload metadata is of |
| 1314 | // the GeneratorClass. |
| 1315 | func (node *FuncExpr) IsGeneratorClass() bool { |
| 1316 | return node.ResolvedOverload() != nil && node.ResolvedOverload().Class == GeneratorClass |
| 1317 | } |
| 1318 | |
| 1319 | // IsWindowFunctionApplication returns true iff the function is being applied as a window function. |
| 1320 | func (node *FuncExpr) IsWindowFunctionApplication() bool { |
nothing calls this directly
no test coverage detected