All files / json-patch/op Op.ts

100% Statements 60/60
100% Branches 0/0
100% Functions 30/30
100% Lines 59/59

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 988x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x   338x     42x 14x 14x 14x 12x 12x 12x 14x 14x 18x 18x 18x 18x 12x 12x 10x 22x 22x 51x 14x 12x 16x 12x 12x 32x 30x 14x 12x 14x                                                                        
import {OpAdd} from './OpAdd';
import {OpRemove} from './OpRemove';
import {OpReplace} from './OpReplace';
import {OpMove} from './OpMove';
import {OpCopy} from './OpCopy';
import {OpTest} from './OpTest';
import {OpFlip} from './OpFlip';
import {OpInc} from './OpInc';
import {OpStrIns} from './OpStrIns';
import {OpStrDel} from './OpStrDel';
import {OpSplit} from './OpSplit';
import {OpMerge} from './OpMerge';
import {OpExtend} from './OpExtend';
import {OpDefined} from './OpDefined';
import {OpUndefined} from './OpUndefined';
import {OpTestType} from './OpTestType';
import {OpTestString} from './OpTestString';
import {OpTestStringLen} from './OpTestStringLen';
import {OpContains} from './OpContains';
import {OpEnds} from './OpEnds';
import {OpStarts} from './OpStarts';
import {OpIn} from './OpIn';
import {OpLess} from './OpLess';
import {OpMore} from './OpMore';
import {OpAnd} from './OpAnd';
import {OpOr} from './OpOr';
import {OpNot} from './OpNot';
import {OpMatches} from './OpMatches';
import {OpType} from './OpType';
 
export {AbstractPredicateOp} from './AbstractPredicateOp';
 
export {
  OpTest,
  OpDefined,
  OpUndefined,
  OpTestType,
  OpTestString,
  OpTestStringLen,
  OpContains,
  OpEnds,
  OpStarts,
  OpIn,
  OpLess,
  OpMore,
  OpAnd,
  OpOr,
  OpNot,
  OpMatches,
  OpType,
  OpAdd,
  OpRemove,
  OpReplace,
  OpMove,
  OpCopy,
  OpFlip,
  OpInc,
  OpStrIns,
  OpStrDel,
  OpSplit,
  OpMerge,
  OpExtend,
};
 
export type PredicateOp =
  | OpTest
  | OpDefined
  | OpUndefined
  | OpTestType
  | OpTestString
  | OpTestStringLen
  | OpContains
  | OpEnds
  | OpStarts
  | OpIn
  | OpLess
  | OpMore
  | OpAnd
  | OpOr
  | OpNot
  | OpMatches
  | OpType;
 
export type Op =
  | PredicateOp
  | OpAdd
  | OpRemove
  | OpReplace
  | OpMove
  | OpCopy
  | OpFlip
  | OpInc
  | OpStrIns
  | OpStrDel
  | OpSplit
  | OpMerge
  | OpExtend;