Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Project

Implements

Index

Constructors

constructor

Properties

_fsEnabled

_fsEnabled: boolean

Private Optional _httpResolver

_httpResolver: HTTPResolver

Private _namespaceResolver

_namespaceResolver: NamespaceResolver

failedUnits

failedUnits: object

Type declaration

  • [path: string]: any

Private listeners

listeners: IASTListener[]

pathToUnit

pathToUnit: object

Type declaration

Private Optional resolver

resolver: FSResolver

Private rootPath

rootPath: string

path to folder where your root api is located

Private tlisteners

Methods

Private add2

addListener

addTextChangeListener

Private canWriteInOneLine

  • canWriteInOneLine(node: ASTNode): boolean

Private changeKey

Private changeValue

cloneWithResolver

deleteUnit

  • deleteUnit(p: string, absolute?: boolean): void

execute

Private executeReplace

executeTextChange

executeTextChange2

findNode

fsEnabled

  • fsEnabled(): boolean

getRootPath

  • getRootPath(): string

indent

Private initWithRoot

Private isJson

Private isJsonMap

  • isJsonMap(node: ASTNode): boolean

Private isJsonSeq

  • isJsonSeq(node: ASTNode): boolean

Private isOneLine

  • isOneLine(node: ASTNode): boolean

lexerErrors

  • lexerErrors(): Error[]

namespaceResolver

  • namespaceResolver(): namespaceResolver.NamespaceResolver

Private recalcPositionsUp

  • recalcPositionsUp(target: ASTNode): void

Private remove

removeListener

removeTextChangeListener

replaceYamlNode

  • replaceYamlNode(target: ASTNode, newNodeContent: string, offset: number, shift: number, unit: ICompilationUnit): void

resolve

resolveAsync

setCachedUnitContent

  • setCachedUnitContent(pth: string, cnt: string, tl?: boolean): CompilationUnit

startIndent

  • startIndent(node: ASTNode): string

unit

unitAsync

units

unitsAsync

updatePositions

  • updatePositions(offset: number, n: YAMLNode): void

visualizeNewlines

  • visualizeNewlines(s: string): string

Generated using TypeDoc