GoFullTypeRef returns the Go code that refers to the Go type which matches the given attribute type defined in the given package if a user type.
(att *expr.AttributeExpr, pkg string)
| 270 | // GoFullTypeRef returns the Go code that refers to the Go type which matches |
| 271 | // the given attribute type defined in the given package if a user type. |
| 272 | func (s *NameScope) GoFullTypeRef(att *expr.AttributeExpr, pkg string) string { |
| 273 | name := s.GoFullTypeName(att, pkg) |
| 274 | return goTypeRef(name, att.Type) |
| 275 | } |
| 276 | |
| 277 | // GoTypeName returns the Go type name of the given attribute type. |
| 278 | func (s *NameScope) GoTypeName(att *expr.AttributeExpr) string { |
no test coverage detected