public AnalysisToken(RadAsmTokenType tokenType, TrackingToken trackingToken, ITextSnapshot snapshot) { Type = tokenType; TrackingToken = trackingToken; Span = new SnapshotSpan(snapshot, TrackingToken.GetSpan(snapshot)); }
public ErrorToken(TrackingToken trackingToken, ITextSnapshot snapshot, string message) { Snapshot = snapshot; Span = new SnapshotSpan(Snapshot, trackingToken.GetSpan(Snapshot)); Message = message; }