IsReferenceSerialType returns whether the input reference is a known serial type. It should only be used during parsing.
(ref ResolvableTypeReference)
| 236 | // IsReferenceSerialType returns whether the input reference is a known |
| 237 | // serial type. It should only be used during parsing. |
| 238 | func IsReferenceSerialType(ref ResolvableTypeReference) bool { |
| 239 | if typ, ok := GetStaticallyKnownType(ref); ok { |
| 240 | return types.IsSerialType(typ) |
| 241 | } |
| 242 | return false |
| 243 | } |
| 244 | |
| 245 | // TypeCollectorVisitor is an expression visitor that collects all explicit |
| 246 | // OID type references in an expression. |
no test coverage detected