WrapFunction creates a new ResolvableFunctionReference holding a pre-resolved function. Helper for grammar rules.
(n string)
| 63 | // WrapFunction creates a new ResolvableFunctionReference |
| 64 | // holding a pre-resolved function. Helper for grammar rules. |
| 65 | func WrapFunction(n string) ResolvableFunctionReference { |
| 66 | un := &UnresolvedName{NumParts: 1, Parts: NameParts{n}} |
| 67 | return ResolvableFunctionReference{FunctionReference: un} |
| 68 | } |
| 69 | |
| 70 | // WrapFunctionSchema creates a new ResolvableFunctionReference |
| 71 | // holding a pre-resolved function. Helper for grammar rules. |
no outgoing calls