code: def p_Statement(p):
      '''
      Statement : StatementWithoutTerminator Terminator
      '''
      if len(p) < 3:
          term = Terminator('')
      else:
          term = p[2]
      p[0] = Statement(p[1], termf p_Statement(p):
      '''
      Statement : StatementWithoutTerminator Terminator
      '''
      if len(p) < 3:
          term = Terminator('')
      else:
          term = p[2]
      p[0] = Statement(p[1], term)
docs: Statement : StatementWithoutTerminator Terminator