Interface ISymbolResolver
A service that resolves an identifier name to a Symbol given a scope Uri
and that can lookup the value of a symbol in the current context.
public interface ISymbolResolver
Methods
GetValue(Symbol)
Gets the VBTypedValue currently associated with the specified Symbol.
VBTypedValue GetValue(Symbol symbol)
Parameters
symbolSymbolThe Symbol to retrieve the currently associated VBTypedValue for.
Returns
Resolve(string, ScopeKind, Uri)
Resolves the specified identifier name in the specified scope.
Symbol? Resolve(string name, ScopeKind scope, Uri handle)
Parameters
namestringThe name of the Symbol to resolve.
scopeScopeKindThe memory scope to inspect.
handleUriThe Uri of the current scope (procedure) symbol.
Returns
- Symbol
nullif no symbol could be resolved from the specified handle in the specified scope with the specified name.
TryRead(long, out VBTypedValue?)
Gets the VBTypedValue at the specified address value in the runtime memory map.
bool TryRead(long address, out VBTypedValue? value)
Parameters
addresslongThe memory address to read.
valueVBTypedValueThe retrieved value, if successful.