Type analyzer functions for ASTNodes