MCPcopy Index your code
hub / github.com/nodejs/node / flushParagraph

Method flushParagraph

tools/license2rtf.mjs:76–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 }
75
76 flushParagraph() {
77 if (this.paragraph.lines.length || this.paragraph.li) {
78 this.emit('data', this.paragraph);
79 }
80 this.resetParagraph();
81 }
82
83 parseLine(line) {
84 // Strip trailing whitespace

Callers 2

endMethod · 0.95
parseLineMethod · 0.95

Calls 2

resetParagraphMethod · 0.95
emitMethod · 0.45

Tested by

no test coverage detected