export function compileScope (buff: Array<AstObject>, env: SqrlConfig) {
var buffLength = buff.length
for (i; i < buffLength; i++) {
var currentBlock = buff[i]
if (typeof currentBlock === 'string') {
returnStr += "tR+='" + str + "';"
var type: ParsedTagType = currentBlock.t as ParsedTagType // h, s, e, i
var content = currentBlock.c || ''
var filters = currentBlock.f
var name = currentBlock.n || ''
var params = currentBlock.p || ''
var res = currentBlock.res || ''
var blocks = currentBlock.b
var isAsync = !!currentBlock.a
content = "c.l('F','" + env.defaultFilter + "')(" + content + ')'
var filtered = filter(content, filters)
if (!currentBlock.raw && env.autoEscape) {
filtered = "c.l('F','e')(" + filtered + ')'
returnStr += 'tR+=' + filtered + ';'
} else if (type === 'h') {
} else if (type === 's') {
} else if (type === 'e') {