Added TokenDefinition type and stub for parsing token regexes