MCPcopy Index your code
hub / github.com/XmirrorSecurity/OpenSCA-cli / TokenReader

Interface TokenReader

opensca/sca/java/xml/xml.go:142–144  ·  view source on GitHub ↗

A TokenReader is anything that can decode a stream of XML tokens, including a Decoder. When Token encounters an error or end-of-file condition after successfully reading a token, it returns the token. It may return the (non-nil) error from the same call or return the error (and a nil token) from a

Source from the content-addressed store, hash-verified

140// nil error. Callers should treat a return of nil, nil as indicating that
141// nothing happened; in particular it does not indicate EOF.
142type TokenReader interface {
143 Token() (Token, error)
144}
145
146// A Decoder represents an XML parser reading a particular input stream.
147// The parser assumes that its input is encoded in UTF-8.

Callers 1

rawTokenMethod · 0.65

Implementers 1

Decoderopensca/sca/java/xml/xml.go

Calls

no outgoing calls

Tested by

no test coverage detected