Builds a token stream out of the resource map. The resource map is one of the arrays generated by BuildResourceTableMapping. The token stream is used at runtime to gather resources from tables and bind them to the appropriate slots.