MCPcopy Index your code
hub / github.com/postcss/postcss / endFile

Method endFile

lib/parser.js:341–348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 }
340
341 endFile() {
342 if (this.current.parent) this.unclosedBlock()
343 if (this.current.nodes && this.current.nodes.length) {
344 this.current.raws.semicolon = this.semicolon
345 }
346 this.current.raws.after = (this.current.raws.after || '') + this.spaces
347 this.root.source.end = this.getPosition(this.tokenizer.position())
348 }
349
350 freeSemicolon(token) {
351 this.spaces += token[1]

Callers 1

parseMethod · 0.95

Calls 2

unclosedBlockMethod · 0.95
getPositionMethod · 0.95

Tested by

no test coverage detected