SYMBOL INDEX (238 symbols across 15 files) FILE: src/attr_step.ts class AttrStep (line 6) | class AttrStep extends Step { method constructor (line 8) | constructor( method apply (line 19) | apply(doc: Node) { method getMap (line 29) | getMap() { method invert (line 33) | invert(doc: Node) { method map (line 37) | map(mapping: Mappable) { method toJSON (line 42) | toJSON(): any { method fromJSON (line 46) | static fromJSON(schema: Schema, json: any) { class DocAttrStep (line 56) | class DocAttrStep extends Step { method constructor (line 58) | constructor( method apply (line 67) | apply(doc: Node) { method getMap (line 75) | getMap() { method invert (line 79) | invert(doc: Node) { method map (line 83) | map(mapping: Mappable) { method toJSON (line 87) | toJSON(): any { method fromJSON (line 91) | static fromJSON(schema: Schema, json: any) { FILE: src/map.ts type Mappable (line 3) | interface Mappable { function makeRecover (line 32) | function makeRecover(index: number, offset: number) { return index + off... function recoverIndex (line 33) | function recoverIndex(value: number) { return value & lower16 } function recoverOffset (line 34) | function recoverOffset(value: number) { return (value - (value & lower16... constant DEL_BEFORE (line 36) | const DEL_BEFORE = 1, DEL_AFTER = 2, DEL_ACROSS = 4, DEL_SIDE = 8 constant DEL_AFTER (line 36) | const DEL_BEFORE = 1, DEL_AFTER = 2, DEL_ACROSS = 4, DEL_SIDE = 8 constant DEL_ACROSS (line 36) | const DEL_BEFORE = 1, DEL_AFTER = 2, DEL_ACROSS = 4, DEL_SIDE = 8 constant DEL_SIDE (line 36) | const DEL_BEFORE = 1, DEL_AFTER = 2, DEL_ACROSS = 4, DEL_SIDE = 8 class MapResult (line 40) | class MapResult { method constructor (line 42) | constructor( method deleted (line 54) | get deleted() { return (this.delInfo & DEL_SIDE) > 0 } method deletedBefore (line 57) | get deletedBefore() { return (this.delInfo & (DEL_BEFORE | DEL_ACROSS)... method deletedAfter (line 60) | get deletedAfter() { return (this.delInfo & (DEL_AFTER | DEL_ACROSS)) ... method deletedAcross (line 65) | get deletedAcross() { return (this.delInfo & DEL_ACROSS) > 0 } class StepMap (line 72) | class StepMap implements Mappable { method constructor (line 76) | constructor( method recover (line 86) | recover(value: number) { method mapResult (line 93) | mapResult(pos: number, assoc = 1): MapResult { return this._map(pos, a... method map (line 95) | map(pos: number, assoc = 1): number { return this._map(pos, assoc, tru... method _map (line 98) | _map(pos: number, assoc: number, simple: boolean) { method touches (line 119) | touches(pos: number, recover: number) { method forEach (line 134) | forEach(f: (oldStart: number, oldEnd: number, newStart: number, newEnd... method invert (line 146) | invert() { method toString (line 151) | toString() { method offset (line 158) | static offset(n: number) { class Mapping (line 172) | class Mapping implements Mappable { method constructor (line 174) | constructor( method maps (line 189) | get maps(): readonly StepMap[] { return this._maps } method slice (line 196) | slice(from = 0, to = this.maps.length) { method appendMap (line 203) | appendMap(map: StepMap, mirrors?: number) { method appendMapping (line 215) | appendMapping(mapping: Mapping) { method getMirror (line 225) | getMirror(n: number): number | undefined { method setMirror (line 231) | setMirror(n: number, m: number) { method appendMappingInverted (line 237) | appendMappingInverted(mapping: Mapping) { method invert (line 245) | invert() { method map (line 252) | map(pos: number, assoc = 1) { method mapResult (line 261) | mapResult(pos: number, assoc = 1) { return this._map(pos, assoc, false... method _map (line 264) | _map(pos: number, assoc: number, simple: boolean) { FILE: src/mark.ts function addMark (line 8) | function addMark(tr: Transform, from: number, to: number, mark: Mark) { function removeMark (line 38) | function removeMark(tr: Transform, from: number, to: number, mark?: Mark... function clearIncompatible (line 75) | function clearIncompatible(tr: Transform, pos: number, parentType: NodeT... FILE: src/mark_step.ts function mapFragment (line 5) | function mapFragment(fragment: Fragment, f: (child: Node, parent: Node, ... class AddMarkStep (line 17) | class AddMarkStep extends Step { method constructor (line 19) | constructor( method apply (line 30) | apply(doc: Node) { method invert (line 40) | invert(): Step { method map (line 44) | map(mapping: Mappable): Step | null { method merge (line 50) | merge(other: Step): Step | null { method toJSON (line 59) | toJSON(): any { method fromJSON (line 65) | static fromJSON(schema: Schema, json: any) { class RemoveMarkStep (line 75) | class RemoveMarkStep extends Step { method constructor (line 77) | constructor( method apply (line 88) | apply(doc: Node) { method invert (line 96) | invert(): Step { method map (line 100) | map(mapping: Mappable): Step | null { method merge (line 106) | merge(other: Step): Step | null { method toJSON (line 115) | toJSON(): any { method fromJSON (line 121) | static fromJSON(schema: Schema, json: any) { class AddNodeMarkStep (line 131) | class AddNodeMarkStep extends Step { method constructor (line 133) | constructor( method apply (line 142) | apply(doc: Node) { method invert (line 149) | invert(doc: Node): Step { method map (line 163) | map(mapping: Mappable): Step | null { method toJSON (line 168) | toJSON(): any { method fromJSON (line 173) | static fromJSON(schema: Schema, json: any) { class RemoveNodeMarkStep (line 183) | class RemoveNodeMarkStep extends Step { method constructor (line 185) | constructor( method apply (line 194) | apply(doc: Node) { method invert (line 201) | invert(doc: Node): Step { method map (line 207) | map(mapping: Mappable): Step | null { method toJSON (line 212) | toJSON(): any { method fromJSON (line 217) | static fromJSON(schema: Schema, json: any) { FILE: src/replace.ts function replaceStep (line 12) | function replaceStep(doc: Node, from: number, to = from, slice = Slice.e... function fitsTrivially (line 21) | function fitsTrivially($from: ResolvedPos, $to: ResolvedPos, slice: Slic... type Fittable (line 26) | interface Fittable { class Fitter (line 54) | class Fitter { method constructor (line 58) | constructor( method depth (line 75) | get depth() { return this.frontier.length - 1 } method fit (line 77) | fit() { method findFittable (line 112) | findFittable(): Fittable | undefined { method openMore (line 156) | openMore() { method dropNode (line 165) | dropNode() { method placeNodes (line 180) | placeNodes({sliceDepth, frontierDepth, parent, inject, wrap}: Fittable) { method mustMoveInline (line 235) | mustMoveInline() { method findCloseLevel (line 246) | findCloseLevel($to: ResolvedPos) { method close (line 261) | close($to: ResolvedPos) { method openFrontierNode (line 275) | openFrontierNode(type: NodeType, attrs: Attrs | null = null, content?:... method closeFrontierNode (line 282) | closeFrontierNode() { function dropFromFragment (line 289) | function dropFromFragment(fragment: Fragment, depth: number, count: numb... function addToFragment (line 294) | function addToFragment(fragment: Fragment, depth: number, content: Fragm... function contentAt (line 300) | function contentAt(fragment: Fragment, depth: number) { function closeNodeStart (line 305) | function closeNodeStart(node: Node, openStart: number, openEnd: number) { function contentAfterFits (line 317) | function contentAfterFits($to: ResolvedPos, depth: number, type: NodeTyp... function invalidMarks (line 324) | function invalidMarks(type: NodeType, fragment: Fragment, start: number) { function definesContent (line 330) | function definesContent(type: NodeType) { function replaceRange (line 334) | function replaceRange(tr: Transform, from: number, to: number, slice: Sl... function closeFragment (line 405) | function closeFragment(fragment: Fragment, depth: number, oldOpen: numbe... function replaceRangeWith (line 418) | function replaceRangeWith(tr: Transform, from: number, to: number, node:... function deleteRange (line 426) | function deleteRange(tr: Transform, from: number, to: number) { function coveredDepths (line 462) | function coveredDepths($from: ResolvedPos, $to: ResolvedPos) { FILE: src/replace_step.ts class ReplaceStep (line 7) | class ReplaceStep extends Step { method constructor (line 15) | constructor( method apply (line 28) | apply(doc: Node) { method getMap (line 34) | getMap() { method invert (line 38) | invert(doc: Node) { method map (line 42) | map(mapping: Mappable) { method merge (line 49) | merge(other: Step) { method toJSON (line 65) | toJSON(): any { method fromJSON (line 73) | static fromJSON(schema: Schema, json: any) { class ReplaceAroundStep (line 93) | class ReplaceAroundStep extends Step { method constructor (line 98) | constructor( method apply (line 118) | apply(doc: Node) { method getMap (line 131) | getMap() { method invert (line 136) | invert(doc: Node) { method map (line 144) | map(mapping: Mappable) { method toJSON (line 152) | toJSON(): any { method fromJSON (line 161) | static fromJSON(schema: Schema, json: any) { function contentBetween (line 172) | function contentBetween(doc: Node, from: number, to: number) { FILE: src/step.ts method getMap (line 26) | getMap(): StepMap { return StepMap.empty } method merge (line 40) | merge(other: Step): Step | null { return null } method fromJSON (line 50) | static fromJSON(schema: Schema, json: any): Step { method jsonID (line 61) | static jsonID(id: string, stepClass: {fromJSON(schema: Schema, json: any... class StepResult (line 71) | class StepResult { method constructor (line 73) | constructor( method ok (line 81) | static ok(doc: Node) { return new StepResult(doc, null) } method fail (line 84) | static fail(message: string) { return new StepResult(null, message) } method fromReplace (line 89) | static fromReplace(doc: Node, from: number, to: number, slice: Slice) { FILE: src/structure.ts function canCut (line 7) | function canCut(node: Node, start: number, end: number) { function liftTarget (line 15) | function liftTarget(range: NodeRange): number | null { function lift (line 30) | function lift(tr: Transform, range: NodeRange, target: number) { function findWrapping (line 66) | function findWrapping( function withAttrs (line 79) | function withAttrs(type: NodeType) { return {type, attrs: null} } function findWrappingOutside (line 81) | function findWrappingOutside(range: NodeRange, type: NodeType) { function findWrappingInside (line 89) | function findWrappingInside(range: NodeRange, type: NodeType) { function wrap (line 102) | function wrap(tr: Transform, range: NodeRange, wrappers: readonly {type:... function setBlockType (line 117) | function setBlockType(tr: Transform, from: number, to: number, function replaceNewlines (line 144) | function replaceNewlines(tr: Transform, node: Node, pos: number, mapFrom... function replaceLinebreaks (line 156) | function replaceLinebreaks(tr: Transform, node: Node, pos: number, mapFr... function canChangeType (line 165) | function canChangeType(doc: Node, pos: number, type: NodeType) { function setNodeMarkup (line 172) | function setNodeMarkup(tr: Transform, pos: number, type: NodeType | unde... function canSplit (line 189) | function canSplit(doc: Node, pos: number, depth = 1, function split (line 213) | function split(tr: Transform, pos: number, depth = 1, typesAfter?: (null... function canJoin (line 225) | function canJoin(doc: Node, pos: number): boolean { function canAppendWithSubstitutedLinebreaks (line 231) | function canAppendWithSubstitutedLinebreaks(a: Node, b: Node) { function joinable (line 245) | function joinable(a: Node | null, b: Node | null) { function joinPoint (line 252) | function joinPoint(doc: Node, pos: number, dir = -1) { function join (line 274) | function join(tr: Transform, pos: number, depth: number) { function insertPoint (line 305) | function insertPoint(doc: Node, pos: number, nodeType: NodeType): number... function dropPoint (line 328) | function dropPoint(doc: Node, pos: number, slice: Slice): number | null { FILE: src/transform.ts class Transform (line 28) | class Transform { method constructor (line 37) | constructor( method before (line 44) | get before() { return this.docs.length ? this.docs[0] : this.doc } method step (line 48) | step(step: Step) { method maybeStep (line 56) | maybeStep(step: Step) { method docChanged (line 64) | get docChanged() { method changedRange (line 72) | changedRange() { method addStep (line 89) | addStep(step: Step, doc: Node) { method replace (line 98) | replace(from: number, to = from, slice = Slice.empty): this { method replaceWith (line 106) | replaceWith(from: number, to: number, content: Fragment | Node | reado... method delete (line 111) | delete(from: number, to: number): this { method insert (line 116) | insert(pos: number, content: Fragment | Node | readonly Node[]): this { method replaceRange (line 137) | replaceRange(from: number, to: number, slice: Slice): this { method replaceRangeWith (line 149) | replaceRangeWith(from: number, to: number, node: Node): this { method deleteRange (line 156) | deleteRange(from: number, to: number): this { method lift (line 166) | lift(range: NodeRange, target: number): this { method join (line 173) | join(pos: number, depth: number = 1): this { method wrap (line 181) | wrap(range: NodeRange, wrappers: readonly {type: NodeType, attrs?: Att... method setBlockType (line 188) | setBlockType(from: number, to = from, type: NodeType, attrs: Attrs | n... method setNodeMarkup (line 195) | setNodeMarkup(pos: number, type?: NodeType | null, attrs: Attrs | null... method setNodeAttribute (line 203) | setNodeAttribute(pos: number, attr: string, value: any): this { method setDocAttribute (line 209) | setDocAttribute(attr: string, value: any): this { method addNodeMark (line 215) | addNodeMark(pos: number, mark: Mark): this { method removeNodeMark (line 222) | removeNodeMark(pos: number, mark: Mark | MarkType): this { method split (line 243) | split(pos: number, depth = 1, typesAfter?: (null | {type: NodeType, at... method addMark (line 249) | addMark(from: number, to: number, mark: Mark): this { method removeMark (line 258) | removeMark(from: number, to: number, mark?: Mark | MarkType | null) { method clearIncompatible (line 267) | clearIncompatible(pos: number, parentType: NodeType, match?: ContentMa... FILE: test/test-mapping.ts function testMapping (line 4) | function testMapping(mapping: Mapping, ...cases: [number, number, number... function testDel (line 13) | function testDel(mapping: Mapping, pos: number, side: number, flags: str... function mk (line 22) | function mk(...args: (number[] | {[from: number]: number})[]) { FILE: test/test-replace_step.ts function test (line 7) | function test(doc: Node, change: (tr: Transform) => void, otherChange: (... FILE: test/test-step.ts function mkStep (line 8) | function mkStep(from: number, to: number, val: string | null) { function yes (line 19) | function yes(from1: number, to1: number, val1: string | null, from2: num... function no (line 27) | function no(from1: number, to1: number, val1: string | null, from2: numb... FILE: test/test-structure.ts function n (line 26) | function n(name: string, ...content: Node[]) { return schema.nodes[name]... function t (line 27) | function t(str: string, em = false) { return schema.text(str, em ? [sche... function range (line 46) | function range(pos: number, end?: number) { function yes (line 51) | function yes(pos: number, depth?: number, after?: string) { function no (line 54) | function no(pos: number, depth?: number, after?: string) { function yes (line 89) | function yes(pos: number) { function no (line 92) | function no(pos: number) { function yes (line 121) | function yes(pos: number, end: number, type: string) { function no (line 124) | function no(pos: number, end: number, type: string) { function repl (line 138) | function repl(doc: Node, from: number, to: number, content: Node | null,... FILE: test/test-trans.ts function tag$ (line 8) | function tag$(node: Node, tag: string): number | null { function tag (line 12) | function tag(node: Node, tag: string): number { function add (line 20) | function add(doc: Node, mark: Mark, expect: Node) { function rem (line 81) | function rem(doc: Node, mark: Mark | null, expect: Node) { function ins (line 134) | function ins(doc: Node, nodes: Node | Node[], expect: Node) { function del (line 171) | function del(doc: Node, expect: Node) { function join (line 207) | function join(doc: Node, expect: Node) { function split (line 245) | function split(doc: Node, expect: Node | "fail", depth?: number, function lift (line 301) | function lift(doc: Node, expect: Node) { function wrap (line 344) | function wrap(doc: Node, expect: Node, type: string, attrs?: Attrs) { function type (line 376) | function type(doc: Node, expect: Node, nodeType: string, attrs?: Attrs |... function markup (line 457) | function markup(doc: Node, expect: Node, type: string, attrs?: Attrs) { function repl (line 473) | function repl(doc: Node, source: Node | Slice | null, expect: Node) { function repl (line 818) | function repl(doc: Node, source: Node, expect: Node) { function repl (line 909) | function repl(doc: Node, node: Node, expect: Node) { function del (line 939) | function del(doc: Node, expect: Node) { function add (line 992) | function add(doc: Node, mark: Mark, expect: Node) { function rm (line 1007) | function rm(doc: Node, mark: Mark | MarkType, expect: Node) { function set (line 1034) | function set(doc: Node, attr: string, value: any, expect: Node) { function set (line 1052) | function set(doc: Node, attr: string, value: any, expect: Node) { function r (line 1061) | function r(tr: Transform) { FILE: test/trans.ts function invert (line 6) | function invert(transform: Transform) { function testMapping (line 13) | function testMapping(mapping: Mapping, pos: number, newPos: number) { function testStepJSON (line 23) | function testStepJSON(tr: Transform) { function testTransform (line 29) | function testTransform(tr: Transform, expect: Node) { function outputTransform (line 51) | function outputTransform(tr: Transform, expected: Node) { function storeSchema (line 66) | function storeSchema(schema: Schema) { function schemaToJSON (line 72) | function schemaToJSON(schema: Schema) {