Thanks, I did have a play yesterday with scanning surrounding tokens and figured out that I would likely have to wrap that up into a routine.
For the following statement:
List<string> s...
I would get an IToken back with a Keyword of 'String' for the 'string' part, it seems everything is autocapitalised? (Does the same for non identifiers in declarations e.g. Return, Public etc.
To interpret the Token.Key value, I guess I need to have a list of reserved words such as Identifier, LessThan, DecimalIntegerLiteral, StringLiteral etc, anything else is an actual type?
Cheers for good responses.