MCPcopy
hub / github.com/BishopFox/jsluice / newStringLexer

Function newStringLexer

strings.go:71–79  ·  view source on GitHub ↗
(in string)

Source from the content-addressed store, hash-verified

69}
70
71func newStringLexer(in string) *stringLexer {
72 return &stringLexer{
73 str: in,
74 start: 0,
75 pos: 0,
76 items: make([]item, 0),
77 done: false,
78 }
79}
80
81// Next returns the next rune in the input string, moving the
82// position pointer on by the size of the rune that was decoded.

Callers 1

DecodeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected