Lines Matching defs:src
91 $src = $data[0];
96 $renderer->doc .= $renderer->file($src);
101 $src = $this->_fixLibraryBugs($src);
102 $this->_renderAbcBlock($renderer, $src, true);
112 $keyLine = $this->_getAbcLine($src, 'K');
113 $titleLine = $this->_getAbcLine($src, 'T');
119 $transSrc = $src;
279 * @param string $src ABC code source
283 function _fixLibraryBugs($src) {
287 $xLine = $this->_getAbcLine($src, 'X');
289 $src = $this->_replace_first($src, $xLine, $xLineNoSpaces);
293 $lLine = $this->_getAbcLine($src, 'L');
295 $mLine = $this->_getAbcLine($src, 'M');
300 $src = $this->_replace_first($src, $mLine, $mLineAndLline);
303 return $src;
310 * @param string $src ABC code source
315 function _renderAbcBlock($renderer, $src, $orig) {
332 $renderer->doc .= hsc($src);
343 * @param string $src ABC code source
348 function _getAbcLine($src, $field) {
349 if (preg_match("/^\s?".$field."\s?:(.*?)$/m", $src, $result)) {