function locateOutputPlaceholder(text) {
		var range = require('range');
		var result = [];
		
		/** @type StringStream */
		var stream = require('stringStream').create(text);
		
		while (!stream.eol()) {
			if (stream.peek() == '\\') {
				stream.next();
			} else {
				stream.start = stream.pos;
				if (stream.match(outputPlaceholder, true)) {
					result.push(range.create(stream.start, outputPlaceholder));
					continue;
				}
			}
			stream.next();
		}
		
		return result;
	}
function locateOutputPlaceholder(text) {
		var range = require('range');
		var result = [];
		
		
		var stream = require('stringStream').create(text);
		
		while (!stream.eol()) {
			if (stream.peek() == '\\') {
				stream.next();
			} else {
				stream.start = stream.pos;
				if (stream.match(outputPlaceholder, true)) {
					result.push(range.create(stream.start, outputPlaceholder));
					continue;
				}
			}
			stream.next();
		}
		
		return result;
	}
function locateOutputPlaceholder ( text ) { var range = require ( 'range' ) ; var result = [ ] ; /** @type StringStream */ var stream = require ( 'stringStream' ) . create ( text ) ; while ( ! stream . eol ( ) ) { if ( stream . peek ( ) == '\\' ) { stream . next ( ) ; } else { stream . start = stream . pos ; if ( stream . match ( outputPlaceholder , true ) ) { result . push ( range . create ( stream . start , outputPlaceholder ) ) ; continue ; } } stream . next ( ) ; } return result ; }
Locates output placeholders inside text
@param {String} text
@returns {Array} Array of ranges of output placeholder in text
Locates output placeholders inside text