Exemple #1
0
        public SourceCodeLocation GetSymbolDefinition(SourceSymbol symbol)
        {
            foreach (int definition in (symbol.InternalSymbol as SymbolInfo).Definitions)
            {
                SourceCodeLocation refInfo = GetReferenceInfo(definition);

                if (refInfo != null)
                {
                    return(refInfo);
                }
            }

            return(null);
        }
Exemple #2
0
 public int GetSymbolSize(SourceSymbol srcSymbol)
 {
     return(GetSymbolSize(srcSymbol.InternalSymbol as SymbolInfo));
 }
Exemple #3
0
 public AddressInfo?GetSymbolAddressInfo(SourceSymbol symbol)
 {
     return(GetSymbolAddressInfo(symbol.InternalSymbol as SymbolInfo));
 }
Exemple #4
0
 public int GetSymbolSize(SourceSymbol srcSymbol)
 {
     return(1);
 }
Exemple #5
0
 public SourceCodeLocation GetSymbolDefinition(SourceSymbol symbol)
 {
     return(null);
 }
Exemple #6
0
 public AddressInfo?GetSymbolAddressInfo(SourceSymbol symbol)
 {
     return(null);
 }