Options
All
  • Public
  • Public/Protected
  • All
Menu

A cache for abstract syntax trees

Hierarchy

  • AbstractSyntaxTreeCache

Index

Methods

Methods

entry

  • Get the abstract syntax tree associated with key, retrieving the value from the factory if needed.

    Parameters

    • key: string

      The entry key

    • factory: function

      The factory function to retrieve the abstract syntax tree if cache does not have a value

    Returns Promise<AbstractSyntaxTree>

    The abstract syntax tree for the key

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc