Class Indenter

Index

Methods

Methods

private static belongsToBracket(sourceText: any, token: any, position: any): any

Parameters

  • sourceText: any
  • token: any
  • position: any

Returns

any

private static getCustomListIndentation(list: any, element: any): any

Parameters

  • list: any
  • element: any

Returns

any

public static getIndentation(node: SourceUnitSyntax, soruceText: IScriptSnapshot, position: number, editorOptions: EditorOptions): number

Parameters

Returns

number

private static getListItemIndentation(list: any, elementIndex: any): any

Parameters

  • list: any
  • elementIndex: any

Returns

any

private static isInContainerNode(parent: any, element: any): any

Parameters

  • parent: any
  • element: any

Returns

any