MCPcopy
hub / github.com/hashicorp/hcl / newIdentToken

Function newIdentToken

hclwrite/tokens.go:131–136  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

129}
130
131func newIdentToken(name string) *Token {
132 return &Token{
133 Type: hclsyntax.TokenIdent,
134 Bytes: []byte(name),
135 }
136}

Callers 5

initMethod · 0.85
SetTypeMethod · 0.85
initMethod · 0.85
setNameMethod · 0.85
TokensForIdentifierFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected