VariableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration.
(v *VariableDecl)
| 1009 | |
| 1010 | // VariableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration. |
| 1011 | func VariableDeclToExprDecl(v *VariableDecl) (*exprpb.Decl, error) { |
| 1012 | return variableDeclToExprDecl(v) |
| 1013 | } |
| 1014 | |
| 1015 | // variableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration. |
| 1016 | func variableDeclToExprDecl(v *VariableDecl) (*exprpb.Decl, error) { |