VariableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration.
(v *VariableDecl)
| 1105 | |
| 1106 | // VariableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration. |
| 1107 | func VariableDeclToExprDecl(v *VariableDecl) (*exprpb.Decl, error) { |
| 1108 | return variableDeclToExprDecl(v) |
| 1109 | } |
| 1110 | |
| 1111 | // variableDeclToExprDecl converts a go-native variable declaration into a protobuf-type variable declaration. |
| 1112 | func variableDeclToExprDecl(v *VariableDecl) (*exprpb.Decl, error) { |