Type test: Introduce parsing capabilities.
Type test: Factor parsing out of processing.
Type test: Replace hand-made AST nodes with text for readability.
Test type: Expand testing of is_array.
Revert "AST: Add dummy line info, to ease unit testing."

This reverts commit 91367c489051c70f12108de806dc23e4155153c0.