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

Method syntaxError

opensca/sca/java/xml/xml.go:465–467  ·  view source on GitHub ↗

Creates a SyntaxError with the current line number.

(msg string)

Source from the content-addressed store, hash-verified

463
464// Creates a SyntaxError with the current line number.
465func (d *Decoder) syntaxError(msg string) error {
466 return &SyntaxError{Msg: msg, Line: d.line}
467}
468
469// Record that we are ending an element with the given name.
470// The name must match the record at the top of the stack,

Callers 7

TokenMethod · 0.95
popElementMethod · 0.95
rawTokenMethod · 0.95
attrvalMethod · 0.95
mustgetcMethod · 0.95
textMethod · 0.95
nameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected