Пример #1
0
//============================================================================
//		processChildren : Process an entry's children.
//----------------------------------------------------------------------------
func processChildren(theReader *dwarf.Reader, depth int, canSkip bool) {

	// Process the children
	if canSkip {
		theReader.SkipChildren()
	} else {
		for {
			theChild := readNextEntry(theReader)
			if theChild == nil || theChild.Tag == 0 {
				break
			}

			processEntry(theReader, depth, theChild)
		}
	}
}