def METHOD_NAME(src_lines):
	tag = None
	sections = []
	section = Section()
	for src_line in src_lines:
		sline = src_line.strip()
		prev_section = section
		if sline.startswith('// <') and sline.endswith('>'):
			if sline[4] == '/':
				# Exit tag
				tag = sline[5:len(sline)-1]
				if section.tag == tag:
					sections.append(section)
					section = Section()
			else:
				# Enter tag
				tag = sline[4:len(sline)-1]
				if tag in ['PLACEHOLDER', 'SNIPPET']:
					if len(section.lines) > 0:
						sections.append(section)
					section = Section()
					section.tag = tag
		if prev_section == section:
			section.lines.append(src_line)
	if len(section.lines) > 0:
		sections.append(section)
	return sections