@eryx/data/toml/cst Module
Summary
Functions
API Reference
Functions
cst.fromDecoded
cst.fromDecoded(source: string, decoded: { [any]: any }, cstData: any?) → any
cst.newEmpty
cst.newEmpty() → any
cst.isCSTObject
cst.isCSTObject(value: any) → boolean
cst.getSourceIfUnchanged
cst.getSourceIfUnchanged(value: any) → string?
cst.getOriginalSource
cst.getOriginalSource(value: any) → string?
cst.getSemanticRoot
cst.getSemanticRoot(value: any) → { [any]: any }
cst.getStyleMap
cst.getStyleMap(value: any) → { [string]: string }
cst.getCommentMap
cst.getCommentMap(value: any) → { [string]: string }
cst.getAssignmentMap
cst.getAssignmentMap(value: any) → { [string]: any }
cst.getHeaderMap
cst.getHeaderMap(value: any) → { [string]: any }
cst.getChangedPathMap
cst.getChangedPathMap(value: any) → { [string]: number }
cst.getValueAtPath
cst.getValueAtPath(value: any, path: { string }) → any
cst.toTable
cst.toTable(value: any) → { [any]: any }
cst.setStyle
cst.setStyle(value: any, path: any, style: string) → ()
cst.getStyle
cst.getStyle(value: any, path: any) → string?
cst.setComment
cst.setComment(value: any, path: any, comment: string, where: string?) → ()
cst.getComment
cst.getComment(value: any, path: any, where: string?) → string?