SSLR-347 AstNode: getLastChild() should accept types