hsp/compiler/treebuilder/syntaxTree.js
function (index, blocks, out) {
        var node = new Node("log"), block = blocks[index];
        node.line = block.line;
        node.column = block.column;
        node.exprs = block.exprs;
        out.push(node);
        return index;
    }
function (index, blocks, out) {
        var node = new Node("log"), block = blocks[index];
        node.line = block.line;
        node.column = block.column;
        node.exprs = block.exprs;
        out.push(node);
        return index;
    }
function ( index , blocks , out ) { var node = new Node ( "log" ) , block = blocks [ index ] ; node . line = block . line ; node . column = block . column ; node . exprs = block . exprs ; out . push ( node ) ; return index ; }
Manages a log statement.
@param {Array} blocks the full list of blocks.
@param {Integer} index the index of the block to manage.
@param {Array} out the output as an array of Node.
@return {Integer} the index of the block where the function stopped or -1 if all blocks have been handled.
Manages a log statement .