MCPcopy Create free account
hub / github.com/chain/txvm / assembler

Struct assembler

protocol/txvm/asm/asm.go:100–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100type assembler struct {
101 stoptok token // token to stop scanning at
102 scanner *scanner
103 off int
104 tok token
105 lit string
106
107 items []interface{}
108 buf bytes.Buffer // current item
109}
110
111func (a *assembler) next() token {
112 a.off, a.tok, a.lit = a.scanner.scan()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected