Identifier roles classified by getIdentifierContext, independently of whether lookup succeeds.
| Enumeration Member | Value | Description |
|---|
Declaration | 5 | Declaration name not classified by one of the property-specific roles. |
Decorator | 2 | Decorator name in an attached annotation or out-of-line augment statement. |
Function | 3 | Invocation target in a call expression, not a function declaration’s name. |
ModelExpressionProperty | 6 | Property name in a structural model expression, including operation parameters. |
ModelStatementProperty | 7 | Property name in a model statement or keyword-form model declaration expression. |
ObjectLiteralProperty | 8 | Property name in a #{ ... } object value literal. |
Other | 9 | Name in syntax without a more specific resolution or declaration role. |
TemplateArgument | 1 | Named template argument’s parameter name, not the expression supplied as its argument. |
TypeReference | 0 | Name within a type reference, including segments of a qualified target. |
Using | 4 | Namespace name targeted by a using statement. |