FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration.
(f *FunctionDecl)
| 1109 | |
| 1110 | // FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1111 | func FunctionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |
| 1112 | return functionDeclToExprDecl(f) |
| 1113 | } |
| 1114 | |
| 1115 | // functionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1116 | func functionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |