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