expectSymbolsAndTypes

Parses source, caches its symbols and compares the the cache content with the results.

version(unittest)
void
expectSymbolsAndTypes
(
const string source
,
const string[][] results
,
string file = __FILE_FULL_PATH__
,
size_t line = __LINE__
)

Parameters

source
Type: string

The source code to test.

results
Type: string[][]

An array of string array. Each slot represents the variable name followed by the type strings.

Meta