[CND PARSER] Fixed parsing bug

Do not crash if no more tokens after supertype declration..

Currently token peek returns the next token and then we get the type of the token, however if you declare a supertype for a node definition but do not define anything after, `peek` returns null and we get a fatal error when trying to access `null` as an object.