MCPcopy Create free account
hub / github.com/coder/guts / Ref

Method Ref

bindings/ast.go:43–45  ·  view source on GitHub ↗

Ref returns the identifier reference to be used in the generated code. This is the identifier to be used in typescript, since all generated code lands in the same namespace.

()

Source from the content-addressed store, hash-verified

41// This is the identifier to be used in typescript, since all generated code
42// lands in the same namespace.
43func (i Identifier) Ref() string {
44 return i.Prefix + i.Name
45}
46
47type HeritageType string
48

Callers 11

parseMethod · 0.80
includeComparableMethod · 0.80
SimplifyFunction · 0.80
ReferenceMethod · 0.80
InterfaceMethod · 0.80
AliasMethod · 0.80
TypeParameterMethod · 0.80
VariableDeclarationMethod · 0.80
EnumDeclarationMethod · 0.80
IdentifierExpressionMethod · 0.80
TypeQueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected