Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ASTNode

Implements

Index

Constructors

constructor

Properties

Private _anchor

_anchor: ASTNode

_children

_children: ILowLevelASTNode[]

_errors

_errors: Error[]

Private _highLevelNode

_highLevelNode: IHighLevelNode

Private _highLevelParseResult

_highLevelParseResult: IParseResult

Private _include

_include: ASTNode

Private _includesContents

_includesContents: boolean

Private _node

_node: YAMLNode

_oldText

_oldText: any

Private _parent

_parent: ASTNode

Private _unit

Private cacheChildren

cacheChildren: boolean

innerIncludeErrors

innerIncludeErrors: boolean

Methods

_actualNode

actual

  • actual(): any

addChild

addIncludeError

  • addIncludeError(error: Error): void

anchorId

  • anchorId(): string

anchorValueKind

  • anchorValueKind(): Kind

anchoredFrom

asMap

asMapping

asScalar

asSeq

canInclude

children

copy

directChildren

dump

  • dump(): string

dumpNode

  • dumpNode(n: YAMLNode, full?: boolean): any

dumpToObject

  • dumpToObject(full?: boolean): any

end

  • end(): number

errors

  • errors(): Array<Error>

execute

find

gatherIncludes

  • gatherIncludes(s?: object[], inc?: ASTNode, anc?: ASTNode, inOneMemberMap?: boolean): void

getIncludeString

  • getIncludeString(): string

hasInnerIncludeError

  • hasInnerIncludeError(): boolean

highLevelNode

highLevelParseResult

includeBaseUnit

includeErrors

  • includeErrors(): string[]

includePath

  • includePath(): string

includeReference

includedFrom

includesContents

  • includesContents(): boolean

indent

  • indent(lev: number, str?: string): string

inlined

  • inlined(kind: Kind): boolean

isAnnotatedScalar

  • isAnnotatedScalar(): boolean

isMap

  • isMap(): boolean

isMapping

  • isMapping(): boolean

isScalar

  • isScalar(): boolean

isSeq

  • isSeq(): boolean

isValueInclude

  • isValueInclude(): boolean

isValueLocal

  • isValueLocal(): boolean

isValueMap

  • isValueMap(): boolean

isValueScalar

  • isValueScalar(): boolean

isValueSeq

  • isValueSeq(): boolean

joinMappingsWithFullIncludeAnchor

key

  • key(raw?: boolean): string

keyEnd

  • keyEnd(): number

keyKind

  • keyKind(): any

keyStart

  • keyStart(): number

kind

kindName

  • kindName(): string

markup

  • markup(json?: boolean): string

markupNode

nodeDefinition

  • nodeDefinition(): highlevel.INodeDefinition

nodeShortText

  • nodeShortText(node: YAMLNode, unittext: string, maxlen?: number): string

optional

  • optional(): boolean

parent

parentOfKind

printDetails

  • printDetails(indent?: string): string

Private rawKey

  • rawKey(): string

recalcEndPositionFromChilds

  • recalcEndPositionFromChilds(): void

removeChild

replaceNewlines

  • replaceNewlines(s: string, rep?: string): string

root

setHighLevelNode

setHighLevelParseResult

  • setHighLevelParseResult(highLevelParseResult: IParseResult): void

setIncludesContents

  • setIncludesContents(includesContents: boolean): void

setUnit

shiftNodes

  • shiftNodes(offset: number, shift: number, exclude?: ASTNode): any

shortText

  • shortText(unittext: string, maxlen?: number): string

show

  • show(message?: string, lev?: number, text?: string): void

showParents

  • showParents(message: string, lev?: number): number

start

  • start(): number

text

  • text(unitText?: string): string

unit

updateFrom

value

  • value(toString?: boolean): any

valueAsInclude

valueAsMap

valueAsScalar

valueAsSeq

valueEnd

  • valueEnd(): number

valueKind

valueKindName

  • valueKindName(): string

valueStart

  • valueStart(): number

visit

yamlNode

Generated using TypeDoc