VariableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration.
(v *VariableDecl)
| 1193 | |
| 1194 | // VariableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration. |
| 1195 | func VariableDeclToExprDecl(v *VariableDecl) (*exprpb.Decl, error) { |
| 1196 | return variableDeclToExprDecl(v) |
| 1197 | } |
| 1198 | |
| 1199 | // variableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration. |
| 1200 | func variableDeclToExprDecl(v *VariableDecl) (*exprpb.Decl, error) { |