lib/parse.js
function readCloseTag() {
		let start = getSourcePoint(),
			match = tagCloseRegex.exec(source.substr(pos))
		if (!match) {
			throwSyntaxError('Invalid close tag')
		}
		advanceTo(pos + match[0].length)
		let end = getSourcePoint()
		return {
			type: 'tag-close',
			start,
			end,
			name: match[1].toLowerCase()
		}
	}
function readCloseTag() {
		let start = getSourcePoint(),
			match = tagCloseRegex.exec(source.substr(pos))
		if (!match) {
			throwSyntaxError('Invalid close tag')
		}
		advanceTo(pos + match[0].length)
		let end = getSourcePoint()
		return {
			type: 'tag-close',
			start,
			end,
			name: match[1].toLowerCase()
		}
	}
function readCloseTag ( ) { let start = getSourcePoint ( ) , match = tagCloseRegex . exec ( source . substr ( pos ) ) if ( ! match ) { throwSyntaxError ( 'Invalid close tag' ) } advanceTo ( pos + match [ 0 ] . length ) let end = getSourcePoint ( ) return { type : 'tag-close' , start , end , name : match [ 1 ] . toLowerCase ( ) } }
Read a close tag token
@returns {Token}
Read a close tag token