src/Jit/Parser.php
protected function _assignLine($index, $node, $line)
    {
        if ($node->lines['start'] === null) {
            $node->lines['start'] = $index;
        }
        $node->lines['stop'] = $index;
        if (trim($line)) {
            $this->_root->lines['content'][$index]['nodes'][] = $node;
        }
    }
protected function _assignLine($index, $node, $line)
    {
        if ($node->lines['start'] === null) {
            $node->lines['start'] = $index;
        }
        $node->lines['stop'] = $index;
        if (trim($line)) {
            $this->_root->lines['content'][$index]['nodes'][] = $node;
        }
    }
protected function _assignLine ( $ index , $ node , $ line ) { if ( $ node -> lines [ 'start' ] === null ) { $ node -> lines [ 'start' ] = $ index ; } $ node -> lines [ 'stop' ] = $ index ; if ( trim ( $ line ) ) { $ this -> _root -> lines [ 'content' ] [ $ index ] [ 'nodes' ] [ ] = $ node ; } }
Assign a node to a specific line.

@param object  $node The node to match.
@param string  $body The  to match.
Assign a node to a specific line .