FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration.
(f *FunctionDecl)
| 1119 | |
| 1120 | // FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1121 | func FunctionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |
| 1122 | return functionDeclToExprDecl(f) |
| 1123 | } |
| 1124 | |
| 1125 | // functionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1126 | func functionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |