MCPcopy Index your code
hub / github.com/BishopFox/jsluice / String

Method String

strings.go:174–180  ·  view source on GitHub ↗

String returns the unescaped representation of the input that has been lexed so far. Usually it would only be called after all the input has been processed.

()

Source from the content-addressed store, hash-verified

172// that has been lexed so far. Usually it would only be
173// called after all the input has been processed.
174func (s *stringLexer) String() string {
175 out := &strings.Builder{}
176 for _, i := range s.items {
177 out.WriteString(i.String())
178 }
179 return out.String()
180}
181
182// DecodeString accepts a raw string as it might be found in some
183// JavaScript source code, and converts any escape sequences. E.g:

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected