示例#1
0
 public DefinitionToken(RadAsmTokenType tokenType, TrackingToken trackingToken, ITextSnapshot snapshot)
     : base(tokenType, trackingToken, snapshot)
 {
     References = new LinkedList <IAnalysisToken>();
     _text      = base.GetText();
 }
 public InstructionToken(RadAsmTokenType tokenType, TrackingToken trackingToken, ITextSnapshot snapshot)
     : base(tokenType, trackingToken, snapshot)
 {
     Parameters = new LinkedList <IAnalysisToken>();
 }
示例#3
0
 public VariableToken(RadAsmTokenType type, TrackingToken token, ITextSnapshot snapshot, TrackingToken defaultValue = default)
     : base(type, token, snapshot)
 {
     DefaultValue = defaultValue;
 }
示例#4
0
 public ReferenceToken(RadAsmTokenType tokenType, TrackingToken trackingToken, ITextSnapshot snapshot, DefinitionToken definitionToken)
     : base(tokenType, trackingToken, snapshot)
 {
     Definition = definitionToken;
     Definition.AddReference(this);
 }
示例#5
0
 public FunctionToken(RadAsmTokenType tokenType, TrackingToken trackingToken, ITextSnapshot snapshot)
     : base(tokenType, trackingToken, snapshot)
 {
 }
示例#6
0
 public AnalysisToken(RadAsmTokenType tokenType, TrackingToken trackingToken, ITextSnapshot snapshot)
 {
     Type          = tokenType;
     TrackingToken = trackingToken;
     Span          = new SnapshotSpan(snapshot, TrackingToken.GetSpan(snapshot));
 }
示例#7
0
 public ErrorToken(TrackingToken trackingToken, ITextSnapshot snapshot, string message)
 {
     Snapshot = snapshot;
     Span     = new SnapshotSpan(Snapshot, trackingToken.GetSpan(Snapshot));
     Message  = message;
 }
示例#8
0
 public IncludeToken(RadAsmTokenType tokenType, TrackingToken trackingToken, ITextSnapshot snapshot)
     : base(tokenType, trackingToken, snapshot)
 {
     throw new NotImplementedException();
 }