Type for generators.
IndexDelta type, is calculated by the declaration index to give an overview, what has changed in the index. Returns a list of deleted declarations, newly added declarations (with the corresponding infos) and which declarations have been updated (with all declarations under that name).
Helper type to index all possible resources of the current workspace.
Predicate function to determine if the node is possible as a "usage". Checks for the node identifier to be the last of the identifier list.
Predicate function to determine if the node is possible as a "usage". Checks if the identifier is on the lefthand side of a property access.
Checks if a node contains a certain modifier (of a given kind)
Generates typescript code for a class property accessor.
Generates typescript code for an external module import.
Generates typescript code for a method declaration.
Generates typescript code for a named import.
Generates typescript code for a namespace import
Generates typescript code for parameters.
Generates typescript code for a class property.
Generates typescript code for a string import.
Generates typescript code for a symbol specifier.
Generates typescript code for a variable.
Function that calculates the default name of a resource. This is used when a default export has no name (i.e. export class {}).
Returns the name of the node folder. Is used as the library name for indexing. (e.g. ./node_modules/webpack returns webpack)
Returns the type text (type information) for a given node.
Returns the enum value (visibility) of a node.
Returns the visibility string for a given enum value.
Determines if the given object is an AliasedImport.
Determines if the given node is an ArrayBindingPattern (i.e. let [x, y] = foo).
Determines if the given object is a CallableDeclaration.
Determines if the given node is a ConstructorDeclaration.
Determines if the given node is an ExportDeclaration.
Determines if the given object is an ExportableDeclaration.
Determines if the given node is an ExternalModuleReference.
Determines if the given node is a FunctionDeclaration.
Determines if the given node is a isGetAccessorDeclaration.
Determines if the given node is an Identifier.
Determines if the given node is an ImportDeclaration.
Determines if the given node is an ImportEqualsDeclaration.
Determines if the given node is a MethodDeclaration.
Determines if the given node is a MethodSignature.
Determines if the given node are NamedExports.
Determines if the given node are NamedImports.
Determines if the given node is a NamespaceImport.
Checks if the given typescript node has the default flag. (e.g. export default class Foobar).
Checks if the given typescript node has the exported flag. (e.g. export class Foobar).
Determines if the given node is an ObjectBindingPattern (i.e. let {x, y} = foo).
Determines if the given node is a PropertyDeclaration.
Determines if the given node is a PropertySignature.
Determines if the given node is a SetAccessorDeclaration.
Determines if the given node is a StringLiteral.
Returns an adjusted and normalized filepath to use within the index.
Essentially does remove .tsx
.ts
.js
.jsx
endings and other adjustments.
Returns a normalized version of the a path uri. Removes a "file://" or "file:///" prefix and removes semicolons.
Parses a class node into its declaration. Calculates the properties, constructors and methods of the class.
Parses the identifiers of a class (usages).
Parse information about a constructor. Contains parameters and used modifiers (i.e. constructor(private name: string)).
Parses an enum node into the declaration.
Parses an export node into the declaration.
Parses a function into its declaration. Parses the functions sub information like parameters and variables.
Parse the parts of a function. All functions / methods contain various information about used variables and parameters.
Parses an identifier into a usage of a resource if the predicates are true.
Parses an import node into the declaration.
Parses an interface node into its declaration. Calculates the property and method defintions of the interface as well.
Parse method parameters.
Parses a type alias into the declaration.
Parse a variable. Information such as "is the variable const" are calculated here.
Sort function for symbol specifiers. Does sort after the specifiers name (to lowercase).
Creates a template from an expression string. The template can then be used to infuse stuff into the template.
On Windows, replaces all backslash delimeters with forward slashes. On other OSes, returns the path unmodified.
Hash with all possible (yet implemented) generators.
Generated using TypeDoc
All generatable items combined. If the element is not generatable, the specific generator should throw an exception.