Options
All
  • Public
  • Public/Protected
  • All
Menu

Common interface for canonicalizing source code

Hierarchy

  • LangHelper

Implemented by

Index

Methods

canonicalize

  • canonicalize(source: string): string

stripComments

  • stripComments(source: string): string

stripWhitespace

  • stripWhitespace(source: string): string
  • Strip whitespace down to a single space, except in strings Remove whitespaces that aren't syntactically necessary altogether.

    Parameters

    • source: string

    Returns string

Generated using TypeDoc