Removing duplication in the parser.
Add support for parsing type aliases.

Conflicts:
	src/services/syntax/SyntaxGenerator.js.map