There is no difference in the AST between a new simple type and a type alias, but there should be one. Both AST entries consist of a node of type ntTypeDecl and a child node of type ntType.
Sample
type
TNewInteger = type Integer;
TIntegerAlias = Integer;
Current AST of type section
ntTypeSection
|- ntTypeDecl [anName = TNewInteger]
|- ntType [anName = Integer]
|- ntTypeDecl [anName = TIntegerAlias]
|- ntType [anName = Integer]
There is no difference in the AST between a new simple type and a type alias, but there should be one. Both AST entries consist of a node of type ntTypeDecl and a child node of type ntType.
Sample
Current AST of type section