FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration.
(f *FunctionDecl)
| 1207 | |
| 1208 | // FunctionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1209 | func FunctionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |
| 1210 | return functionDeclToExprDecl(f) |
| 1211 | } |
| 1212 | |
| 1213 | // functionDeclToExprDecl converts a go-native function declaration into a protobuf-typed function declaration. |
| 1214 | func functionDeclToExprDecl(f *FunctionDecl) (*exprpb.Decl, error) { |