UNPKG

@yuebai008/cli

Version:

Command line interface for rapid qg-minigame development

1 lines 3.31 kB
export const HeapSnapshotProgressEvent={Update:"ProgressUpdate",BrokenSnapshot:"BrokenSnapshot"};export const baseSystemDistance=1e8;export class AllocationNodeCallers{nodesWithSingleCaller;branchingCallers;constructor(e,t){this.nodesWithSingleCaller=e,this.branchingCallers=t}}export class SerializedAllocationNode{id;name;scriptName;scriptId;line;column;count;size;liveCount;liveSize;hasChildren;constructor(e,t,s,i,o,d,n,a,r,c,l){this.id=e,this.name=t,this.scriptName=s,this.scriptId=i,this.line=o,this.column=d,this.count=n,this.size=a,this.liveCount=r,this.liveSize=c,this.hasChildren=l}}export class AllocationStackFrame{functionName;scriptName;scriptId;line;column;constructor(e,t,s,i,o){this.functionName=e,this.scriptName=t,this.scriptId=s,this.line=i,this.column=o}}export class Node{id;name;distance;nodeIndex;retainedSize;selfSize;type;canBeQueried;detachedDOMTreeNode;isAddedNotRemoved;constructor(e,t,s,i,o,d,n){this.id=e,this.name=t,this.distance=s,this.nodeIndex=i,this.retainedSize=o,this.selfSize=d,this.type=n,this.canBeQueried=!1,this.detachedDOMTreeNode=!1,this.isAddedNotRemoved=null}}export class Edge{name;node;type;edgeIndex;isAddedNotRemoved;constructor(e,t,s,i){this.name=e,this.node=t,this.type=s,this.edgeIndex=i,this.isAddedNotRemoved=null}}export class Aggregate{count;distance;self;maxRet;type;name;idxs;constructor(){}}export class AggregateForDiff{indexes;ids;selfSizes;constructor(){this.indexes=[],this.ids=[],this.selfSizes=[]}}export class Diff{addedCount;removedCount;addedSize;removedSize;deletedIndexes;addedIndexes;countDelta;sizeDelta;constructor(){this.addedCount=0,this.removedCount=0,this.addedSize=0,this.removedSize=0,this.deletedIndexes=[],this.addedIndexes=[]}}export class DiffForClass{addedCount;removedCount;addedSize;removedSize;deletedIndexes;addedIndexes;countDelta;sizeDelta;constructor(){}}export class ComparatorConfig{fieldName1;ascending1;fieldName2;ascending2;constructor(e,t,s,i){this.fieldName1=e,this.ascending1=t,this.fieldName2=s,this.ascending2=i}}export class WorkerCommand{callId;disposition;objectId;newObjectId;methodName;methodArguments;source;constructor(){}}export class ItemsRange{startPosition;endPosition;totalLength;items;constructor(e,t,s,i){this.startPosition=e,this.endPosition=t,this.totalLength=s,this.items=i}}export class StaticData{nodeCount;rootNodeIndex;totalSize;maxJSObjectId;constructor(e,t,s,i){this.nodeCount=e,this.rootNodeIndex=t,this.totalSize=s,this.maxJSObjectId=i}}export class Statistics{total;v8heap;native;code;jsArrays;strings;system;constructor(){}}export class NodeFilter{minNodeId;maxNodeId;allocationNodeId;constructor(e,t){this.minNodeId=e,this.maxNodeId=t}equals(e){return this.minNodeId===e.minNodeId&&this.maxNodeId===e.maxNodeId&&this.allocationNodeId===e.allocationNodeId}}export class SearchConfig{query;caseSensitive;isRegex;shouldJump;jumpBackward;constructor(e,t,s,i,o){this.query=e,this.caseSensitive=t,this.isRegex=s,this.shouldJump=i,this.jumpBackward=o}toSearchRegex(e){throw new Error("Unsupported operation on search config")}}export class Samples{timestamps;lastAssignedIds;sizes;constructor(e,t,s){this.timestamps=e,this.lastAssignedIds=t,this.sizes=s}}export class Location{scriptId;lineNumber;columnNumber;constructor(e,t,s){this.scriptId=e,this.lineNumber=t,this.columnNumber=s}}