Skip to content

Commit 034ff20

Browse files
maskri17copybara-github
authored andcommitted
Add functions to parse type and function signatures into cel types.
PiperOrigin-RevId: 912107431
1 parent cf31ddf commit 034ff20

4 files changed

Lines changed: 660 additions & 1 deletion

File tree

common/internal/BUILD

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,15 @@ cc_library(
143143
srcs = ["signature.cc"],
144144
hdrs = ["signature.h"],
145145
deps = [
146+
"//common:ast",
146147
"//common:type",
147148
"//common:type_kind",
148149
"//internal:status_macros",
149150
"@com_google_absl//absl/status",
150151
"@com_google_absl//absl/status:statusor",
151152
"@com_google_absl//absl/strings",
152153
"@com_google_absl//absl/strings:str_format",
153-
"@com_google_absl//absl/strings:string_view",
154+
"@com_google_protobuf//:protobuf",
154155
],
155156
)
156157

@@ -159,11 +160,14 @@ cc_test(
159160
srcs = ["signature_test.cc"],
160161
deps = [
161162
":signature",
163+
"//common:ast",
162164
"//common:type",
165+
"//common:type_kind",
163166
"//internal:testing",
164167
"//internal:testing_descriptor_pool",
165168
"@com_google_absl//absl/base:no_destructor",
166169
"@com_google_absl//absl/status",
170+
"@com_google_absl//absl/status:status_matchers",
167171
"@com_google_absl//absl/status:statusor",
168172
"@com_google_protobuf//:protobuf",
169173
],

0 commit comments

Comments
 (0)