CodeFormatterImpl Module
Functions and values
Function or value |
Description
|
Full Usage:
CodeFormatterImpl.formatAST ast sourceText config cursor
Parameters:
ParsedInput
sourceText : ISourceText option
config : FormatConfig
cursor : pos option
Returns: FormatResult
|
|
Full Usage:
CodeFormatterImpl.formatDocument config isSignature source cursor
Parameters:
FormatConfig
isSignature : bool
source : ISourceText
cursor : pos option
Returns: Async<FormatResult>
|
|
|
|
Full Usage:
CodeFormatterImpl.parse isSignature source
Parameters:
bool
source : ISourceText
Returns: Async<(ParsedInput * DefineCombination) array>
|
|