MCPcopy Index your code
hub / github.com/Shopify/go-lua / stringConstant

Method stringConstant

code.go:573–573  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

571}
572
573func (f *function) stringConstant(s string) int { return f.addConstant(s, s) }
574func (f *function) booleanConstant(b bool) int { return f.addConstant(b, b) }
575func (f *function) nilConstant() int { return f.addConstant(f, nil) }
576

Callers 1

EncodeStringMethod · 0.95

Calls 1

addConstantMethod · 0.95

Tested by

no test coverage detected