MCPcopy Create free account
hub / github.com/breck7/scroll / _getCompiledLine

Method _getCompiledLine

external/.scrollLibs.js:18506–18511  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18504 return fields
18505 }
18506 _getCompiledLine() {
18507 const compiler = this.definition._getCompilerObject()
18508 const catchAllAtomDelimiter = compiler[ParsersConstantsCompiler.catchAllAtomDelimiter]
18509 const str = compiler[ParsersConstantsCompiler.stringTemplate]
18510 return str !== undefined ? Utils.formatStr(str, catchAllAtomDelimiter, Object.assign(this._getFields(), this.atomsMap)) : this.getLine()
18511 }
18512 get listDelimiter() {
18513 return this.definition._getFromExtended(ParsersConstants.listDelimiter)
18514 }

Callers 1

compileMethod · 0.95

Calls 4

_getFieldsMethod · 0.95
_getCompilerObjectMethod · 0.80
formatStrMethod · 0.80
getLineMethod · 0.45

Tested by

no test coverage detected