Direct serialization core functions for types, type aliases, and symbols
(b *NodeBuilderImpl)
| 3508 | // Direct serialization core functions for types, type aliases, and symbols |
| 3509 | |
| 3510 | func (t *TypeAlias) ToTypeReferenceNode(b *NodeBuilderImpl) *ast.Node { |
| 3511 | return b.f.NewTypeReferenceNode(b.symbolToEntityNameNode(t.Symbol()), b.mapToTypeNodes(t.TypeArguments(), false /*isBareList*/)) |
| 3512 | } |
| 3513 | |
| 3514 | func (b *NodeBuilderImpl) newIdentifier(text string, symbol *ast.Symbol) *ast.Node { |
| 3515 | id := b.f.NewIdentifier(text) |
no test coverage detected