Lines Matching refs:TracePosition
23 import {TracePosition} from 'trace/trace_position';
32 private explicitlySetPosition?: TracePosition;
35 private lastReturnedCurrentPosition?: TracePosition;
98 getCurrentPosition(): TracePosition | undefined {
103 let currentPosition: TracePosition | undefined = undefined;
105 currentPosition = TracePosition.fromTraceEntry(this.firstEntry);
110 currentPosition = TracePosition.fromTraceEntry(firstActiveEntry);
124 setPosition(position: TracePosition | undefined) {
135 makePositionFromActiveTrace(timestamp: Timestamp): TracePosition {
137 return TracePosition.fromTimestamp(timestamp);
142 return TracePosition.fromTimestamp(timestamp);
145 return TracePosition.fromTraceEntry(entry, timestamp);
217 position: TracePosition,
299 this.setPosition(TracePosition.fromTraceEntry(prevEntry));
306 this.setPosition(TracePosition.fromTraceEntry(nextEntry));