Package xpp
In the call graph viewer below, each node
is a function belonging to this package
and its children are the functions it
calls—perhaps dynamically.
The root nodes are the entry points of the
package: functions that may be called from
outside the package.
There may be non-exported or anonymous
functions among them if they are called
dynamically from another package.
Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring func
token.
Functions may be omitted if they were
determined to be unreachable in the
particular programs or tests that were
analyzed.
type CharsetReader func(charset string, input io.Reader) (io.Reader, error)
type XMLEventType int
const (
StartDocument XMLEventType = iota
EndDocument
StartTag
EndTag
Text
ProcessingInstruction
Directive
IgnorableWhitespace
)
type XMLPullParser struct {
Spaces map[string]string
Depth int
Event XMLEventType
Attrs []xml.Attr
Name string
Space string
Text string
}
func NewXMLPullParser(r io.Reader, strict bool, cr CharsetReader) *XMLPullParser
func (*XMLPullParser) Attribute
func (p *XMLPullParser) Attribute(name string) string
func (p *XMLPullParser) DecodeElement(v interface{}) error
func (*XMLPullParser) EventName
func (p *XMLPullParser) EventName(e XMLEventType) (name string)
func (*XMLPullParser) EventType
func (p *XMLPullParser) EventType(t xml.Token) (event XMLEventType)
func (*XMLPullParser) Expect
func (p *XMLPullParser) Expect(event XMLEventType, name string) (err error)
func (*XMLPullParser) ExpectAll
func (p *XMLPullParser) ExpectAll(event XMLEventType, space string, name string) (err error)
func (p *XMLPullParser) IsWhitespace() bool
func (*XMLPullParser) Next
func (p *XMLPullParser) Next() (event XMLEventType, err error)
func (*XMLPullParser) NextTag
func (p *XMLPullParser) NextTag() (event XMLEventType, err error)
func (*XMLPullParser) NextText
func (p *XMLPullParser) NextText() (string, error)
func (*XMLPullParser) NextToken
func (p *XMLPullParser) NextToken() (event XMLEventType, err error)
func (*XMLPullParser) Skip
func (p *XMLPullParser) Skip() error