Add AST nodes for switch statement.