Lines Matching refs:ctx

16558 		var ctx = this.context;
16559 var page = ctx.getCurrentPage();
16561 if (!useBlockXOffset && block.height > ctx.availableHeight) return false;
16568 l.x = (l.x || 0) + (useBlockXOffset ? (block.xOffset || 0) : ctx.x);
16569 l.y = (l.y || 0) + (useBlockYOffset ? (block.yOffset || 0) : ctx.y);
16580 …Vector(v, useBlockXOffset ? (block.xOffset || 0) : ctx.x, useBlockYOffset ? (block.yOffset || 0) :…
16590 img.x = (img.x || 0) + (useBlockXOffset ? (block.xOffset || 0) : ctx.x);
16591 img.y = (img.y || 0) + (useBlockYOffset ? (block.yOffset || 0) : ctx.y);
16601 if (!dontUpdateContextPosition) ctx.moveDown(block.height);
26779 var ctx = {
26784 if (arguments.length >= 3) ctx.depth = arguments[2];
26785 if (arguments.length >= 4) ctx.colors = arguments[3];
26788 ctx.showHidden = opts;
26791 exports._extend(ctx, opts);
26794 if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
26795 if (isUndefined(ctx.depth)) ctx.depth = 2;
26796 if (isUndefined(ctx.colors)) ctx.colors = false;
26797 if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
26798 if (ctx.colors) ctx.stylize = stylizeWithColor;
26799 return formatValue(ctx, obj, ctx.depth);
26863 function formatValue(ctx, value, recurseTimes) {
26866 if (ctx.customInspect &&
26873 var ret = value.inspect(recurseTimes, ctx);
26875 ret = formatValue(ctx, ret, recurseTimes);
26881 var primitive = formatPrimitive(ctx, value);
26890 if (ctx.showHidden) {
26905 return ctx.stylize('[Function' + name + ']', 'special');
26908 return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
26911 return ctx.stylize(Date.prototype.toString.call(value), 'date');
26953 return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
26955 return ctx.stylize('[Object]', 'special');
26959 ctx.seen.push(value);
26963 output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
26966 return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
26970 ctx.seen.pop();
26976 function formatPrimitive(ctx, value) {
26978 return ctx.stylize('undefined', 'undefined');
26983 return ctx.stylize(simple, 'string');
26986 return ctx.stylize('' + value, 'number');
26988 return ctx.stylize('' + value, 'boolean');
26991 return ctx.stylize('null', 'null');
27000 function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
27004 output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
27012 output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
27020 function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
27025 str = ctx.stylize('[Getter/Setter]', 'special');
27027 str = ctx.stylize('[Getter]', 'special');
27031 str = ctx.stylize('[Setter]', 'special');
27038 if (ctx.seen.indexOf(desc.value) < 0) {
27040 str = formatValue(ctx, desc.value, null);
27042 str = formatValue(ctx, desc.value, recurseTimes - 1);
27056 str = ctx.stylize('[Circular]', 'special');
27066 name = ctx.stylize(name, 'name');
27071 name = ctx.stylize(name, 'string');