Class Variables::LexicalName

A name that is declared in a particular scope.

This can be a variable or a local name for a TypeScript type or namespace.

Examples:

// `id`, `x` and `String` are lexical names
function id(x: String) : any {
  return x;
}

Direct supertypes

Known direct subtypes

Predicates

getDeclarationSpace

Gets the declaration space this name belongs to.

getName

Gets the name of this variable, type or namespace.

getScope

Gets the scope in which this name was declared.

toString

Gets a string representation of this element.