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

Method EncodeString

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

Source from the content-addressed store, hash-verified

349}
350
351func (f *function) EncodeString(s string) exprDesc {
352 return makeExpression(kindConstant, f.stringConstant(s))
353}
354
355func (f *function) loadNil(from, n int) {
356 if len(f.f.code) > f.lastTarget { // no jumps to current position

Callers 4

SingleVariableMethod · 0.95
checkNameAsExpressionMethod · 0.80
functionArgumentsMethod · 0.80
simpleExpressionMethod · 0.80

Calls 2

stringConstantMethod · 0.95
makeExpressionFunction · 0.85

Tested by

no test coverage detected