FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration.
(f *FunctionDecl)
| 1023 | |
| 1024 | // FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1025 | func FunctionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |
| 1026 | return functionDeclToExprDecl(f) |
| 1027 | } |
| 1028 | |
| 1029 | // functionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1030 | func functionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |