Crate deno_ast

Source

Modules§

Structs§

Enums§

Constants§

  • Ecmascript version used for lexing and parsing.

Traits§

Functions§

  • Applies the text changes to the given source text.
  • Emits the program as a string of JavaScript code, possibly with the passed comments, and optionally also a source map.
  • Low level function for transpiling a program.
  • Gets the default Syntax used by deno_ast for the provided media type.
  • Given the source text and media type, tokenizes the provided text to a collection of tokens and comments.
  • Parses the provided information to a module.
  • Parses a module with post processing (see docs on parse_program_with_post_process).
  • Parses the provided information attempting to figure out if the provided text is for a script or a module.
  • Parses the provided information as a program with the option of providing some post-processing to the result.
  • Parses the provided information to a script.
  • Parses a script with post processing (see docs on parse_program_with_post_process).

Type Aliases§