docs: function getOwnOrInheritedDelta(n, options, sourceFile) {
              var previousLine = -1 /* Unknown */;
              var child;
              while (n) {
                  var line = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile)).line;
                  if (previousLine !== -1 /* Unknown */ && line !== previousLine) {
                      break;
                  }
                  if (formatting.SmartIndenter.shouldIndentChildNode(n, child)) {
                      return options.indentSize;
                  }
                  previousLine = line;
                  child = n;
                  n = n.parent;
              }
              return 0;
          }