import { ComponentUIDL, UIDLNode, UIDLElement, UIDLStaticValue } from '@teleporthq/teleport-types' import { analyzeExpressionScope } from './expression-identifiers' import { extractFallbackLiteral } from './expression-fallback' import { RENDER_SCOPE_IDENTIFIERS, isGeneratorInternalIdentifier } from './ambient-identifiers' /** * Neutralises UIDL `expr` nodes that reference an identifier which is not in * scope. * * The content pipeline occasionally emits an expression whose reference was * never bound to anything: * * - a "row template" arrives without its enclosing repeater — a `