hsp/compiler/treebuilder/syntaxTree.js
function (index, blocks, out) {
        var node = new Node("plaintext"), block = blocks[index];
        node.value = block.value;
        out.push(node);
        return index;
    }
function (index, blocks, out) {
        var node = new Node("plaintext"), block = blocks[index];
        node.value = block.value;
        out.push(node);
        return index;
    }
function ( index , blocks , out ) { var node = new Node ( "plaintext" ) , block = blocks [ index ] ; node . value = block . value ; out . push ( node ) ; return index ; }
Manages a text block.
@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 text block .