Table of Contents

Interface ISymbolResolver

Namespace
RDCore.SDK.Runtime.Abstract.Execution
Assembly
RDCore.SDK.dll

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

symbol Symbol

The Symbol to retrieve the currently associated VBTypedValue for.

Returns

VBTypedValue

Resolve(string, ScopeKind, Uri)

Resolves the specified identifier name in the specified scope.

Symbol? Resolve(string name, ScopeKind scope, Uri handle)

Parameters

name string

The name of the Symbol to resolve.

scope ScopeKind

The memory scope to inspect.

handle Uri

The Uri of the current scope (procedure) symbol.

Returns

Symbol

null if 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

address long

The memory address to read.

value VBTypedValue

The retrieved value, if successful.

Returns

bool