code: def test_if_stmt_action(self) -> None:
      grammar_source = """
          start[mod_ty]: a=[statements] ENDMARKER { _PyAST_Module(a, NULL, p->arena) }
          statements[asdl_stmt_seq*]: a=statement+ { (asdl_stmt_seq*)_PyPegen_seq_flatten(p, a) }
          statement[asdl_stmt_seq*]:  a=compound_stmt { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, a) } | simple_stmt
  
          simple_stmt[asdl_stmt_seq*]: a=small_stmt b=further_small_stmt* [';'] NEWLINE {
                                              (asdl_stmt_seq*)_PyPegen_seq_insert_in_front(p, a, b) }
          further_small_stmt[stmt_ty]: ';' a=small_stmt { a }
  
          block: simple_stmt | NEWLINE INDENT a=statements DEDENT { a }
  
          compound_stmt: if_stmt
  
          if_stmt: 'if' a=full_expression ':' b=block { _PyAST_If(a, b, NULL, EXTRA) }
  
          small_stmt[stmt_ty]: pass_stmt
  
          pass_stmt[stmt_ty]: a='pass' { _PyAST_Pass(EXTRA) }
  
          full_expression: NAME
          """
      test_source = """
          stmt = "pass"
          self.verify_ast_generation(stmt)
          """
      self.run_test(grammar_source, test_source)
  
imports: import contextlib
  import subprocess
  import sysconfig
  import textwrap
  import unittest
  import os
  import shutil
  import tempfile
  from pathlib import Path
  from test import test_tools
  from test import support
  from test.support import os_helper, import_helper
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 18 for calling the TestCParser obj's underlying member method code with example usage: obj.test_if_stmt_action() without return types