(reference: string)
| 44 | private static KNOWN_PROPERTIES = new Set(['iteration', 'index', 'item', 'currentItem', 'items']) |
| 45 | |
| 46 | canResolve(reference: string): boolean { |
| 47 | if (!isReference(reference)) { |
| 48 | return false |
| 49 | } |
| 50 | const parts = parseReferencePath(reference) |
| 51 | if (parts.length === 0) { |
| 52 | return false |
| 53 | } |
| 54 | const [type] = parts |
| 55 | return type === REFERENCE.PREFIX.LOOP || this.loopNameToId.has(type) |
| 56 | } |
| 57 | |
| 58 | resolve(reference: string, context: ResolutionContext): any { |
| 59 | return this.resolveInternal(reference, context, false) |
nothing calls this directly
no test coverage detected