feat(ivy): index template references, variables, bound attributes/events (#31535)

Adds support for indexing template referenecs, variables, and property
and method calls inside bound attributes and bound events. This is
mostly an extension of the existing indexing infrastructure.

PR Close #31535
This commit is contained in:
Ayaz Hafiz
2019-07-24 09:14:20 -07:00
committed by Miško Hevery
parent 0cd4c019cf
commit 6b67cd5620
4 changed files with 856 additions and 187 deletions

View File

@ -70,6 +70,7 @@ runInEachFileSystem(() => {
name: 'foo',
kind: IdentifierKind.Property,
span: new AbsoluteSourceSpan(127, 130),
target: null,
}]),
usedComponents: new Set(),
isInline: true,
@ -97,6 +98,7 @@ runInEachFileSystem(() => {
name: 'foo',
kind: IdentifierKind.Property,
span: new AbsoluteSourceSpan(2, 5),
target: null,
}]),
usedComponents: new Set(),
isInline: false,
@ -128,6 +130,7 @@ runInEachFileSystem(() => {
name: 'foo',
kind: IdentifierKind.Property,
span: new AbsoluteSourceSpan(7, 10),
target: null,
}]),
usedComponents: new Set(),
isInline: false,